com.bankframe.ei.txnhandler.impl.persistertxnmap
Class PersisterTxnMapPK

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

public class PersisterTxnMapPK
extends java.lang.Object
implements EPrimaryKey

This is the primaryKey class of the PersisterTxnMap EJB.

See Also:
Serialized Form

Field Summary
 java.lang.String entityName
           
 java.lang.String methodName
           
 
Fields inherited from interface com.bankframe.ejb.EPrimaryKey
serialVersionUID
 
Constructor Summary
PersisterTxnMapPK()
          Default constructor
PersisterTxnMapPK(java.lang.String entityName, java.lang.String methodName)
          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

methodName

public java.lang.String methodName

entityName

public java.lang.String entityName
Constructor Detail

PersisterTxnMapPK

public PersisterTxnMapPK()
Default constructor


PersisterTxnMapPK

public PersisterTxnMapPK(java.lang.String entityName,
                         java.lang.String methodName)
Initialize a key from the passed values

Parameters:
entityName -
methodName -
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 PERSISTER_TXN_MAP and the keys
  • ENTITY_NAME
  • METHOD_NAME


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