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