com.beasys.commerce.ebusiness.payment
Class PaymentTransactionPk

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

public class PaymentTransactionPk
extends SmartKey
implements Serializable

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

See Also
Serialized Form

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

PaymentTransactionPk

public PaymentTransactionPk()
Default constructor.


PaymentTransactionPk

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

Parameters
transactionId - transaction identifier.
Method Detail

compareTo

public int compareTo(Object o)
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()
Returns the stringified version of the key class.

Overrides:
toString in class SmartKey
Returns
A String representation of the SmartKey.

hashCode

public int hashCode()
override the hashCode() method

Overrides:
hashCode in class Object


Copyright © 2006 BEA Systems, Inc. All Rights Reserved