© 2002 BEA Systems, Inc.


com.beasys.commerce.ebusiness.payment
Class PaymentTransactionPk

java.lang.Object
  |
  +--com.beasys.commerce.foundation.SmartKey
        |
        +--com.beasys.commerce.ebusiness.payment.PaymentTransactionPk

public class PaymentTransactionPk
extends SmartKey
implements java.io.Serializable

This is the primary key class for the PaymentTransaction Entity EJB.

See Also:
Serialized Form

Field Summary
 java.lang.String transactionId
           
 
Constructor Summary
PaymentTransactionPk()
          Default constructor.
PaymentTransactionPk(java.lang.String transactionId)
          Constructor that takes the transaction identifier.
 
Method Summary
 int compareTo(java.lang.Object o)
          Implements the compareTo method.
 int hashCode()
          override the hashCode() method
 java.lang.String toString()
          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

transactionId

public java.lang.String transactionId
Constructor Detail

PaymentTransactionPk

public PaymentTransactionPk()
Default constructor.

PaymentTransactionPk

public PaymentTransactionPk(java.lang.String transactionId)
Constructor that takes the transaction identifier.

Parameters:
transactionId - transaction identifier.
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 SmartKey

toString

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

Overrides:
toString in class SmartKey

hashCode

public int hashCode()
override the hashCode() method

Overrides:
hashCode in class java.lang.Object

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved