|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpojos.DataObject
pojos.AnnotationData
pojos.XMLAnnotationData
public class XMLAnnotationData
Defines an XML Annotation.
Constructor Summary | |
---|---|
XMLAnnotationData()
Creates a new instance. |
|
XMLAnnotationData(String text)
Creates a new instance. |
|
XMLAnnotationData(omero.model.XmlAnnotation annotation)
Creates a new instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class pojos.AnnotationData |
---|
getLastModified, getNameSpace, setNameSpace |
Methods inherited from class pojos.DataObject |
---|
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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
.Method Detail |
---|
public void setDescription(String value)
value
- The value to set.public String getDescription()
public void setText(String value)
value
- The value to set.public String getText()
public Object getContent()
getContent
in class AnnotationData
AnnotationData.getContent()
public String getContentAsString()
getContentAsString
in class AnnotationData
AnnotationData.getContentAsString()
public void setContent(Object content)
setContent
in class AnnotationData
content
- The value to set.AnnotationData.setContent(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.