root/trunk/cdmlib/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/media/IMediaEntity.java

Revision 9726, 0.9 kB (checked in by a.mueller, 22 months ago)

javadoc for media classes

  • Property svn:keywords set to Id
Line 
1/**
2* Copyright (C) 2009 EDIT
3* European Distributed Institute of Taxonomy
4* http://www.e-taxonomy.eu
5*
6* The contents of this file are subject to the Mozilla Public License Version 1.1
7* See LICENSE.TXT at the top of this package for the full license terms.
8*/ 
9
10package eu.etaxonomy.cdm.model.media;
11
12import java.util.Set;
13
14/**
15 * If a class is implementing this interface a set of <code>media</code> may be added
16 * to an instance of this class.
17 * 
18 * @author a.mueller
19 * @created 07.07.2008
20 * @version 1.0
21 */
22public interface IMediaEntity extends IMediaDocumented{
23
24        /**
25         * Gets all media belonging to this object
26         * @return
27         */
28       
29        public Set<Media> getMedia();
30       
31        /**
32         * Adds a media to this object
33         * @param media
34         */
35        public void addMedia(Media media);
36
37        /**
38         * Removes a media from this object
39         * @param media
40         */
41        public void removeMedia(Media media);
42
43}
Note: See TracBrowser for help on using the browser.