PaymentTransactionPk Class

com.beasys.commerce.ebusiness.payment
PaymentTransactionPk Class

public class PaymentTransactionPk

    extends SmartKey
    implements Serializable

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


Hierarchy
Object
  SmartKey
    PaymentTransactionPk
All Implemented Interfaces

Comparable, Serializable

Field Summary

public String
transactionId
String
 

Constructor Summary

PaymentTransactionPk()

Default constructor.
PaymentTransactionPk(String transactionId)

Constructor that takes the transaction identifier.
 

Method Summary

public int
compareTo(Object o)
Implements the compareTo method.
public int
hashCode()
override the hashCode() method
public String
toString()
Returns the stringified version of the key class.
 
Methods from  com.beasys.commerce.foundation.SmartKey
equals,
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface java.lang.Comparable
compareTo
 

Field Detail

transactionId

public String transactionId

 

Constructor Detail

PaymentTransactionPk

public PaymentTransactionPk()
Default constructor.

PaymentTransactionPk

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

Method Detail

compareTo(Object) Method

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)
 

Overrides
SmartKey.compareTo(Object)

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() Method

public int hashCode()
override the hashCode() method

Overrides
Object.hashCode()

toString() Method

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

Overrides
SmartKey.toString()

Returns

A String representation of the SmartKey.