public class TermAnnotationData extends AnnotationData
FILE_TRANSFER_NS
Constructor and Description |
---|
TermAnnotationData(java.lang.String term)
Creates a new instance.
|
TermAnnotationData(omero.model.TermAnnotation annotation)
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.lang.String |
getTerm()
Returns the
term . |
java.lang.String |
getTermDescription()
Returns the description of the term.
|
void |
setContent(java.lang.Object content)
Sets the text annotation.
|
void |
setTerm(java.lang.String term)
Sets the term.
|
void |
setTermDescription(java.lang.String value)
Sets the description 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 TermAnnotationData(java.lang.String term)
term
- The value to set.public TermAnnotationData(omero.model.TermAnnotation annotation)
annotation
- The value to set.public void setTerm(java.lang.String term)
term
- The value to set.public java.lang.String getTerm()
term
.public java.lang.String getTermDescription()
public void setTermDescription(java.lang.String value)
value
- The value to set.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)