public class BooleanAnnotationData extends AnnotationData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INSIGHT_PUBLISHED_NS
The name space used to indicate that the tag is used a tag set.
|
FILE_TRANSFER_NS
Constructor and Description |
---|
BooleanAnnotationData()
Creates a new instance.
|
BooleanAnnotationData(boolean value)
Creates a new instance.
|
BooleanAnnotationData(omero.model.BooleanAnnotation annotation)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getContent()
Returns the textual content of the annotation.
|
java.lang.String |
getContentAsString()
Returns the textual content of the annotation.
|
java.lang.Boolean |
getValue()
Returns the text of this annotation.
|
void |
setContent(java.lang.Object content)
Sets the text annotation.
|
void |
setValue(boolean value)
Returns the text.
|
getDescription, getLastModified, getNameSpace, setDescription, setNameSpace
asAnnotation, 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, toString
public static final java.lang.String INSIGHT_PUBLISHED_NS
public BooleanAnnotationData()
public BooleanAnnotationData(boolean value)
value
- The value to set.public BooleanAnnotationData(omero.model.BooleanAnnotation annotation)
annotation
- The BooleanAnnotation
object corresponding to this
DataObject
. Mustn't be null
.public void setValue(boolean value)
value
- The value to set.public java.lang.Boolean getValue()
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)