public class XMLAnnotationData extends AnnotationData
| Modifier and Type | Field and Description |
|---|---|
static String |
MODULO_NS
The name space used to identify modulo concept.
|
FILE_TRANSFER_NS| Constructor and Description |
|---|
XMLAnnotationData()
Creates a new instance.
|
XMLAnnotationData(String text)
Creates a new instance.
|
XMLAnnotationData(omero.model.XmlAnnotation annotation)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getContent()
Returns the content of the annotation.
|
String |
getContentAsString()
Returns the textual content of the annotation.
|
String |
getDescription()
Returns the description of the annotation.
|
String |
getText()
Returns the text of this annotation.
|
void |
setContent(Object content)
Sets the annotation.
|
void |
setDescription(String value)
Sets the description of the annotation.
|
void |
setText(String value)
Sets the text value.
|
getLastModified, getNameSpace, setNameSpaceasAnnotation, 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, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toStringpublic static final String MODULO_NS
public XMLAnnotationData()
public XMLAnnotationData(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(String value)
setDescription in class AnnotationDatavalue - The value to set.public String getDescription()
getDescription in class AnnotationDatapublic void setText(String value)
value - The value to set.public String getText()
public Object getContent()
getContent in class AnnotationDataAnnotationData.getContent()public String getContentAsString()
getContentAsString in class AnnotationDataAnnotationData.getContentAsString()public void setContent(Object content)
setContent in class AnnotationDatacontent - The value to set.AnnotationData.setContent(Object)
Version: 5.1.1-ice35-b43
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.