root/trunk/cdmlib/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/IAnnotatableEntity.java

Revision 14358, 0.9 kB (checked in by a.mueller, 3 months ago)

add hasMarker

  • Property svn:mime-type set to text/plain
Line 
1// $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
11package eu.etaxonomy.cdm.model.common;
12
13import java.util.Set;
14import java.util.UUID;
15
16/**
17 * @author n.hoffmann
18 * @created Sep 15, 2010
19 * @version 1.0
20 */
21public 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        public boolean hasMarker(MarkerType type, boolean value);
41       
42        public boolean hasMarker(UUID uuidMarkerType, boolean value);
43       
44}
Note: See TracBrowser for help on using the browser.