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.GenericObjectWrapperdata
 
- 
 - 
Constructor SummaryConstructors 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 SummaryAll 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.GenericAnnotationWrappercountAnnotationLinks, getDatasets, getDescription, getFolders, getImages, getLastModified, getNameSpace, getPlateAcquisitions, getPlates, getProjects, getScreens, getWells, setDescription, setNameSpace
 - 
Methods inherited from class fr.igred.omero.GenericObjectWrapperasDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, distinct, flatten, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
 
- 
 
- 
- 
- 
Constructor Detail- 
TagAnnotationWrapperpublic TagAnnotationWrapper(TagAnnotationData tag) Constructor of the TagAnnotationWrapper class.- Parameters:
- tag- TagAnnotationData to wrap.
 
 - 
TagAnnotationWrapperpublic 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- 
getNamepublic java.lang.String getName() Gets the name of the TagData.- Returns:
- TagData name.
 
 - 
setNamepublic void setName(java.lang.String name) Sets the name of the TagData.- Parameters:
- name- The name of the TagData. Mustn't be- null.
- Throws:
- java.lang.IllegalArgumentException- If the name is- null.
 
 - 
asTagAnnotationData@Deprecated public TagAnnotationData asTagAnnotationData() Deprecated.Gets the TagAnnotationData contained. UseGenericObjectWrapper.asDataObject()instead.- Returns:
- the TagAnnotationDatacontained.
 
 
- 
 
-