BEA Systems, Inc.

examples.buybeans.item
Class CoffeeBeanPk

java.lang.Object
  |
  +--theory.smart.foundation.SmartKey
        |
        +--theory.smart.ebusiness.item.ItemPk
              |
              +--examples.buybeans.item.BasicBeanPk
                    |
                    +--examples.buybeans.item.CoffeeBeanPk

public class CoffeeBeanPk
extends BasicBeanPk
implements java.io.Serializable

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.

See Also:
Serialized Form

Fields inherited from class theory.smart.ebusiness.item.ItemPk
identifier, supplier, version
 
Constructor Summary
CoffeeBeanPk()
          Default constructor.
 
Method Summary
 int compareTo(java.lang.Object o)
          Implements the compareTo method.
 java.lang.String toString()
          Returns the stringified version of the key class.
 
Methods inherited from class theory.smart.ebusiness.item.ItemPk
hashCode
 
Methods inherited from class theory.smart.foundation.SmartKey
equals
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoffeeBeanPk

public CoffeeBeanPk()
Default constructor.
Method Detail

compareTo

public int compareTo(java.lang.Object o)
Implements the compareTo method. The following conditions hold true:
   (a > b) ==> (b < a)
   (a < b) ==> (b > a)
   (a = b) ==> (b = a)
 
Overrides:
compareTo in class BasicBeanPk

toString

public java.lang.String toString()
Returns the stringified version of the key class.
Overrides:
toString in class BasicBeanPk

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved