Class WellSampleWrapper

    • 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 interface WellSample
        Returns:
        See above.
      • setImage

        public void setImage​(Image image)
        Sets the image linked to this well sample.
        Specified by:
        setImage in interface WellSample
        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 interface WellSample
        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 interface WellSample
        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 interface WellSample
        Returns:
        See above.