public class DoubleAnnotationData extends AnnotationData
FILE_TRANSFER_NS
Constructor and Description |
---|
DoubleAnnotationData()
Creates a new instance.
|
DoubleAnnotationData(double value)
Creates a new instance.
|
DoubleAnnotationData(omero.model.DoubleAnnotation annotation)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getContent()
Returns the value.
|
java.lang.String |
getContentAsString()
Returns the value as a string.
|
double |
getDataValue()
Returns the value.
|
void |
setContent(java.lang.Object content)
Sets the text annotation.
|
void |
setDataValue(double value)
Sets the rating value.
|
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 DoubleAnnotationData(double value)
value
- The value to set.public DoubleAnnotationData()
public DoubleAnnotationData(omero.model.DoubleAnnotation annotation)
annotation
- The DoubleAnnotation
object corresponding to
this DataObject
.
Mustn't be null
.public void setDataValue(double value)
value
- The value to set.public double getDataValue()
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)