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