Project

General

Profile

Download (1.36 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2007 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.description;
11

    
12
import java.util.Set;
13

    
14
import eu.etaxonomy.cdm.model.common.DefinedTerm;
15
import eu.etaxonomy.cdm.model.common.IVersionableEntity;
16

    
17
/**
18
 * @author n.hoffmann
19
 * @since Sep 15, 2010
20
 */
21
public interface IModifiable extends IVersionableEntity {
22

    
23
	/** 
24
	 * Returns the set of {@link Modifier modifiers} used to qualify the validity
25
	 * of <i>this</i> state data. This is only metainformation.
26
	 */
27
	public Set<DefinedTerm> getModifiers();
28
	
29
	/**
30
	 * Adds a {@link Modifier modifier} to the set of {@link #getModifiers() modifiers}
31
	 * used to qualify the validity of <i>this</i> state data.
32
	 * 
33
	 * @param modifier	the modifier to be added to <i>this</i> state data
34
	 * @see    	   		#getModifiers()
35
	 */
36
	public void addModifier(DefinedTerm modifier);
37
	/** 
38
	 * Removes one element from the set of {@link #getModifiers() modifiers}
39
	 * used to qualify the validity of <i>this</i> state data.
40
	 *
41
	 * @param  modifier	the modifier which should be removed
42
	 * @see     		#getModifiers()
43
	 * @see     		#addModifier(Modifier)
44
	 */
45
	public void removeModifier(DefinedTerm modifier);
46
}
(14-14/37)