public class TimeAnnotationData extends AnnotationData
FILE_TRANSFER_NS
Constructor and Description |
---|
TimeAnnotationData()
Creates a default instance.
|
TimeAnnotationData(omero.model.TimestampAnnotation annotation)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
getContent()
Returns the timestamp of the annotation.
|
String |
getContentAsString()
Returns the time as a string.
|
Timestamp |
getTime()
Returns the time value.
|
void |
setContent(Object content)
Sets the time annotation.
|
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 TimeAnnotationData()
public TimeAnnotationData(omero.model.TimestampAnnotation annotation)
annotation
- The annotation to wrap.public Timestamp getTime()
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.