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
|
* @created Sep 15, 2010
|
18
|
* @version 1.0
|
19
|
*/
|
20
|
public interface IAnnotatableEntity extends IVersionableEntity {
|
21
|
|
22
|
public Set<Annotation> getAnnotations();
|
23
|
|
24
|
|
25
|
public void addAnnotation(Annotation annotation);
|
26
|
|
27
|
|
28
|
public void removeAnnotation(Annotation annotation);
|
29
|
|
30
|
|
31
|
public Set<Marker> getMarkers();
|
32
|
|
33
|
|
34
|
public void addMarker(Marker marker);
|
35
|
|
36
|
|
37
|
public void removeMarker(Marker marker);
|
38
|
|
39
|
public boolean hasMarker(MarkerType type, boolean value);
|
40
|
|
41
|
public boolean hasMarker(UUID uuidMarkerType, boolean value);
|
42
|
|
43
|
}
|