Package fr.igred.omero.annotations
Class MapAnnotationWrapper
- java.lang.Object
-
- fr.igred.omero.GenericObjectWrapper<T>
-
- fr.igred.omero.annotations.GenericAnnotationWrapper<MapAnnotationData>
-
- fr.igred.omero.annotations.MapAnnotationWrapper
-
public class MapAnnotationWrapper extends GenericAnnotationWrapper<MapAnnotationData>
Class containing a MapAnnotationData, a MapAnnotationData contains a list of NamedValue(Key-Value pair).Wraps function calls to the MapAnnotationData contained.
-
-
Field Summary
-
Fields inherited from class fr.igred.omero.GenericObjectWrapper
data
-
-
Constructor Summary
Constructors Constructor Description MapAnnotationWrapper()
Constructor of the MapAnnotationWrapper class.MapAnnotationWrapper(List<NamedValue> result)
Constructor of the MapAnnotationWrapper class.MapAnnotationWrapper(MapAnnotationData data)
Constructor of the MapAnnotationWrapper class.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MapAnnotationData
asMapAnnotationData()
Deprecated.Gets the MapAnnotationData contained.List<NamedValue>
getContent()
Gets the List of NamedValue contained in the map annotation.void
setContent(List<NamedValue> result)
Sets the content of the map annotation.-
Methods inherited from class fr.igred.omero.annotations.GenericAnnotationWrapper
countAnnotationLinks, getDatasets, getDescription, getFolders, getImages, getLastModified, getNameSpace, getPlateAcquisitions, getPlates, getProjects, getScreens, getWells, setDescription, setNameSpace
-
Methods inherited from class fr.igred.omero.GenericObjectWrapper
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, distinct, flatten, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
-
-
-
-
Constructor Detail
-
MapAnnotationWrapper
public MapAnnotationWrapper(MapAnnotationData data)
Constructor of the MapAnnotationWrapper class.- Parameters:
data
- MapAnnotationData to wrap.
-
MapAnnotationWrapper
public MapAnnotationWrapper(List<NamedValue> result)
Constructor of the MapAnnotationWrapper class. Sets the content of the MapAnnotationData- Parameters:
result
- List of NamedValue(Key-Value pair).
-
MapAnnotationWrapper
public MapAnnotationWrapper()
Constructor of the MapAnnotationWrapper class.
-
-
Method Detail
-
getContent
public List<NamedValue> getContent()
Gets the List of NamedValue contained in the map annotation.- Returns:
- MapAnnotationData content.
-
setContent
public void setContent(List<NamedValue> result)
Sets the content of the map annotation.- Parameters:
result
- List of NamedValue(Key-Value pair).
-
asMapAnnotationData
@Deprecated public MapAnnotationData asMapAnnotationData()
Deprecated.Gets the MapAnnotationData contained. UseGenericObjectWrapper.asDataObject()
instead.- Returns:
- the
MapAnnotationData
contained.
-
-