public class XMLAnnotationData extends AnnotationData
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MODULO_NS
The name space used to identify modulo concept.
|
FILE_TRANSFER_NS| Constructor and Description |
|---|
XMLAnnotationData()
Creates a new instance.
|
XMLAnnotationData(java.lang.String text)
Creates a new instance.
|
XMLAnnotationData(omero.model.XmlAnnotation annotation)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getContent()
Returns the content of the annotation.
|
java.lang.String |
getContentAsString()
Returns the textual content of the annotation.
|
java.lang.String |
getDescription()
Returns the description of the annotation.
|
java.lang.String |
getText()
Returns the text of this annotation.
|
void |
setContent(java.lang.Object content)
Sets the annotation.
|
void |
setDescription(java.lang.String value)
Sets the description of the annotation.
|
void |
setText(java.lang.String value)
Sets the text value.
|
getLastModified, getNameSpace, 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 static final java.lang.String MODULO_NS
public XMLAnnotationData()
public XMLAnnotationData(java.lang.String text)
text - The text to set.public XMLAnnotationData(omero.model.XmlAnnotation annotation)
annotation - The XmlAnnotation object corresponding to this
DataObject. Mustn't be null.public void setDescription(java.lang.String value)
setDescription in class AnnotationDatavalue - The value to set.public java.lang.String getDescription()
getDescription in class AnnotationDatapublic void setText(java.lang.String value)
value - 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)