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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class fr.igred.omero.GenericObjectWrapper
GenericObjectWrapper.SortById<U extends GenericObjectWrapper<?>>
-
-
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
getDatasets, getDescription, getImages, getLastModified, getNameSpace, getProjects, setDescription, setNameSpace
-
Methods inherited from class fr.igred.omero.GenericObjectWrapper
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString
-
-
-
-
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.
-
-