Project

General

Profile

Download (920 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
 * @created 07.07.2008
20
 * @version 1.0
21
 */
22
public 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
}
(3-3/13)