3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.cdm
.model
.description
;
15 import eu
.etaxonomy
.cdm
.model
.common
.IVersionableEntity
;
19 * @created Sep 15, 2010
22 public interface IModifiable
extends IVersionableEntity
{
25 * Returns the set of {@link Modifier modifiers} used to qualify the validity
26 * of <i>this</i> state data. This is only metainformation.
28 public Set
<Modifier
> getModifiers();
31 * Adds a {@link Modifier modifier} to the set of {@link #getModifiers() modifiers}
32 * used to qualify the validity of <i>this</i> state data.
34 * @param modifier the modifier to be added to <i>this</i> state data
35 * @see #getModifiers()
37 public void addModifier(Modifier modifier
);
39 * Removes one element from the set of {@link #getModifiers() modifiers}
40 * used to qualify the validity of <i>this</i> state data.
42 * @param modifier the modifier which should be removed
43 * @see #getModifiers()
44 * @see #addModifier(Modifier)
46 public void removeModifier(Modifier modifier
);