com.bankframe.ei.txnhandler.transactionlayout.impl.response
Class ResponseTransactionFieldPK

java.lang.Object
  extended bycom.bankframe.ei.txnhandler.transactionlayout.impl.response.ResponseTransactionFieldPK
All Implemented Interfaces:
EPrimaryKey, java.io.Serializable

public class ResponseTransactionFieldPK
extends java.lang.Object
implements EPrimaryKey

This class is the primary key for the ResponseTransactionField

See Also:
Serialized Form

Field Summary
 java.lang.String fieldName
           
 
Fields inherited from interface com.bankframe.ejb.EPrimaryKey
serialVersionUID
 
Constructor Summary
ResponseTransactionFieldPK()
          Default Constructor
ResponseTransactionFieldPK(java.lang.String fieldName)
          This method initializes a key from the passed values
 
Method Summary
 boolean equals(java.lang.Object o)
          This method determines if this Primary key equals another specified Object
 int hashCode()
          This method caculates the hashCode for the primary key
 DataPacket toDataPacket()
          This method converts this primary-key's values to a DataPacket
 java.lang.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

fieldName

public java.lang.String fieldName
Constructor Detail

ResponseTransactionFieldPK

public ResponseTransactionFieldPK()
Default Constructor


ResponseTransactionFieldPK

public ResponseTransactionFieldPK(java.lang.String fieldName)
This method initializes a key from the passed values

Parameters:
fieldName - java.lang.String
Method Detail

equals

public boolean equals(java.lang.Object o)
This method determines if this Primary key equals another specified Object

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

hashCode

public int hashCode()
This method caculates the hashCode for the 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

toString

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

Specified by:
toString in interface EPrimaryKey


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