com.bankframe.ei.txnhandler.impl.transactionidentifier
Class TransactionIdentifierPK

java.lang.Object
  extended bycom.bankframe.ei.txnhandler.impl.transactionidentifier.TransactionIdentifierPK
All Implemented Interfaces:
EPrimaryKey, java.io.Serializable

public class TransactionIdentifierPK
extends java.lang.Object
implements EPrimaryKey, java.io.Serializable

Destination Primary Key

See Also:
Serialized Form

Field Summary
 java.lang.String txnCode
           
 java.lang.String txnType
           
 
Constructor Summary
TransactionIdentifierPK()
          Default constructor.
TransactionIdentifierPK(java.lang.String argTxnCode, java.lang.String argTxnType)
          Constructor
 
Method Summary
 boolean equals(java.lang.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
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bankframe.ejb.EPrimaryKey
toString
 

Field Detail

txnCode

public java.lang.String txnCode

txnType

public java.lang.String txnType
Constructor Detail

TransactionIdentifierPK

public TransactionIdentifierPK()
Default constructor.


TransactionIdentifierPK

public TransactionIdentifierPK(java.lang.String argTxnCode,
                               java.lang.String argTxnType)
Constructor

Method Detail

equals

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

Specified by:
equals in interface EPrimaryKey
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
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


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