public class BooleanAnnotationData extends AnnotationData
Modifier and Type | Field and Description |
---|---|
static 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 |
---|---|
Object |
getContent()
Returns the textual content of the annotation.
|
String |
getContentAsString()
Returns the textual content of the annotation.
|
Boolean |
getValue()
Returns the text of this annotation.
|
void |
setContent(Object content)
Sets the text annotation.
|
void |
setValue(boolean value)
Returns the text.
|
getDescription, getLastModified, getNameSpace, setDescription, setNameSpace
asAnnotation, 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, toString
public static final 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 Boolean getValue()
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)
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.