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.common;
|
11
|
|
12
|
import java.util.Set;
|
13
|
import java.util.UUID;
|
14
|
|
15
|
/**
|
16
|
* @author n.hoffmann
|
17
|
* @since Sep 15, 2010
|
18
|
*/
|
19
|
public interface IAnnotatableEntity extends IVersionableEntity {
|
20
|
|
21
|
public Set<Annotation> getAnnotations();
|
22
|
public void addAnnotation(Annotation annotation);
|
23
|
public void removeAnnotation(Annotation annotation);
|
24
|
|
25
|
|
26
|
public Set<Marker> getMarkers();
|
27
|
public Set<Marker> getMarkers(UUID uuidMarkerType);
|
28
|
public void addMarker(Marker marker);
|
29
|
public void removeMarker(Marker marker);
|
30
|
public void removeMarker(UUID markerTypeUuid); //removes the marker no matter what value it has
|
31
|
|
32
|
public boolean hasMarker(MarkerType type, boolean value);
|
33
|
public boolean hasMarker(UUID uuidMarkerType, boolean value);
|
34
|
public Boolean markerValue(UUID uuidMarkerType);
|
35
|
|
36
|
}
|