com.beasys.commerce.ebusiness.order
Class OrderPk

java.lang.Object
  extended by com.beasys.commerce.foundation.SmartKey
      extended by com.beasys.commerce.ebusiness.order.OrderPk
All Implemented Interfaces
Serializable, Comparable

Deprecated

@Deprecated
public class OrderPk
extends SmartKey
implements Serializable

This is a PrimaryKey for managing the life cycle of the Order entity. It is derived from SmartKey which requires that the classes be serializable and comparable.

See Also
Serialized Form

Field Summary
 String identifier
          Deprecated Identifier.
 
Constructor Summary
OrderPk()
          Deprecated Default constructor.
OrderPk(String identifier)
          Deprecated Constructs a primary key with the specified identifier.
 
Method Summary
 int compareTo(Object o)
          Deprecated Implements the compareTo method.
 String getIdentifier()
          Deprecated Returns the identifier
 int hashCode()
          Deprecated Overrides the hashCode() method
 String toString()
          Deprecated Returns the stringified version of the key class.
 
Methods inherited from class com.beasys.commerce.foundation.SmartKey
equals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

identifier

public String identifier
Deprecated 
Identifier. Represents the primary key.

Constructor Detail

OrderPk

public OrderPk()
Deprecated 
Default constructor.


OrderPk

public OrderPk(String identifier)
Deprecated 
Constructs a primary key with the specified identifier.

Parameters
identifier - Primary key
Method Detail

compareTo

public int compareTo(Object o)
Deprecated 
Implements the compareTo method. The following conditions hold true:
   (a > b) ==> (b < a)
   (a < b) ==> (b > a)
   (a = b) ==> (b = a)
 

Specified by:
compareTo in interface Comparable
Specified by:
compareTo in class SmartKey
Parameters
o - the Object to be compared.
Returns
a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

toString

public String toString()
Deprecated 
Returns the stringified version of the key class.

Overrides:
toString in class SmartKey
Returns
Stringified version of the primary key

hashCode

public int hashCode()
Deprecated 
Overrides the hashCode() method

Overrides:
hashCode in class Object

getIdentifier

public String getIdentifier()
Deprecated 
Returns the identifier

Returns
identifier


Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.