Class WellWrapper

    • Field Detail

      • ANNOTATION_LINK

        public static final java.lang.String ANNOTATION_LINK
        Annotation link name for this type of object
        See Also:
        Constant Field Values
    • Constructor Detail

      • WellWrapper

        public WellWrapper​(WellData well)
        Constructor of the class WellWrapper.
        Parameters:
        well - The WellData contained in the WellWrapper.
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the object name.
        Specified by:
        getName in interface RepositoryObject
        Returns:
        See above.
      • getDescription

        public java.lang.String getDescription()
        Gets the object description
        Specified by:
        getDescription in interface RepositoryObject
        Returns:
        See above.
      • getWellSamples

        public java.util.List<WellSample> getWellSamples()
        Returns the well samples linked to the well.
        Specified by:
        getWellSamples in interface Well
        Returns:
        See above.
      • getPlate

        public Plate getPlate()
        Returns the plate containing this Well.
        Specified by:
        getPlate in interface Well
        Returns:
        See above.
      • getColumn

        public java.lang.Integer getColumn()
        Returns the column used to indicate the location of the well on the grid.
        Specified by:
        getColumn in interface Well
        Returns:
        See above.
      • getRow

        public java.lang.Integer getRow()
        Returns the row used to indicate the location of the well on the grid.
        Specified by:
        getRow in interface Well
        Returns:
        See above.
      • getStatus

        public java.lang.String getStatus()
        Returns the status of the well.
        Specified by:
        getStatus in interface Well
        Returns:
        See above.
      • setStatus

        public void setStatus​(java.lang.String status)
        Sets the status of the well.
        Specified by:
        setStatus in interface Well
        Parameters:
        status - The status of the well.
      • getWellType

        public java.lang.String getWellType()
        Returns a human-readable identifier for the screening status e.g. empty, positive control, etc.
        Specified by:
        getWellType in interface Well
        Returns:
        See above.
      • setWellType

        public void setWellType​(java.lang.String type)
        Sets a human-readable identifier for the screening status e.g. empty, positive control, etc.
        Specified by:
        setWellType in interface Well
        Parameters:
        type - The value to set.
      • getRed

        public int getRed()
        Returns the red component of the color associated to the well, or -1.
        Specified by:
        getRed in interface Well
        Returns:
        See above.
      • setRed

        public void setRed​(java.lang.Integer red)
        Sets the red component of the color associated to the well.
        Specified by:
        setRed in interface Well
        Parameters:
        red - The value to set.
      • getGreen

        public int getGreen()
        Returns the green component of the color associated to the well, or -1.
        Specified by:
        getGreen in interface Well
        Returns:
        See above.
      • setGreen

        public void setGreen​(java.lang.Integer green)
        Sets the green component of the color associated to the well.
        Specified by:
        setGreen in interface Well
        Parameters:
        green - The value to set.
      • getBlue

        public int getBlue()
        Returns the blue component of the color associated to the well, or -1.
        Specified by:
        getBlue in interface Well
        Returns:
        See above.
      • setBlue

        public void setBlue​(java.lang.Integer blue)
        Sets the blue component of the color associated to the well.
        Specified by:
        setBlue in interface Well
        Parameters:
        blue - The value to set.
      • getAlpha

        public int getAlpha()
        Returns the alpha component of the color associated to the well, or -1.
        Specified by:
        getAlpha in interface Well
        Returns:
        See above.
      • setAlpha

        public void setAlpha​(java.lang.Integer alpha)
        Sets the alpha component of the color associated to the well.
        Specified by:
        setAlpha in interface Well
        Parameters:
        alpha - The value to set.
      • reload

        public void reload​(Browser browser)
                    throws ServiceException,
                           AccessException,
                           java.util.concurrent.ExecutionException
        Reloads the well from OMERO.
        Specified by:
        reload in interface Well
        Parameters:
        browser - The data browser.
        Throws:
        ServiceException - Cannot connect to OMERO.
        AccessException - Cannot access data.
        java.util.concurrent.ExecutionException - A Facility can't be retrieved or instantiated.