|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.SmartKey | +--com.beasys.commerce.ebusiness.order.OrderPk
This is a PrimaryKey for managing the life cycle of the Order entity. It is derived from SmartKey which requires that the classes be serializable and comparable.
Field Summary | |
java.lang.String |
identifier
Identifier. |
Constructor Summary | |
OrderPk()
Default constructor. |
|
OrderPk(java.lang.String identifier)
Constructs a primary key with the specified identifier. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Implements the compareTo method. |
java.lang.String |
getIdentifier()
Returns the identifier |
int |
hashCode()
Overrides the hashCode() method |
java.lang.String |
toString()
Returns the stringified version of the key class. |
Methods inherited from class com.beasys.commerce.foundation.SmartKey |
equals |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public java.lang.String identifier
Constructor Detail |
public OrderPk()
public OrderPk(java.lang.String identifier)
identifier
- Primary keyMethod Detail |
public int compareTo(java.lang.Object o)
(a > b) ==> (b < a) (a < b) ==> (b > a) (a = b) ==> (b = a)
public java.lang.String toString()
public int hashCode()
public java.lang.String getIdentifier()
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |