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(java.lang.String text)
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 |
getText()
Returns the text of this annotation.
|
void |
setContent(java.lang.Object content)
Sets the text annotation.
|
void |
setText(java.lang.String text)
Sets the text.
|
getDescription, getLastModified, getNameSpace, setDescription, setNameSpaceasAnnotation, 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, toStringpublic TextualAnnotationData()
public TextualAnnotationData(java.lang.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(java.lang.String text)
text - The value to set.public java.lang.String getText()
public java.lang.Object getContent()
getContent in class AnnotationDataAnnotationData.getContent()public java.lang.String getContentAsString()
getContentAsString in class AnnotationDataAnnotationData.getContentAsString()public void setContent(java.lang.Object content)
setContent in class AnnotationDatacontent - The value to set.AnnotationData.setContent(Object)