|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.data.MappingCoordinate
public class MappingCoordinate
This class defines a mapping coordinate, which is a triplet of
plate number, row and column. A 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
,
Array LIMS - Plates overview,
Serialized FormField Summary | |
---|---|
private int |
column
The column number. |
private int |
plate
The plate number. |
private int |
row
The row number. |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
MappingCoordinate()
Create new object. |
|
MappingCoordinate(int plate,
int row,
int column)
Create new MappingCoordinate with the specified plate, row and column. |
Method Summary | |
---|---|
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] |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private int plate
private int row
private int column
Constructor Detail |
---|
MappingCoordinate()
public MappingCoordinate(int plate, int row, int column)
MappingCoordinate
with the specified plate, row and column.
Method Detail |
---|
public final boolean equals(Object o)
MappingCoordinate
object. They are equal if both have the same plate, row and column.
equals
in class Object
public final int hashCode()
hashCode
in class Object
public final String toString()
toString
in class Object
public int getPlate()
void setPlate(int plate)
public int getRow()
void setRow(int row)
public int getColumn()
void setColumn(int column)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |