T
- Subclass of AnnotationData
public abstract class AnnotationWrapper<T extends AnnotationData> extends ObjectWrapper<T> implements Annotation
data
Modifier | Constructor and Description |
---|---|
protected |
AnnotationWrapper(T a)
Constructor of the AnnotationWrapper class.
|
Modifier and Type | Method and Description |
---|---|
List<Dataset> |
getDatasets(Browser browser)
Gets all datasets with this annotation from OMERO.
|
String |
getDescription()
Gets the annotation description.
|
List<Folder> |
getFolders(Browser browser)
Gets all folders with this annotation from OMERO.
|
List<Image> |
getImages(Browser browser)
Gets all images with this annotation from OMERO.
|
Timestamp |
getLastModified()
Returns the time when the annotation was last modified.
|
String |
getNameSpace()
Retrieves the annotation namespace.
|
List<PlateAcquisition> |
getPlateAcquisitions(Browser browser)
Gets all plate acquisitions with this annotation from OMERO.
|
List<Plate> |
getPlates(Browser browser)
Gets all plates with this annotation from OMERO.
|
List<Project> |
getProjects(Browser browser)
Gets all projects with this annotation from OMERO.
|
List<Screen> |
getScreens(Browser browser)
Gets all screens with this annotation from OMERO.
|
List<Well> |
getWells(Browser browser)
Gets all wells with this annotation from OMERO.
|
void |
setDescription(String description)
Sets the description of the underlying
AnnotationData instance. |
void |
setNameSpace(String name)
Sets the annotation namespace.
|
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, getUpdated, saveAndUpdate, toString, wrap, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asDataObject, countAnnotationLinks
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdate
protected AnnotationWrapper(T a)
a
- The AnnotationData to wrap.public String getNameSpace()
getNameSpace
in interface Annotation
public void setNameSpace(String name)
setNameSpace
in interface Annotation
name
- The value to set.public Timestamp getLastModified()
getLastModified
in interface Annotation
public String getDescription()
getDescription
in interface Annotation
public void setDescription(String description)
AnnotationData
instance.setDescription
in interface Annotation
description
- The descriptionpublic List<Project> getProjects(Browser browser) throws ServiceException, AccessException, ExecutionException
getProjects
in interface Annotation
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.public List<Dataset> getDatasets(Browser browser) throws ServiceException, AccessException, ExecutionException
getDatasets
in interface Annotation
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.public List<Image> getImages(Browser browser) throws ServiceException, AccessException, ExecutionException
getImages
in interface Annotation
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.public List<Screen> getScreens(Browser browser) throws ServiceException, AccessException, ExecutionException
getScreens
in interface Annotation
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.public List<Plate> getPlates(Browser browser) throws ServiceException, AccessException, ExecutionException
getPlates
in interface Annotation
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.public List<PlateAcquisition> getPlateAcquisitions(Browser browser) throws ServiceException, AccessException
getPlateAcquisitions
in interface Annotation
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.public List<Well> getWells(Browser browser) throws ServiceException, AccessException, ExecutionException
getWells
in interface Annotation
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.public List<Folder> getFolders(Browser browser) throws ServiceException, AccessException, ExecutionException
getFolders
in interface Annotation
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.Copyright © 2020–2023 GReD. All rights reserved.