Package fr.igred.omero.repository
Class WellSampleWrapper
- java.lang.Object
-
- fr.igred.omero.GenericObjectWrapper<WellSampleData>
-
- fr.igred.omero.repository.WellSampleWrapper
-
public class WellSampleWrapper extends GenericObjectWrapper<WellSampleData>
-
-
Field Summary
-
Fields inherited from class fr.igred.omero.GenericObjectWrapper
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 WellSampleDataasWellSampleData()ImageWrappergetImage()Returns the image related to that sample if any.LengthgetPositionX(omero.model.enums.UnitsLength unit)Returns the position X.LengthgetPositionY(omero.model.enums.UnitsLength unit)Returns the position Y.longgetStartTime()Returns the time at which the field was acquired.voidsetImage(ImageWrapper image)Sets the image linked to this well sample.-
Methods inherited from class fr.igred.omero.GenericObjectWrapper
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
-
-
-
-
Constructor Detail
-
WellSampleWrapper
public WellSampleWrapper(WellSampleData wellSample)
Constructor of the class WellSampleWrapper.- Parameters:
wellSample- The well sample contained in the WellSampleWrapper.
-
-
Method Detail
-
asWellSampleData
public WellSampleData asWellSampleData()
- Returns:
- the WellSampleData contained.
-
getImage
public ImageWrapper getImage()
Returns the image related to that sample if any.- Returns:
- See above.
-
setImage
public void setImage(ImageWrapper image)
Sets the image linked to this well sample.- Parameters:
image- The image to set.
-
getPositionX
public Length getPositionX(omero.model.enums.UnitsLength unit) throws BigResult
Returns the position X.- Parameters:
unit- The unit (may 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.- Parameters:
unit- The unit (may 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.
-
-