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.String
NS_CLIENT_CREATED
The 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.Object
getContent()
Returns the content of the annotation.java.lang.String
getContentAsString()
Returns the content of the annotation as aString
, which is parsed on aClass
-by-Class
basis.void
setContent(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:AnnotationData
Sets the annotation value. If the improper content is given for the currentAnnotation
, then anIllegalArgumentException
will be thrown.- Specified by:
setContent
in classAnnotationData
- Parameters:
content
- The value to set.
-
getContent
public java.lang.Object getContent()
Description copied from class:AnnotationData
Returns the content of the annotation.- Specified by:
getContent
in classAnnotationData
- Returns:
- See above.
-
getContentAsString
public java.lang.String getContentAsString()
Description copied from class:AnnotationData
Returns the content of the annotation as aString
, which is parsed on aClass
-by-Class
basis.- Specified by:
getContentAsString
in classAnnotationData
- Returns:
- See above
-
-