|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpojos.DataObject
pojos.AnnotationData
pojos.TagAnnotationData
public class TagAnnotationData
A tag annotation can either be related to an image or a tag but not to both at the same time.
Field Summary | |
---|---|
static String |
INSIGHT_TAGSET_NS
The name space used to indicate that the tag is used a tag set. |
Constructor Summary | |
---|---|
TagAnnotationData(String tag)
Creates a new instance. |
|
TagAnnotationData(String tag,
boolean asTagSet)
Creates a new instance. |
|
TagAnnotationData(String tag,
String description)
Creates a new instance. |
|
TagAnnotationData(String tag,
String description,
boolean asTagSet)
Creates a new instance. |
|
TagAnnotationData(omero.model.TagAnnotation tag)
Creates a new instance. |
|
TagAnnotationData(omero.model.TagAnnotation tag,
List<omero.model.CommentAnnotation> value)
Creates a new instance. |
Method Summary | |
---|---|
Object |
getContent()
Returns the textual content of the annotation. |
String |
getContentAsString()
Returns the textual content of the annotation. |
Set<DataObject> |
getDataObjects()
Returns the collection of data objects related to this tag. |
String |
getTagDescription()
Returns the description of the tag. |
List |
getTagDescriptions()
Returns the descriptions linked to that tag. |
Set<TagAnnotationData> |
getTags()
Returns the collection of tags related to this tag. |
String |
getTagValue()
Returns the text of the tag. |
void |
setContent(Object content)
Sets the text annotation. |
void |
setDataObjects(Set<DataObject> dataObjects)
Sets the collection of data objects related to that tag. |
void |
setTagDescription(String value)
Sets the description of the tag. |
void |
setTagDescriptions(List<TextualAnnotationData> value)
Sets the tag's descriptions. |
void |
setTags(Set<TagAnnotationData> tags)
Sets the collection of tags. |
void |
setTagValue(String tag)
Sets the value of the tag. |
Methods inherited from class pojos.AnnotationData |
---|
getLastModified, getNameSpace, setNameSpace |
Methods inherited from class pojos.DataObject |
---|
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String INSIGHT_TAGSET_NS
Constructor Detail |
---|
public TagAnnotationData(String tag, boolean asTagSet)
tag
- The text of the tag.asTagSet
- Pass true
to create the tag as a tag set,
false
otherwise.public TagAnnotationData(String tag)
tag
- The text of the tag.public TagAnnotationData(String tag, String description)
tag
- The text of the tag.description
- The description of the tag.public TagAnnotationData(String tag, String description, boolean asTagSet)
tag
- The text of the tag.description
- The description of the tag.asTagSet
- Pass true
to create the tag as a tag set,
false
otherwise.public TagAnnotationData(omero.model.TagAnnotation tag)
tag
- The tag to wrap.public TagAnnotationData(omero.model.TagAnnotation tag, List<omero.model.CommentAnnotation> value)
tag
- The tag to wrap.value
- The descriptions of the tag.Method Detail |
---|
public void setDataObjects(Set<DataObject> dataObjects)
dataObjects
- The value to set.public void setTags(Set<TagAnnotationData> tags)
tags
- The value to set.public Set<TagAnnotationData> getTags()
public Set<DataObject> getDataObjects()
public void setTagDescriptions(List<TextualAnnotationData> value)
value
- The collection to set.public List getTagDescriptions()
public void setTagDescription(String value)
value
- The value to set.public String getTagDescription()
public void setTagValue(String tag)
tag
- The value to set.public String getTagValue()
public Object getContent()
getContent
in class AnnotationData
AnnotationData.getContent()
public String getContentAsString()
getContentAsString
in class AnnotationData
AnnotationData.getContentAsString()
public void setContent(Object content)
setContent
in class AnnotationData
content
- The value to set.AnnotationData.setContent(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.