Class PlateData


  • public class PlateData
    extends DataObject
    The data that makes up an OME Plate along with links to its contained Well and enclosing Screen as well as the Experimenter that owns this Plate.
    Since:
    3.0-Beta3
    • Field Detail

      • ASCENDING_NUMBER

        public static final int ASCENDING_NUMBER
        Indicates that the column or row is a number starting from 1.
        See Also:
        Constant Field Values
      • ASCENDING_LETTER

        public static final int ASCENDING_LETTER
        Indicates that the column or row is a letter starting from A.
        See Also:
        Constant Field Values
      • DESCENDING_NUMBER

        public static final int DESCENDING_NUMBER
        Indicates that the column or row is a letter starting from 26 or 16.
        See Also:
        Constant Field Values
      • DESCENDING_LETTER

        public static final int DESCENDING_LETTER
        Indicates that the column or row is a letter starting from Z or P.
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Identifies the PlateI.NAME field.
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Identifies the PlateI.DESCRIPTION field.
        See Also:
        Constant Field Values
      • WELLS

        public static final java.lang.String WELLS
        Identifies the PlateI.WELLS field.
        See Also:
        Constant Field Values
      • SCREEN_LINKS

        public static final java.lang.String SCREEN_LINKS
        Identifies the PlateI.SCREENLINKS field.
        See Also:
        Constant Field Values
      • ANNOTATIONS

        public static final java.lang.String ANNOTATIONS
        Identifies the PlateI.ANNOTATIONLINKS field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PlateData

        public PlateData()
        Creates a new instance.
      • PlateData

        public PlateData​(omero.model.Plate plate)
        Creates a new instance.
        Parameters:
        plate - Back pointer to the Plate model object. Mustn't be null.
        Throws:
        java.lang.IllegalArgumentException - If the object is null.
    • Method Detail

      • getWells

        public java.util.Set<WellData> getWells()
      • setName

        public void setName​(java.lang.String name)
        Sets the name of the plate.
        Parameters:
        name - The name of the plate. Mustn't be null.
        Throws:
        java.lang.IllegalArgumentException - If the name is null.
      • getName

        public java.lang.String getName()
        Returns the name of the plate.
        Returns:
        See above.
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the description of the plate.
        Parameters:
        description - The description of the plate.
      • getDescription

        public java.lang.String getDescription()
        Returns the description of the plate.
        Returns:
        See above.
      • getAnnotationsCounts

        public java.util.Map<java.lang.Long,​java.lang.Long> getAnnotationsCounts()
        Returns the number of annotations linked to the object, key: id of the user, value: number of annotation. The map may be null if no annotation.
        Returns:
        See above.
      • getScreens

        public java.util.Set<ScreenData> getScreens()
        Returns a set of screens containing the plate.
        Returns:
        See above.
      • setScreens

        public void setScreens​(java.util.Set<ScreenData> value)
        Sets the screens containing the plate.
        Parameters:
        value - The set of screens.
      • getColumnSequenceIndex

        public int getColumnSequenceIndex()
        Returns the index indicating how to label a column.
        Returns:
        See above.
      • getRowSequenceIndex

        public int getRowSequenceIndex()
        Returns the index indicating how to label a row.
        Returns:
        See above.
      • getDefaultSample

        public int getDefaultSample()
        Returns the currently selected field or 0.
        Returns:
        See above.
      • setDefaultSample

        public void setDefaultSample​(int value)
        Sets the default sample.
        Parameters:
        value - The value to set.
      • getStatus

        public java.lang.String getStatus()
        Returns the status of the plate.
        Returns:
        See above.
      • getExternalIdentifier

        public java.lang.String getExternalIdentifier()
        Returns the external identifier of the plate.
        Returns:
        See above.
      • getPlateType

        public java.lang.String getPlateType()
        Returns the type of plate e.g. A 384-Well Plate, 96-Well Plate.
        Returns:
        See above.
      • getWellOriginX

        public omero.model.Length getWellOriginX​(omero.model.enums.UnitsLength unit)
                                          throws ome.model.units.BigResult
        Returns the x-coordinate in 2D-space of the well.
        Parameters:
        unit - The unit (may be null, in which case no conversion will be performed)
        Returns:
        See above
        Throws:
        ome.model.units.BigResult - If an arithmetic under-/overflow occurred
      • getWellOriginY

        public omero.model.Length getWellOriginY​(omero.model.enums.UnitsLength unit)
                                          throws ome.model.units.BigResult
        Returns the y-coordinate in 2D-space of the well.
        Parameters:
        unit - The unit (may be null, in which case no conversion will be performed)
        Returns:
        See above
        Throws:
        ome.model.units.BigResult - If an arithmetic under-/overflow occurred
      • getPlateAcquisitions

        public java.util.Set<PlateAcquisitionData> getPlateAcquisitions()
        Returns the plate acquisitions related to this plate.
        Returns:
        See above.
      • setPlateAcquisition

        public void setPlateAcquisition​(java.util.Set<PlateAcquisitionData> value)
        Sets the plate acquisition linked to the plate.
        Parameters:
        value - The set of plate acquisitions.
      • setExternalIdentifier

        public void setExternalIdentifier​(java.lang.String value)
        Sets the external identifier.
        Parameters:
        value - The value to set.
      • setStatus

        public void setStatus​(java.lang.String value)
        Sets the status.
        Parameters:
        value - The value to set.