Package omero.gateway.model
Class MapAnnotationData
- java.lang.Object
-
- omero.gateway.model.DataObject
-
- omero.gateway.model.AnnotationData
-
- omero.gateway.model.MapAnnotationData
-
public class MapAnnotationData extends AnnotationData
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNS_CLIENT_CREATEDThe name space used to identify MapAnnotations created be the user-
Fields inherited from class omero.gateway.model.AnnotationData
FILE_TRANSFER_NS
-
-
Constructor Summary
Constructors Constructor Description MapAnnotationData()MapAnnotationData(omero.model.MapAnnotation value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetContent()Returns the content of the annotation.java.lang.StringgetContentAsString()Returns the content of the annotation as aString, which is parsed on aClass-by-Classbasis.voidsetContent(java.lang.Object content)Sets the annotation value.-
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
-
-
-
-
Field Detail
-
NS_CLIENT_CREATED
public static final java.lang.String NS_CLIENT_CREATED
The name space used to identify MapAnnotations created be the user- See Also:
- Constant Field Values
-
-
Method Detail
-
setContent
public void setContent(java.lang.Object content)
Description copied from class:AnnotationDataSets the annotation value. If the improper content is given for the currentAnnotation, then anIllegalArgumentExceptionwill be thrown.- Specified by:
setContentin classAnnotationData- Parameters:
content- The value to set.
-
getContent
public java.lang.Object getContent()
Description copied from class:AnnotationDataReturns the content of the annotation.- Specified by:
getContentin classAnnotationData- Returns:
- See above.
-
getContentAsString
public java.lang.String getContentAsString()
Description copied from class:AnnotationDataReturns the content of the annotation as aString, which is parsed on aClass-by-Classbasis.- Specified by:
getContentAsStringin classAnnotationData- Returns:
- See above
-
-