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, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asDataObject, getChildren, getParents, getPlates, getScreens, getWell
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdate
public WellSampleWrapper(WellSampleData wellSample)
wellSample
- The WellSampleData to wrap in the WellSampleWrapper.public PlateAcquisition getPlateAcquisition()
getPlateAcquisition
in interface WellSample
public Image getImage()
getImage
in interface WellSample
public void setImage(Image image)
setImage
in interface WellSample
image
- The image to set.public Length getPositionX(omero.model.enums.UnitsLength unit) throws BigResult
getPositionX
in interface WellSample
unit
- 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 WellSample
unit
- 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 WellSample
public String getName()
getName
in interface RepositoryObject
public String getDescription()
getDescription
in interface RepositoryObject
public void reload(Browser browser) throws ServiceException, AccessException, ExecutionException
reload
in interface RepositoryObject
reload
in interface WellSample
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.