Package omero.gateway.model
Class LongAnnotationData
- java.lang.Object
-
- omero.gateway.model.DataObject
-
- omero.gateway.model.AnnotationData
-
- omero.gateway.model.LongAnnotationData
-
public class LongAnnotationData extends AnnotationData
Wraps a long annotation.- Since:
- OME3.0
-
-
Field Summary
-
Fields inherited from class omero.gateway.model.AnnotationData
FILE_TRANSFER_NS
-
-
Constructor Summary
Constructors Constructor Description LongAnnotationData()Creates a new instance.LongAnnotationData(long value)Creates a new instance.LongAnnotationData(omero.model.LongAnnotation annotation)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetContent()Returns the rating value.java.lang.StringgetContentAsString()Returns the value as a string.longgetDataValue()Returns the value.voidsetContent(java.lang.Object content)Sets the text annotation.voidsetDataValue(long value)Sets the rating value.-
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
-
-
-
-
Constructor Detail
-
LongAnnotationData
public LongAnnotationData(long value)
Creates a new instance.- Parameters:
value- The value to set.
-
LongAnnotationData
public LongAnnotationData()
Creates a new instance.
-
LongAnnotationData
public LongAnnotationData(omero.model.LongAnnotation annotation)
Creates a new instance.- Parameters:
annotation- TheLongAnnotationobject corresponding to thisDataObject. Mustn't benull.
-
-
Method Detail
-
setDataValue
public void setDataValue(long value)
Sets the rating value.- Parameters:
value- The value to set.
-
getDataValue
public long getDataValue()
Returns the value.- Returns:
- See above.
-
getContent
public java.lang.Object getContent()
Returns the rating value.- Specified by:
getContentin classAnnotationData- Returns:
- See above.
- See Also:
AnnotationData.getContent()
-
getContentAsString
public java.lang.String getContentAsString()
Returns the value as a string.- Specified by:
getContentAsStringin classAnnotationData- Returns:
- See above
- See Also:
AnnotationData.getContentAsString()
-
setContent
public void setContent(java.lang.Object content)
Sets the text annotation.- Specified by:
setContentin classAnnotationData- Parameters:
content- The value to set.- See Also:
AnnotationData.setContent(Object)
-
-