Package omero.gateway.model
Class TimeAnnotationData
- java.lang.Object
-
- omero.gateway.model.DataObject
-
- omero.gateway.model.AnnotationData
-
- omero.gateway.model.TimeAnnotationData
-
public class TimeAnnotationData extends AnnotationData
Basic time annotation.- Since:
- 3.0-Beta3
-
-
Field Summary
-
Fields inherited from class omero.gateway.model.AnnotationData
FILE_TRANSFER_NS
-
-
Constructor Summary
Constructors Constructor Description TimeAnnotationData()Creates a default instance.TimeAnnotationData(omero.model.TimestampAnnotation annotation)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetContent()Returns the timestamp of the annotation.java.lang.StringgetContentAsString()Returns the time as a string.java.sql.TimestampgetTime()Returns the time value.voidsetContent(java.lang.Object content)Sets the time annotation.-
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
-
-
-
-
Method Detail
-
getTime
public java.sql.Timestamp getTime()
Returns the time value.- Returns:
- See above
-
getContent
public java.lang.Object getContent()
Returns the timestamp of the annotation.- Specified by:
getContentin classAnnotationData- Returns:
- See above.
- See Also:
AnnotationData.getContent()
-
getContentAsString
public java.lang.String getContentAsString()
Returns the time as a string.- Specified by:
getContentAsStringin classAnnotationData- Returns:
- See above
- See Also:
AnnotationData.getContentAsString()
-
setContent
public void setContent(java.lang.Object content)
Sets the time annotation.- Specified by:
setContentin classAnnotationData- Parameters:
content- The value to set.- See Also:
AnnotationData.setContent(Object)
-
-