com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.impl.errortransaction
Class ErrorTransactionPK

java.lang.Object
  extended bycom.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.impl.errortransaction.ErrorTransactionPK
All Implemented Interfaces:
EPrimaryKey, java.io.Serializable

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

This class defines the primary key attributes of the ErrorTransaction Entity

See Also:
Serialized Form

Field Summary
 int sequenceNumber
           
 
Constructor Summary
ErrorTransactionPK()
          Default Constructor.
ErrorTransactionPK(int argSequenceNumber)
          Constructor taking the Primary Key
 
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 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

sequenceNumber

public int sequenceNumber
Constructor Detail

ErrorTransactionPK

public ErrorTransactionPK()
Default Constructor.


ErrorTransactionPK

public ErrorTransactionPK(int argSequenceNumber)
Constructor taking the Primary Key

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 to a DataPacket.

Specified by:
toDataPacket in interface EPrimaryKey
Returns:
a DataPacket with the name ERROR_TRANSACTION and the key
  • SEQUENCE_NO


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