Mercurial > hg > AnnotationManagerN4J
diff src/main/java/de/mpiwg/itgroup/annotations/Annotation.java @ 16:794077e6288c
CLOSED - # 252: Tags for Annotations
https://it-dev.mpiwg-berlin.mpg.de/tracs/mpdl-project-software/ticket/252
author | casties |
---|---|
date | Tue, 04 Sep 2012 20:02:59 +0200 |
parents | 58357a4b86de |
children | 715aa11d138b |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotations/Annotation.java Tue Aug 28 20:23:12 2012 +0200 +++ b/src/main/java/de/mpiwg/itgroup/annotations/Annotation.java Tue Sep 04 20:02:59 2012 +0200 @@ -3,6 +3,9 @@ */ package de.mpiwg.itgroup.annotations; +import java.util.List; +import java.util.Set; + import de.mpiwg.itgroup.annotations.neo4j.AnnotationStore; /** @@ -81,7 +84,11 @@ * null means any user. */ protected Actor readPermission; - + + /** + * List of tags on this Annotation. + */ + protected Set<String> tags; /** * Returns if the requested action is allowed on this annotation. @@ -317,6 +324,20 @@ public void setReadPermission(Actor readPermission) { this.readPermission = readPermission; } + + /** + * @return the tags + */ + public Set<String> getTags() { + return tags; + } + + /** + * @param tags the tags to set + */ + public void setTags(Set<String> tags) { + this.tags = tags; + } }