public class TagAnnotationData extends AnnotationData
Modifier and Type | Field and Description |
---|---|
static 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(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.
|
Modifier and Type | Method and Description |
---|---|
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 |
setTagValue(String tag)
Sets the value of the tag.
|
getDescription, getLastModified, getNameSpace, setDescription, setNameSpace
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, 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 String INSIGHT_TAGSET_NS
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.public void setDataObjects(Set<DataObject> dataObjects)
dataObjects
- 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)
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.