com.bankframe.ei.txnhandler.impl.responseindex
Class ResponseIndexPK

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

public class ResponseIndexPK
extends java.lang.Object
implements EPrimaryKey

This is the primaryKey class of the ResponseIndex EJB.

See Also:
Serialized Form

Field Summary
 java.lang.String indexName
           
 java.lang.String txnCode
           
 java.lang.String txnType
           
 
Fields inherited from interface com.bankframe.ejb.EPrimaryKey
serialVersionUID
 
Constructor Summary
ResponseIndexPK()
          Default constructor
ResponseIndexPK(java.lang.String txnCode, java.lang.String txnType, java.lang.String indexName)
          Initialize a key from the passed values
 
Method Summary
 boolean equals(java.lang.Object o)
          equals method
 int hashCode()
          hashCode method
 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

indexName

public java.lang.String indexName
Constructor Detail

ResponseIndexPK

public ResponseIndexPK()
Default constructor


ResponseIndexPK

public ResponseIndexPK(java.lang.String txnCode,
                       java.lang.String txnType,
                       java.lang.String indexName)
Initialize a key from the passed values

Parameters:
txnCode -
txnType -
Method Detail

equals

public boolean equals(java.lang.Object o)
equals method

Specified by:
equals in interface EPrimaryKey
Parameters:
o -
Returns:
boolean

hashCode

public int hashCode()
hashCode method

Specified by:
hashCode in interface EPrimaryKey
Returns:
int

toDataPacket

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

Specified by:
toDataPacket in interface EPrimaryKey
Returns:
a DataPacket with the name RESPONSE_INDEX and the keys
  • TXN_CODE
  • TXN_TYPE
  • INDEX_NAME


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