|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.rice.rubis.beans.UserPK
User Primary Key class
Field Summary | |
java.lang.Integer |
id
|
Constructor Summary | |
UserPK()
Creates a new UserPK instance. |
|
UserPK(java.lang.Integer uniqueId)
Creates a new UserPK instance. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Specific equals method. |
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 UserPK()
UserPK
instance.public UserPK(java.lang.Integer uniqueId)
UserPK
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 with
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |