public class PlateCoordinate extends Object implements Serializable
PlateCoordinate
object
is used by a PlateData
to specify the coordinates of wells.
The Serializable
interface must be implemented
because Hibernate requires it if we use it as a map key.PlateData
,
Developer documentation: Array LIMS (plates),
Serialized FormModifier and Type | Field and Description |
---|---|
private int |
column
The column number.
|
private int |
row
The row number.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
PlateCoordinate()
Create new object.
|
PlateCoordinate(int row,
int column)
Create new
PlateCoordinate with the specified row and column. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Check if this object is equal to another
PlateCoordinateData
object. |
int |
getColumn()
Get the column number.
|
int |
getRow()
Get the row number.
|
int |
hashCode()
Calculate the hash code for the object.
|
(package private) void |
setColumn(int column)
Set the location.
|
(package private) void |
setRow(int row)
Set the row number.
|
String |
toString()
Get the coordinate as [row, column]
|
private static final long serialVersionUID
private int row
private int column
PlateCoordinate()
public PlateCoordinate(int row, int column)
PlateCoordinate
with the specified row and column.public final boolean equals(Object o)
PlateCoordinateData
object. They are equal if both have the same plate, row and column.public final int hashCode()
public final String toString()
public int getRow()
void setRow(int row)
public int getColumn()
void setColumn(int column)