public class LongAnnotationData extends AnnotationData
FILE_TRANSFER_NS| Constructor and Description | 
|---|
LongAnnotationData()
Creates a new instance. 
 | 
LongAnnotationData(long value)
Creates a new instance. 
 | 
LongAnnotationData(omero.model.LongAnnotation annotation)
Creates a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
getContent()
Returns the rating value. 
 | 
String | 
getContentAsString()
Returns the value as a string. 
 | 
long | 
getDataValue()
Returns the value. 
 | 
void | 
setContent(Object content)
Sets the text annotation. 
 | 
void | 
setDataValue(long value)
Sets the rating value. 
 | 
getDescription, getLastModified, getNameSpace, setDescription, setNameSpaceasAnnotation, 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, toStringpublic LongAnnotationData(long value)
value - The value to set.public LongAnnotationData()
public LongAnnotationData(omero.model.LongAnnotation annotation)
annotation - The LongAnnotation object corresponding to this
            DataObject. Mustn't be null.public void setDataValue(long value)
value - The value to set.public long getDataValue()
public Object getContent()
getContent in class AnnotationDataAnnotationData.getContent()public String getContentAsString()
getContentAsString in class AnnotationDataAnnotationData.getContentAsString()public void setContent(Object content)
setContent in class AnnotationDatacontent - The value to set.AnnotationData.setContent(Object)
                
                
Version: 5.2.3-ice35-b22
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.