|
© 2004 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.shipping.ShippingMethodPk
This is a PrimaryKey for managing the life cycle of a BSC Configurable/Entity bean. It is derived from SmartKey which requires that the classes be serializable and comparable. This class is generated by Theory Center's SmartGenartor.
Field Summary | |
String |
identifier
|
Constructor Summary | |
ShippingMethodPk()
Default constructor. |
|
ShippingMethodPk(String identifier)
Constructor that takes in all of the primary key attributes as parameters. |
Method Summary | |
int |
compareTo(Object o)
Implements the compareTo method. |
int |
hashCode()
override 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 ShippingMethodPk()
public ShippingMethodPk(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 int hashCode()
public String toString()
toString
in class SmartKey
String
representation of the SmartKey.
|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |