|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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 | |
String |
identifier
Identifier. |
Constructor Summary | |
OrderPk()
Default constructor. |
|
OrderPk(String identifier)
Constructs a primary key with the specified identifier. |
Method Summary | |
int |
compareTo(Object o)
Implements the compareTo method. |
String |
getIdentifier()
Returns the identifier |
int |
hashCode()
Overrides the hashCode() method |
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 String identifier
Constructor Detail |
public OrderPk()
public OrderPk(String identifier)
Method Detail |
public int compareTo(Object o)
(a > b) ==> (b < a) (a < b) ==> (b > a) (a = b) ==> (b = a)
compareTo
in interface Comparable
compareTo
in class SmartKey
o
- the Object to be compared.
public String getIdentifier()
public int hashCode()
public String toString()
toString
in class SmartKey
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |