1 |
72cc7722
|
n.hoffmann
|
// $Id$
|
2 |
|
|
/**
|
3 |
|
|
* Copyright (C) 2007 EDIT
|
4 |
|
|
* European Distributed Institute of Taxonomy
|
5 |
|
|
* http://www.e-taxonomy.eu
|
6 |
|
|
*
|
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.
|
9 |
|
|
*/
|
10 |
|
|
|
11 |
|
|
package eu.etaxonomy.cdm.model.common;
|
12 |
|
|
|
13 |
|
|
import java.util.Set;
|
14 |
d264dc1e
|
Andreas Müller
|
import java.util.UUID;
|
15 |
72cc7722
|
n.hoffmann
|
|
16 |
|
|
/**
|
17 |
|
|
* @author n.hoffmann
|
18 |
|
|
* @created Sep 15, 2010
|
19 |
|
|
* @version 1.0
|
20 |
|
|
*/
|
21 |
|
|
public interface IAnnotatableEntity extends IVersionableEntity {
|
22 |
|
|
|
23 |
|
|
public Set<Annotation> getAnnotations();
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
public void addAnnotation(Annotation annotation);
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
public void removeAnnotation(Annotation annotation);
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
public Set<Marker> getMarkers();
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
public void addMarker(Marker marker);
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
public void removeMarker(Marker marker);
|
39 |
|
|
|
40 |
d264dc1e
|
Andreas Müller
|
public boolean hasMarker(MarkerType type, boolean value);
|
41 |
|
|
|
42 |
|
|
public boolean hasMarker(UUID uuidMarkerType, boolean value);
|
43 |
|
|
|
44 |
72cc7722
|
n.hoffmann
|
}
|