Package fr.igred.omero.repository
Class WellSampleWrapper
Class containing a WellSampleData object.
Wraps function calls to the WellSampleData contained.
-
Field Summary
Fields inherited from class fr.igred.omero.GenericObjectWrapper
data
-
Constructor Summary
ConstructorDescriptionWellSampleWrapper
(WellSampleData wellSample) Constructor of the class WellSampleWrapper. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the WellSampleData contained.getImage()
Returns the image related to that sample if any.Returns the plate acquisition containing this well sample.getPlateAcquisitions
(Client client) Returns the plate acquisitions linked to the parent Well.Returns the plates containing the parent Well.getPositionX
(omero.model.enums.UnitsLength unit) Returns the position X.getPositionY
(omero.model.enums.UnitsLength unit) Returns the position Y.getScreens
(Client client) Returns the screens containing the parent Well.long
Returns the time at which the field was acquired.Retrieves the well containing this well samplevoid
Reloads the well sample from OMERO.void
setImage
(ImageWrapper image) Sets the image linked to this well sample.Methods inherited from class fr.igred.omero.GenericObjectWrapper
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, distinct, flatten, getCreated, getGroupId, getId, getOwner, getUpdated, saveAndUpdate, toString, wrap, wrap
-
Constructor Details
-
WellSampleWrapper
Constructor of the class WellSampleWrapper.- Parameters:
wellSample
- The WellSampleData to wrap in the WellSampleWrapper.
-
-
Method Details
-
asWellSampleData
Deprecated.Returns the WellSampleData contained. UseGenericObjectWrapper.asDataObject()
instead.- Returns:
- See above.
-
getScreens
public List<ScreenWrapper> getScreens(Client client) throws ServiceException, AccessException, ExecutionException, OMEROServerError Returns the screens containing the parent Well.- Parameters:
client
- The client handling the connection.- Returns:
- See above.
- Throws:
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.OMEROServerError
- Server error.
-
getPlates
public List<PlateWrapper> getPlates(Client client) throws ServiceException, AccessException, ExecutionException Returns the plates containing the parent Well.- Parameters:
client
- The client handling the connection.- Returns:
- See above.
- Throws:
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.
-
getPlateAcquisition
Returns the plate acquisition containing this well sample.- Returns:
- See above.
-
getPlateAcquisitions
public List<PlateAcquisitionWrapper> getPlateAcquisitions(Client client) throws ServiceException, AccessException, ExecutionException Returns the plate acquisitions linked to the parent Well.- Parameters:
client
- The client handling the connection.- Returns:
- See above.
- Throws:
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.
-
getWell
public WellWrapper getWell(Client client) throws AccessException, ServiceException, ExecutionException Retrieves the well containing this well sample- Parameters:
client
- The client handling the connection.- Returns:
- See above
- Throws:
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.
-
getImage
Returns the image related to that sample if any.- Returns:
- See above.
-
setImage
Sets the image linked to this well sample.- Parameters:
image
- The image to set.
-
getPositionX
Returns the position X.- Parameters:
unit
- The unit (can be null, in which case no conversion will be performed)- Returns:
- See above.
- Throws:
BigResult
- If an arithmetic under-/overflow occurred
-
getPositionY
Returns the position Y.- Parameters:
unit
- The unit (can be null, in which case no conversion will be performed)- Returns:
- See above.
- Throws:
BigResult
- If an arithmetic under-/overflow occurred
-
getStartTime
public long getStartTime()Returns the time at which the field was acquired.- Returns:
- See above.
-
reload
Reloads the well sample from OMERO.- Parameters:
browser
- The data browser.- Throws:
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.
-