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 | 
|---|---|
java.lang.Object | 
getContent()
Returns the timestamp of the annotation. 
 | 
java.lang.String | 
getContentAsString()
Returns the time as a string. 
 | 
java.sql.Timestamp | 
getTime()
Returns the time value. 
 | 
void | 
setContent(java.lang.Object content)
Sets the time annotation. 
 | 
getDescription, getLastModified, getNameSpace, setDescription, setNameSpaceasAnnotation, 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, toStringpublic TimeAnnotationData()
public TimeAnnotationData(omero.model.TimestampAnnotation annotation)
annotation - The annotation to wrap.public java.sql.Timestamp getTime()
public java.lang.Object getContent()
getContent in class AnnotationDataAnnotationData.getContent()public java.lang.String getContentAsString()
getContentAsString in class AnnotationDataAnnotationData.getContentAsString()public void setContent(java.lang.Object content)
setContent in class AnnotationDatacontent - The value to set.AnnotationData.setContent(Object)