public class TextualAnnotationData extends AnnotationData
FILE_TRANSFER_NS
コンストラクタと説明 |
---|
TextualAnnotationData()
Creates a new instance.
|
TextualAnnotationData(omero.model.CommentAnnotation annotation)
Creates a new instance.
|
TextualAnnotationData(java.lang.String text)
Creates a new instance.
|
修飾子とタイプ | メソッドと説明 |
---|---|
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.
|
getLastModified, getNameSpace, 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, setDirty, setId, setValue, setVersion, timeOfEvent, toString
public 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
クラス内 AnnotationData
AnnotationData.getContent()
public java.lang.String getContentAsString()
getContentAsString
クラス内 AnnotationData
AnnotationData.getContentAsString()
public void setContent(java.lang.Object content)
setContent
クラス内 AnnotationData
content
- The value to set.AnnotationData.setContent(Object)