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, 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 TimeAnnotationData()
public TimeAnnotationData(omero.model.TimestampAnnotation annotation)
annotation - The annotation to wrap.public Timestamp getTime()
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.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.