Project

General

Profile

Download (909 Bytes) Statistics
| Branch: | Tag: | Revision:
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

    
10
package eu.etaxonomy.cdm.model.media;
11

    
12
import 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
 * @since 07.07.2008
20
 */
21
public interface IMediaEntity extends IMediaDocumented{
22

    
23
	/**
24
	 * Gets all media belonging to this object
25
	 * @return
26
	 */
27
	@Override
28
    public Set<Media> getMedia();
29

    
30
	/**
31
	 * Adds a media to this object
32
	 * @param media
33
	 */
34
	public void addMedia(Media media);
35

    
36
	/**
37
	 * Removes a media from this object
38
	 * @param media
39
	 */
40
	public void removeMedia(Media media);
41

    
42
}
(3-3/13)