|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.rice.rubis.beans.RegionPK
Region Primary Key class
Field Summary | |
java.lang.Integer |
id
|
Constructor Summary | |
RegionPK()
Creates a new RegionPK instance. |
|
RegionPK(java.lang.Integer uniqueId)
Creates a new RegionPK instance. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Specific equals method. |
java.lang.Integer |
getId()
Get the value of the primary key |
int |
hashCode()
Specific hashCode just returning the id. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.Integer id
Constructor Detail |
public RegionPK()
RegionPK
instance.public RegionPK(java.lang.Integer uniqueId)
RegionPK
instance.uniqueId
- an Integer
valueMethod Detail |
public int hashCode()
hashCode
just returning the id.hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
method.equals
in class java.lang.Object
other
- the Object
to compare withpublic java.lang.Integer getId()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |