Package fr.igred.omero.annotations
Class TagAnnotationWrapper
- java.lang.Object
-
- fr.igred.omero.ObjectWrapper<T>
-
- fr.igred.omero.annotations.AnnotationWrapper<TagAnnotationData>
-
- fr.igred.omero.annotations.TagAnnotationWrapper
-
- All Implemented Interfaces:
Annotation,TagAnnotation,ContainerLinked,HCSLinked,ImageLinked,RemoteObject
public class TagAnnotationWrapper extends AnnotationWrapper<TagAnnotationData> implements TagAnnotation
Class containing a TagAnnotationData object.Wraps function calls to the TagAnnotationData contained.
-
-
Field Summary
-
Fields inherited from class fr.igred.omero.ObjectWrapper
data
-
-
Constructor Summary
Constructors Constructor Description TagAnnotationWrapper(DataManager dm, java.lang.String name, java.lang.String description)Constructor of the TagAnnotationWrapper class.TagAnnotationWrapper(TagAnnotationData tag)Constructor of the TagAnnotationWrapper class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Gets the name of the TagData.voidsetName(java.lang.String name)Sets the name of the TagData.-
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.RemoteObject
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate
-
Methods inherited from interface fr.igred.omero.annotations.TagAnnotation
asDataObject
-
-
-
-
Constructor Detail
-
TagAnnotationWrapper
public TagAnnotationWrapper(TagAnnotationData tag)
Constructor of the TagAnnotationWrapper class.- Parameters:
tag- TagAnnotationData to wrap.
-
TagAnnotationWrapper
public TagAnnotationWrapper(DataManager dm, java.lang.String name, java.lang.String description) throws ServiceException, AccessException, java.util.concurrent.ExecutionException
Constructor of the TagAnnotationWrapper class. Creates the tag and save it in OMERO.- Parameters:
dm- The data manager.name- Annotation name.description- Tag description.- Throws:
ServiceException- Cannot connect to OMERO.AccessException- Cannot access data.java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name of the TagData.- Specified by:
getNamein interfaceTagAnnotation- Returns:
- TagData name.
-
setName
public void setName(java.lang.String name)
Sets the name of the TagData.- Specified by:
setNamein interfaceTagAnnotation- Parameters:
name- The name of the TagData. Mustn't benull.- Throws:
java.lang.IllegalArgumentException- If the name isnull.
-
-