|
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 | |
|---|
| 11 | package eu.etaxonomy.cdm.model.common; |
|---|
| 12 | |
|---|
| 13 | import java.util.Set; |
|---|
| 14 | import java.util.UUID; |
|---|
| 15 | |
|---|
| 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 | public boolean hasMarker(MarkerType type, boolean value); |
|---|
| 41 | |
|---|
| 42 | public boolean hasMarker(UUID uuidMarkerType, boolean value); |
|---|
| 43 | |
|---|
| 44 | } |
|---|