Package fr.igred.omero.screen
Class WellSampleWrapper
- java.lang.Object
-
- fr.igred.omero.ObjectWrapper<WellSampleData>
-
- fr.igred.omero.screen.WellSampleWrapper
-
- All Implemented Interfaces:
HCSLinked
,ImageLinked
,RemoteObject
,WellSample
public class WellSampleWrapper extends ObjectWrapper<WellSampleData> implements WellSample
Class containing a WellSampleData object.Wraps function calls to the WellSampleData contained.
-
-
Field Summary
-
Fields inherited from class fr.igred.omero.ObjectWrapper
data
-
-
Constructor Summary
Constructors Constructor Description WellSampleWrapper(WellSampleData wellSample)
Constructor of the class WellSampleWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Image
getImage()
Returns the image related to that sample if any.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
setImage(Image image)
Sets the image linked to this well sample.-
Methods inherited from class fr.igred.omero.ObjectWrapper
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface fr.igred.omero.RemoteObject
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate
-
Methods inherited from interface fr.igred.omero.screen.WellSample
asDataObject, getImages, getPlateAcquisitions, getPlates, getScreens, getWell, getWells
-
-
-
-
Constructor Detail
-
WellSampleWrapper
public WellSampleWrapper(WellSampleData wellSample)
Constructor of the class WellSampleWrapper.- Parameters:
wellSample
- The WellSampleData to wrap in the WellSampleWrapper.
-
-
Method Detail
-
getImage
public Image getImage()
Returns the image related to that sample if any.- Specified by:
getImage
in interfaceWellSample
- Returns:
- See above.
-
setImage
public void setImage(Image image)
Sets the image linked to this well sample.- Specified by:
setImage
in interfaceWellSample
- Parameters:
image
- The image to set.
-
getPositionX
public Length getPositionX(omero.model.enums.UnitsLength unit) throws BigResult
Returns the position X.- Specified by:
getPositionX
in interfaceWellSample
- 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
public Length getPositionY(omero.model.enums.UnitsLength unit) throws BigResult
Returns the position Y.- Specified by:
getPositionY
in interfaceWellSample
- 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.- Specified by:
getStartTime
in interfaceWellSample
- Returns:
- See above.
-
-