public class PlateData extends DataObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANNOTATIONS
Identifies the
PlateI.ANNOTATIONLINKS field. |
static int |
ASCENDING_LETTER
Indicates that the column or row is a letter starting from A.
|
static int |
ASCENDING_NUMBER
Indicates that the column or row is a number starting from 1.
|
static int |
DESCENDING_LETTER
Indicates that the column or row is a letter starting from Z or P.
|
static int |
DESCENDING_NUMBER
Indicates that the column or row is a letter starting from 26 or 16.
|
static java.lang.String |
DESCRIPTION
Identifies the
PlateI.DESCRIPTION field. |
static java.lang.String |
NAME
Identifies the
PlateI.NAME field. |
static java.lang.String |
SCREEN_LINKS
Identifies the
PlateI.SCREENLINKS field. |
static java.lang.String |
WELLS
Identifies the
PlateI.WELLS field. |
Constructor and Description |
---|
PlateData()
Creates a new instance.
|
PlateData(omero.model.Plate plate)
Creates a new instance.
|
Modifier and Type | Method and 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.
|
int |
getColumnSequenceIndex()
Returns the index indicating how to label a column.
|
int |
getDefaultSample()
Returns the currently selected field or
0 . |
java.lang.String |
getDescription()
Returns the description of the plate.
|
java.lang.String |
getExternalIdentifier()
Returns the external identifier of the plate.
|
java.lang.String |
getName()
Returns the name of the plate.
|
java.util.Set<PlateAcquisitionData> |
getPlateAcquisitions()
Returns the plate acquisitions related to this plate.
|
java.lang.String |
getPlateType()
Returns the type of plate e.g.
|
int |
getRowSequenceIndex()
Returns the index indicating how to label a row.
|
java.util.Set<ScreenData> |
getScreens()
Returns a set of screens containing the plate.
|
java.lang.String |
getStatus()
Returns the status of the plate.
|
omero.model.Length |
getWellOriginX(omero.model.enums.UnitsLength unit)
Returns the x-coordinate in 2D-space of the well.
|
omero.model.Length |
getWellOriginY(omero.model.enums.UnitsLength unit)
Returns the y-coordinate in 2D-space of the well.
|
void |
setDefaultSample(int value)
Sets the default sample.
|
void |
setDescription(java.lang.String description)
Sets the description of the plate.
|
void |
setExternalIdentifier(java.lang.String value)
Sets the external identifier.
|
void |
setName(java.lang.String name)
Sets the name of the plate.
|
void |
setPlateAcquisition(java.util.Set<PlateAcquisitionData> value)
Sets the plate acquisition linked to the plate.
|
void |
setScreens(java.util.Set<ScreenData> value)
Sets the screens containing the plate.
|
void |
setStatus(java.lang.String value)
Sets the status.
|
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, 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
public static final int ASCENDING_NUMBER
public static final int ASCENDING_LETTER
public static final int DESCENDING_NUMBER
public static final int DESCENDING_LETTER
public static final java.lang.String NAME
PlateI.NAME
field.public static final java.lang.String DESCRIPTION
PlateI.DESCRIPTION
field.public static final java.lang.String WELLS
PlateI.WELLS
field.public static final java.lang.String SCREEN_LINKS
PlateI.SCREENLINKS
field.public static final java.lang.String ANNOTATIONS
PlateI.ANNOTATIONLINKS
field.public PlateData()
public PlateData(omero.model.Plate plate)
plate
- Back pointer to the Plate
model object. Mustn't be
null
.java.lang.IllegalArgumentException
- If the object is null
.public void setName(java.lang.String name)
name
- The name of the plate. Mustn't be null
.java.lang.IllegalArgumentException
- If the name is null
.public java.lang.String getName()
public void setDescription(java.lang.String description)
description
- The description of the plate.public java.lang.String getDescription()
public java.util.Map<java.lang.Long,java.lang.Long> getAnnotationsCounts()
null
if
no annotation.public java.util.Set<ScreenData> getScreens()
public void setScreens(java.util.Set<ScreenData> value)
value
- The set of screens.public int getColumnSequenceIndex()
public int getRowSequenceIndex()
public int getDefaultSample()
0
.public void setDefaultSample(int value)
value
- The value to set.public java.lang.String getStatus()
public java.lang.String getExternalIdentifier()
public java.lang.String getPlateType()
public omero.model.Length getWellOriginX(omero.model.enums.UnitsLength unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic omero.model.Length getWellOriginY(omero.model.enums.UnitsLength unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic java.util.Set<PlateAcquisitionData> getPlateAcquisitions()
public void setPlateAcquisition(java.util.Set<PlateAcquisitionData> value)
value
- The set of plate acquisitions.public void setExternalIdentifier(java.lang.String value)
value
- The value to set.public void setStatus(java.lang.String value)
value
- The value to set.