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