|
© 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
For each Entity there must be a primary key class derived from SmartKey. Implementing SmartKey requires that the classes be serializable and comparable.
Entity,
Serialized Form| Constructor Summary | |
SmartKey()
Default constructor. |
|
| Method Summary | |
abstract int |
compareTo(Object o)
Compares a given object with this SmartKey. |
boolean |
equals(Object o)
Indicates whether some other Object is equivalent to this SmartKey. |
String |
toString()
Returns a String representation of the SmartKey. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SmartKey()
| Method Detail |
public abstract int compareTo(Object o)
compareTo in interface Comparableo - the Object to be compared.
ClastCastException - if the specified object's type prevents it from
being compared with this SmartKey.public boolean equals(Object o)
o - the Object to be compared.
true if the supplied Object is equivalent,
false otherwise.public String toString()
String representation of the 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 | |||||||||