public class WellSampleWrapper extends ObjectWrapper<WellSampleData> implements WellSample
Wraps function calls to the WellSampleData contained.
data| Constructor and Description |
|---|
WellSampleWrapper(WellSampleData wellSample)
Constructor of the class WellSampleWrapper.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the underlying image description
|
Image |
getImage()
Returns the image related to that sample if any.
|
String |
getName()
Gets the underlying image name.
|
PlateAcquisition |
getPlateAcquisition()
Returns the plate acquisition containing this well sample.
|
Length |
getPositionX(omero.model.enums.UnitsLength unit)
Returns the position X.
|
Length |
getPositionY(omero.model.enums.UnitsLength unit)
Returns the position Y.
|
long |
getStartTime()
Returns the time at which the field was acquired.
|
void |
reload(Browser browser)
Reloads the well sample from OMERO.
|
void |
setImage(Image image)
Sets the image linked to this well sample.
|
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, getUpdated, saveAndUpdate, toString, wrap, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasDataObject, getChildren, getParents, getPlates, getScreens, getWellcanAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdatepublic WellSampleWrapper(WellSampleData wellSample)
wellSample - The WellSampleData to wrap in the WellSampleWrapper.public PlateAcquisition getPlateAcquisition()
getPlateAcquisition in interface WellSamplepublic Image getImage()
getImage in interface WellSamplepublic void setImage(Image image)
setImage in interface WellSampleimage - The image to set.public Length getPositionX(omero.model.enums.UnitsLength unit) throws BigResult
getPositionX in interface WellSampleunit - The unit (can be null, in which case no conversion will be performed)BigResult - If an arithmetic under-/overflow occurredpublic Length getPositionY(omero.model.enums.UnitsLength unit) throws BigResult
getPositionY in interface WellSampleunit - The unit (can be null, in which case no conversion will be performed)BigResult - If an arithmetic under-/overflow occurredpublic long getStartTime()
getStartTime in interface WellSamplepublic String getName()
getName in interface RepositoryObjectpublic String getDescription()
getDescription in interface RepositoryObjectpublic void reload(Browser browser) throws ServiceException, AccessException, ExecutionException
reload in interface RepositoryObjectreload in interface WellSamplebrowser - 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.