|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.foundation.SmartKey
@Deprecated public abstract class 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()
Deprecated Default constructor. |
Method Summary | |
---|---|
abstract int |
compareTo(Object o)
Deprecated Compares a given object with this SmartKey. |
boolean |
equals(Object o)
Deprecated Indicates whether some other Object is equivalent to this SmartKey. |
String |
toString()
Deprecated 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 Comparable
o
- 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)
equals
in class Object
o
- the Object to be compared.
true
if the supplied Object is equivalent,
false
otherwise.public String toString()
String
representation of the SmartKey.
toString
in class Object
String
representation of the SmartKey.
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |