public class TagAnnotationData extends AnnotationData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INSIGHT_TAGSET_NS
The name space used to indicate that the tag is used a tag set.
|
FILE_TRANSFER_NS
Constructor and Description |
---|
TagAnnotationData(java.lang.String tag)
Creates a new instance.
|
TagAnnotationData(java.lang.String tag,
boolean asTagSet)
Creates a new instance.
|
TagAnnotationData(java.lang.String tag,
java.lang.String description)
Creates a new instance.
|
TagAnnotationData(java.lang.String tag,
java.lang.String description,
boolean asTagSet)
Creates a new instance.
|
TagAnnotationData(omero.model.TagAnnotation tag)
Creates a new instance.
|
TagAnnotationData(omero.model.TagAnnotation tag,
java.util.List<omero.model.CommentAnnotation> value)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getContent()
Returns the textual content of the annotation.
|
java.lang.String |
getContentAsString()
Returns the textual content of the annotation.
|
java.util.Set<DataObject> |
getDataObjects()
Returns the collection of data objects related to this tag.
|
java.lang.String |
getTagDescription()
Returns the description of the tag.
|
java.util.List |
getTagDescriptions()
Returns the descriptions linked to that tag.
|
java.util.Set<TagAnnotationData> |
getTags()
Returns the collection of tags related to this tag.
|
java.lang.String |
getTagValue()
Returns the text of the tag.
|
void |
setContent(java.lang.Object content)
Sets the text annotation.
|
void |
setDataObjects(java.util.Set<DataObject> dataObjects)
Sets the collection of data objects related to that tag.
|
void |
setTagDescription(java.lang.String value)
Sets the description of the tag.
|
void |
setTagDescriptions(java.util.List<TextualAnnotationData> value)
Sets the tag's descriptions.
|
void |
setTagValue(java.lang.String tag)
Sets the value of the tag.
|
getDescription, getLastModified, getNameSpace, setDescription, setNameSpace
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
public static final java.lang.String INSIGHT_TAGSET_NS
public TagAnnotationData(java.lang.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(java.lang.String tag)
tag
- The text of the tag.public TagAnnotationData(java.lang.String tag, java.lang.String description)
tag
- The text of the tag.description
- The description of the tag.public TagAnnotationData(java.lang.String tag, java.lang.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, java.util.List<omero.model.CommentAnnotation> value)
tag
- The tag to wrap.value
- The descriptions of the tag.public void setDataObjects(java.util.Set<DataObject> dataObjects)
dataObjects
- The value to set.public java.util.Set<TagAnnotationData> getTags()
public java.util.Set<DataObject> getDataObjects()
public void setTagDescriptions(java.util.List<TextualAnnotationData> value)
value
- The collection to set.public java.util.List getTagDescriptions()
public void setTagDescription(java.lang.String value)
value
- The value to set.public java.lang.String getTagDescription()
public void setTagValue(java.lang.String tag)
tag
- The value to set.public java.lang.String getTagValue()
public java.lang.Object getContent()
getContent
in class AnnotationData
AnnotationData.getContent()
public java.lang.String getContentAsString()
getContentAsString
in class AnnotationData
AnnotationData.getContentAsString()
public void setContent(java.lang.Object content)
setContent
in class AnnotationData
content
- The value to set.AnnotationData.setContent(Object)