BEA Systems, Inc.

com.beasys.commerce.foundation
Class SmartKey

java.lang.Object
  |
  +--com.beasys.commerce.foundation.SmartKey
Direct Known Subclasses:
ContentPk, EmptySmartKey, GroupPk, SchemaPk, UserPk

public abstract class SmartKey
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable

For each BSC Entity there must be a primary key class derived from SmartKey. Implementing SmartKey requires that the classes be serializable and comparable. This ensures that the SmartHandle mechanism is supported.

See Also:
com.beasys.commerce.foundation.SmartHandle, Entity, Serialized Form

Constructor Summary
SmartKey()
           
 
Method Summary
abstract  int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SmartKey

public SmartKey()
Method Detail

compareTo

public abstract int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved