Package fr.igred.omero.annotations
Class MapAnnotationWrapper
- java.lang.Object
-
- fr.igred.omero.ObjectWrapper<T>
-
- fr.igred.omero.annotations.AnnotationWrapper<MapAnnotationData>
-
- fr.igred.omero.annotations.MapAnnotationWrapper
-
- All Implemented Interfaces:
Annotation
,MapAnnotation
,ContainerLinked
,HCSLinked
,ImageLinked
,RemoteObject
public class MapAnnotationWrapper extends AnnotationWrapper<MapAnnotationData> implements MapAnnotation
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.ObjectWrapper
data
-
-
Constructor Summary
Constructors Constructor Description MapAnnotationWrapper()
Constructor of the MapAnnotationWrapper class.MapAnnotationWrapper(java.util.Collection<? extends java.util.Map.Entry<java.lang.String,java.lang.String>> pairs)
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 java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>>
getContent()
Gets the List of Key-Value pairs contained in the map annotation.void
setContent(java.util.Collection<? extends java.util.Map.Entry<java.lang.String,java.lang.String>> pairs)
Sets the content of the map annotation.-
Methods inherited from class fr.igred.omero.annotations.AnnotationWrapper
getDatasets, getDescription, getFolders, getImages, getLastModified, getNameSpace, getPlateAcquisitions, getPlates, getProjects, getScreens, getWells, setDescription, setNameSpace
-
Methods inherited from class fr.igred.omero.ObjectWrapper
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface fr.igred.omero.annotations.Annotation
countAnnotationLinks, getDescription, getFolders, getLastModified, getNameSpace, setDescription, setNameSpace
-
Methods inherited from interface fr.igred.omero.ContainerLinked
getDatasets, getProjects
-
Methods inherited from interface fr.igred.omero.HCSLinked
getPlateAcquisitions, getPlates, getScreens, getWells
-
Methods inherited from interface fr.igred.omero.ImageLinked
getImages
-
Methods inherited from interface fr.igred.omero.annotations.MapAnnotation
asDataObject, getContentAsMap
-
Methods inherited from interface fr.igred.omero.RemoteObject
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate
-
-
-
-
Constructor Detail
-
MapAnnotationWrapper
public MapAnnotationWrapper(MapAnnotationData data)
Constructor of the MapAnnotationWrapper class.- Parameters:
data
- MapAnnotationData to wrap.
-
MapAnnotationWrapper
public MapAnnotationWrapper(java.util.Collection<? extends java.util.Map.Entry<java.lang.String,java.lang.String>> pairs)
Constructor of the MapAnnotationWrapper class. Sets the content of the map annotation.- Parameters:
pairs
- List of Key-Value pairs.
-
MapAnnotationWrapper
public MapAnnotationWrapper()
Constructor of the MapAnnotationWrapper class.
-
-
Method Detail
-
getContent
public java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> getContent()
Gets the List of Key-Value pairs contained in the map annotation.- Specified by:
getContent
in interfaceMapAnnotation
- Returns:
- MapAnnotationData content.
-
setContent
public void setContent(java.util.Collection<? extends java.util.Map.Entry<java.lang.String,java.lang.String>> pairs)
Sets the content of the map annotation.- Specified by:
setContent
in interfaceMapAnnotation
- Parameters:
pairs
- Collection of Key-Value pairs.
-
-