Package omero.gateway.model
Class PlateData
- java.lang.Object
-
- omero.gateway.model.DataObject
-
- omero.gateway.model.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 Summary
Fields Modifier and Type Field Description static java.lang.StringANNOTATIONSIdentifies thePlateI.ANNOTATIONLINKSfield.static intASCENDING_LETTERIndicates that the column or row is a letter starting from A.static intASCENDING_NUMBERIndicates that the column or row is a number starting from 1.static intDESCENDING_LETTERIndicates that the column or row is a letter starting from Z or P.static intDESCENDING_NUMBERIndicates that the column or row is a letter starting from 26 or 16.static java.lang.StringDESCRIPTIONIdentifies thePlateI.DESCRIPTIONfield.static java.lang.StringNAMEIdentifies thePlateI.NAMEfield.static java.lang.StringSCREEN_LINKSIdentifies thePlateI.SCREENLINKSfield.static java.lang.StringWELLSIdentifies thePlateI.WELLSfield.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.intgetColumnSequenceIndex()Returns the index indicating how to label a column.intgetDefaultSample()Returns the currently selected field or0.java.lang.StringgetDescription()Returns the description of the plate.java.lang.StringgetExternalIdentifier()Returns the external identifier of the plate.java.lang.StringgetName()Returns the name of the plate.java.util.Set<PlateAcquisitionData>getPlateAcquisitions()Returns the plate acquisitions related to this plate.java.lang.StringgetPlateType()Returns the type of plate e.g.intgetRowSequenceIndex()Returns the index indicating how to label a row.java.util.Set<ScreenData>getScreens()Returns a set of screens containing the plate.java.lang.StringgetStatus()Returns the status of the plate.omero.model.LengthgetWellOriginX(omero.model.enums.UnitsLength unit)Returns the x-coordinate in 2D-space of the well.omero.model.LengthgetWellOriginY(omero.model.enums.UnitsLength unit)Returns the y-coordinate in 2D-space of the well.java.util.Set<WellData>getWells()voidsetDefaultSample(int value)Sets the default sample.voidsetDescription(java.lang.String description)Sets the description of the plate.voidsetExternalIdentifier(java.lang.String value)Sets the external identifier.voidsetName(java.lang.String name)Sets the name of the plate.voidsetPlateAcquisition(java.util.Set<PlateAcquisitionData> value)Sets the plate acquisition linked to the plate.voidsetScreens(java.util.Set<ScreenData> value)Sets the screens containing the plate.voidsetStatus(java.lang.String value)Sets the status.-
Methods inherited from class omero.gateway.model.DataObject
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlaneInfo, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
-
-
-
-
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 thePlateI.NAMEfield.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Identifies thePlateI.DESCRIPTIONfield.- See Also:
- Constant Field Values
-
WELLS
public static final java.lang.String WELLS
Identifies thePlateI.WELLSfield.- See Also:
- Constant Field Values
-
SCREEN_LINKS
public static final java.lang.String SCREEN_LINKS
Identifies thePlateI.SCREENLINKSfield.- See Also:
- Constant Field Values
-
ANNOTATIONS
public static final java.lang.String ANNOTATIONS
Identifies thePlateI.ANNOTATIONLINKSfield.- See Also:
- Constant Field Values
-
-
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 benull.- Throws:
java.lang.IllegalArgumentException- If the name isnull.
-
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 benullif 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 or0.- 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.BigResultReturns 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.BigResultReturns 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.
-
-