public class TextualAnnotationData extends AnnotationData
FILE_TRANSFER_NS
Constructor and Description |
---|
TextualAnnotationData()
Creates a new instance.
|
TextualAnnotationData(omero.model.CommentAnnotation annotation)
Creates a new instance.
|
TextualAnnotationData(String text)
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.
|
String |
getText()
Returns the text of this annotation.
|
void |
setContent(Object content)
Sets the text annotation.
|
void |
setText(String text)
Sets the text.
|
getDescription, getLastModified, getNameSpace, setDescription, setNameSpace
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, 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 TextualAnnotationData()
public TextualAnnotationData(String text)
text
- The text to set.public TextualAnnotationData(omero.model.CommentAnnotation annotation)
annotation
- The CommentAnnotation
object corresponding to this
DataObject
. Mustn't be null
.public void setText(String text)
text
- The value to set.public String getText()
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.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.