com.bankframe.ei.txnhandler.impl.transactionroute
Class TransactionRoutePK

java.lang.Object
  extended by com.bankframe.ei.txnhandler.impl.transactionroute.TransactionRoutePK
All Implemented Interfaces:
EPrimaryKey, Serializable

public class TransactionRoutePK
extends Object
implements EPrimaryKey

This class is a Primary Key for TransactoinRoute

See Also:
Serialized Form

Field Summary
 int hostSequenceNumber
           
 String txnCode
           
 String txnType
           
 
Constructor Summary
TransactionRoutePK()
          TxnRoutePK constructor
TransactionRoutePK(String argTxnCode, String argTxnType, int argHostSequenceNumber)
          TxnRoutePK constructor
 
Method Summary
 boolean equals(Object o)
          This method checks if this Primary Key equals another
 int hashCode()
          This method determines the hashcode for this primary key
 DataPacket toDataPacket()
          This method converts this primary-key's values to a DataPacket
 String toString()
          This method converts this primary-key's attributes to human readable form
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

txnCode

public String txnCode

txnType

public String txnType

hostSequenceNumber

public int hostSequenceNumber
Constructor Detail

TransactionRoutePK

public TransactionRoutePK()
TxnRoutePK constructor


TransactionRoutePK

public TransactionRoutePK(String argTxnCode,
                          String argTxnType,
                          int argHostSequenceNumber)
TxnRoutePK constructor

Parameters:
argTxnCode - String
argTxnType - String
argHostSequenceNumber - int
Method Detail

equals

public boolean equals(Object o)
This method checks if this Primary Key equals another

Specified by:
equals in interface EPrimaryKey
Overrides:
equals in class Object
Parameters:
o - java.lang.Object
Returns:
boolean true if Objects equal.

hashCode

public int hashCode()
This method determines the hashcode for this primary key

Specified by:
hashCode in interface EPrimaryKey
Overrides:
hashCode in class Object
Returns:
int hashcode

toDataPacket

public DataPacket toDataPacket()
This method converts this primary-key's values to a DataPacket

Specified by:
toDataPacket in interface EPrimaryKey
Returns:
the DataPacketRepresenation of the primary key

toString

public String toString()
This method converts this primary-key's attributes to human readable form

Specified by:
toString in interface EPrimaryKey
Overrides:
toString in class Object
Returns:
a string representation of the primary key


Copyright © 2005, 2007, Oracle. All rights reserved.