Package fr.igred.omero.annotations
Class TagAnnotationWrapper
- java.lang.Object
-
- fr.igred.omero.GenericObjectWrapper<T>
-
- fr.igred.omero.annotations.GenericAnnotationWrapper<TagAnnotationData>
-
- fr.igred.omero.annotations.TagAnnotationWrapper
-
public class TagAnnotationWrapper extends GenericAnnotationWrapper<TagAnnotationData>
Class containing a TagAnnotationData object.Wraps function calls to the TagAnnotationData contained.
-
-
Field Summary
-
Fields inherited from class fr.igred.omero.GenericObjectWrapper
data
-
-
Constructor Summary
Constructors Constructor Description TagAnnotationWrapper(Client client, 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 Deprecated Methods Modifier and Type Method Description TagAnnotationDataasTagAnnotationData()Deprecated.Gets the TagAnnotationData contained.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.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
-
TagAnnotationWrapper
public TagAnnotationWrapper(TagAnnotationData tag)
Constructor of the TagAnnotationWrapper class.- Parameters:
tag- Tag to be contained.
-
TagAnnotationWrapper
public TagAnnotationWrapper(Client client, 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:
client- The client handling the connection.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.- Returns:
- TagData name.
-
setName
public void setName(java.lang.String name)
Sets the name of the TagData.- Parameters:
name- The name of the TagData. Mustn't benull.- Throws:
java.lang.IllegalArgumentException- If the name isnull.
-
asTagAnnotationData
@Deprecated public TagAnnotationData asTagAnnotationData()
Deprecated.Gets the TagAnnotationData contained. UseGenericObjectWrapper.asDataObject()instead.- Returns:
- the
TagAnnotationDatacontained.
-
-