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).Implements function using 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 Modifier and Type Method Description MapAnnotationData
asMapAnnotationData()
Gets the MapAnnotationData contained.List<NamedValue>
getContent()
Gets the List of NamedValue contained in the MapAnnotationData.void
setContent(List<NamedValue> result)
Sets the content of the MapAnnotationData.-
Methods inherited from class fr.igred.omero.annotations.GenericAnnotationWrapper
countAnnotationLinks, getDatasets, getDescription, getImages, getLastModified, getNameSpace, getPlates, getProjects, getScreens, getWells, setDescription, setNameSpace
-
Methods inherited from class fr.igred.omero.GenericObjectWrapper
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, distinct, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
-
-
-
-
Constructor Detail
-
MapAnnotationWrapper
public MapAnnotationWrapper(MapAnnotationData data)
Constructor of the MapAnnotationWrapper class.- Parameters:
data
- MapAnnotationData to be contained.
-
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 MapAnnotationData.- Returns:
- MapAnnotationData content.
-
setContent
public void setContent(List<NamedValue> result)
Sets the content of the MapAnnotationData.- Parameters:
result
- List of NamedValue(Key-Value pair).
-
asMapAnnotationData
public MapAnnotationData asMapAnnotationData()
Gets the MapAnnotationData contained.- Returns:
- the
MapAnnotationData
contained.
-
-