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, setNameSpace
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, 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
public 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 AnnotationData
value
- The value to set.public java.lang.String getDescription()
getDescription
in class AnnotationData
public void setText(java.lang.String value)
value
- The value to set.public java.lang.String getText()
public java.lang.Object getContent()
getContent
in class AnnotationData
AnnotationData.getContent()
public java.lang.String getContentAsString()
getContentAsString
in class AnnotationData
AnnotationData.getContentAsString()
public void setContent(java.lang.Object content)
setContent
in class AnnotationData
content
- The value to set.AnnotationData.setContent(Object)