Package omero.gateway.model
Class TermAnnotationData
- java.lang.Object
-
- omero.gateway.model.DataObject
-
- omero.gateway.model.AnnotationData
-
- omero.gateway.model.TermAnnotationData
-
public class TermAnnotationData extends AnnotationData
Defines a Term Annotation.- Since:
- Beta4.2
-
-
Field Summary
-
Fields inherited from class omero.gateway.model.AnnotationData
FILE_TRANSFER_NS
-
-
Constructor Summary
Constructors Constructor Description TermAnnotationData(java.lang.String term)
Creates a new instance.TermAnnotationData(omero.model.TermAnnotation annotation)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 theterm
.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.-
Methods inherited from class omero.gateway.model.AnnotationData
getDescription, getLastModified, getNameSpace, setDescription, setNameSpace
-
Methods inherited from class omero.gateway.model.DataObject
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlaneInfo, 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
-
-
-
-
Constructor Detail
-
TermAnnotationData
public TermAnnotationData(java.lang.String term)
Creates a new instance.- Parameters:
term
- The value to set.
-
TermAnnotationData
public TermAnnotationData(omero.model.TermAnnotation annotation)
Creates a new instance.- Parameters:
annotation
- The value to set.
-
-
Method Detail
-
setTerm
public void setTerm(java.lang.String term)
Sets the term.- Parameters:
term
- The value to set.
-
getTerm
public java.lang.String getTerm()
Returns theterm
.- Returns:
- See above.
-
getTermDescription
public java.lang.String getTermDescription()
Returns the description of the term.- Returns:
- See above.
-
setTermDescription
public void setTermDescription(java.lang.String value)
Sets the description of the tag.- Parameters:
value
- The value to set.
-
getContent
public java.lang.Object getContent()
Returns the textual content of the annotation.- Specified by:
getContent
in classAnnotationData
- Returns:
- See above.
- See Also:
AnnotationData.getContent()
-
getContentAsString
public java.lang.String getContentAsString()
Returns the textual content of the annotation.- Specified by:
getContentAsString
in classAnnotationData
- Returns:
- See above
- See Also:
AnnotationData.getContentAsString()
-
setContent
public void setContent(java.lang.Object content)
Sets the text annotation.- Specified by:
setContent
in classAnnotationData
- Parameters:
content
- The value to set.- See Also:
AnnotationData.setContent(Object)
-
-