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