Package omero.gateway.model
Class BooleanAnnotationData
- java.lang.Object
-
- omero.gateway.model.DataObject
-
- omero.gateway.model.AnnotationData
-
- omero.gateway.model.BooleanAnnotationData
-
public class BooleanAnnotationData extends AnnotationData
Boolean annotation.- Since:
- OME3.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
INSIGHT_PUBLISHED_NS
The name space used to indicate that the tag is used a tag set.-
Fields inherited from class omero.gateway.model.AnnotationData
FILE_TRANSFER_NS
-
-
Constructor Summary
Constructors Constructor Description BooleanAnnotationData()
Creates a new instance.BooleanAnnotationData(boolean value)
Creates a new instance.BooleanAnnotationData(omero.model.BooleanAnnotation annotation)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class omero.gateway.model.AnnotationData
getDescription, getLastModified, getNameSpace, setDescription, setNameSpace
-
Methods inherited from class omero.gateway.model.DataObject
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
-
-
-
-
Field Detail
-
INSIGHT_PUBLISHED_NS
public static final java.lang.String INSIGHT_PUBLISHED_NS
The name space used to indicate that the tag is used a tag set.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BooleanAnnotationData
public BooleanAnnotationData()
Creates a new instance.
-
BooleanAnnotationData
public BooleanAnnotationData(boolean value)
Creates a new instance.- Parameters:
value
- The value to set.
-
BooleanAnnotationData
public BooleanAnnotationData(omero.model.BooleanAnnotation annotation)
Creates a new instance.- Parameters:
annotation
- TheBooleanAnnotation
object corresponding to thisDataObject
. Mustn't benull
.
-
-
Method Detail
-
setValue
public void setValue(boolean value)
Returns the text.- Parameters:
value
- The value to set.
-
getValue
public java.lang.Boolean getValue()
Returns the text of this annotation.- Returns:
- See above.
-
getContent
public java.lang.Object getContent()
Returns the textual content of the annotation.- Specified by:
getContent
in classAnnotationData
- Returns:
- See above.
- See Also:
AnnotationData.getContent()
-
getContentAsString
public java.lang.String getContentAsString()
Returns the textual content of the annotation.- Specified by:
getContentAsString
in classAnnotationData
- Returns:
- See above
- See Also:
AnnotationData.getContentAsString()
-
setContent
public void setContent(java.lang.Object content)
Sets the text annotation.- Specified by:
setContent
in classAnnotationData
- Parameters:
content
- The value to set.- See Also:
AnnotationData.setContent(Object)
-
-