|
© 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
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 FormConstructor Summary | |
SmartKey()
Default constructor. |
Method Summary | |
abstract int |
compareTo(java.lang.Object o)
Compares a given object with this SmartKey. |
boolean |
equals(java.lang.Object o)
Indicates whether some other Object is equivalent to this SmartKey. |
java.lang.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(java.lang.Object o)
o
- the Object to be compared.public boolean equals(java.lang.Object o)
o
- the Object to be compared.true
if the supplied Object is equivalent,
false
otherwise.public java.lang.String toString()
String
representation of the SmartKey.
String
representation of the SmartKey.
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |