© 2003 BEA Systems, Inc.

com.beasys.commerce.ebusiness.customer
Class CustomerDelegatePk

java.lang.Object
  |
  +--com.beasys.commerce.foundation.SmartKey
        |
        +--com.beasys.commerce.axiom.contact.ContactPk
              |
              +--com.beasys.commerce.ebusiness.customer.CustomerDelegatePk
All Implemented Interfaces:
Comparable, Serializable

public class CustomerDelegatePk
extends com.beasys.commerce.axiom.contact.ContactPk

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.beasys.commerce.axiom.contact.ContactPk
identifier
 
Constructor Summary
CustomerDelegatePk()
           
CustomerDelegatePk(String identifier)
           
 
Method Summary
 int compareTo(Object o)
          Objects that compare will return 0
 int hashCode()
          override the hashCode() method
 String toString()
          Return identifier
 
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
 

Constructor Detail

CustomerDelegatePk

public CustomerDelegatePk()

CustomerDelegatePk

public CustomerDelegatePk(String identifier)
Method Detail

compareTo

public int compareTo(Object o)
Objects that compare will return 0

Specified by:
compareTo in interface Comparable
Overrides:
compareTo in class com.beasys.commerce.axiom.contact.ContactPk
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.

hashCode

public int hashCode()
override the hashCode() method

Overrides:
hashCode in class com.beasys.commerce.axiom.contact.ContactPk

toString

public String toString()
Return identifier

Overrides:
toString in class com.beasys.commerce.axiom.contact.ContactPk
Returns:
A String representation of the SmartKey.

© 2003 BEA Systems, Inc.

Copyright © 2003 BEA Systems, Inc. All Rights Reserved