com.bankframe.ei.txnhandler.transactionresponse.metadata
Class MetaDataImplt

java.lang.Object
  extended by com.bankframe.ei.txnhandler.transactionresponse.metadata.MetaDataImplt
All Implemented Interfaces:
MetaData, EEntityRemote, Remote, EJBObject

public class MetaDataImplt
extends Object
implements MetaData

This class serves as a lightweight proxy representation of a Transaction Response MetaData for caching purposes.


Field Summary
 String dataPacketField
           
 int dataPacketIndex
           
 String dataPacketName
           
 String dataPacketPrimaryKeyField
           
 String defaultValue
           
 String txnCode
           
 String txnFieldName
           
 String txnType
           
 
Constructor Summary
MetaDataImplt(String txnCode, String txnType, String dataPacketName, String dataPacketField, int dataPacketIndex, String dataPacketPrimaryKeyField, String txnFieldName, String defaultValue)
          MetaDataImpl constructor
 
Method Summary
 String getDataPacketField()
          This method returns the DataPacket Field
 int getDataPacketIndex()
          This method returns the DataPacket Index
 String getDataPacketName()
          This method returns the DataPacket name
 String getDataPacketPrimaryKeyField()
          This method returns the DataPacket PrimaryKey Field
 String getDefaultValue()
          This method returns the defaultValue
 EJBHome getEJBHome()
          This method gets the EJB Home interface
 Handle getHandle()
          This method gets the EJB handle
 Object getPrimaryKey()
          This method gets the Destination PrimaryKey
 String getTxnCode()
          This method returns this transaction's code
 String getTxnFieldName()
          This method returns the txn FieldName that this error uses
 String getTxnType()
          This method returns this transaction's type
 boolean isIdentical(EJBObject param1)
          This method determines if EJB objects identical
 void remove()
          This method does nothing
 DataPacket toDataPacket()
          This method converts transaction response metadata to DataPacket
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

txnCode

public String txnCode

txnType

public String txnType

dataPacketName

public String dataPacketName

dataPacketField

public String dataPacketField

dataPacketIndex

public int dataPacketIndex

dataPacketPrimaryKeyField

public String dataPacketPrimaryKeyField

txnFieldName

public String txnFieldName

defaultValue

public String defaultValue
Constructor Detail

MetaDataImplt

public MetaDataImplt(String txnCode,
                     String txnType,
                     String dataPacketName,
                     String dataPacketField,
                     int dataPacketIndex,
                     String dataPacketPrimaryKeyField,
                     String txnFieldName,
                     String defaultValue)
MetaDataImpl constructor

Parameters:
txnCode - Transaction Code
txnType - Transaction Type
dataPacketName - DataPacket name
dataPacketField - DataPacket field
dataPacketIndex - DataPacket Index
dataPacketPrimaryKeyField - indicates if field is PK in DataPacket
txnFieldName - indicates the txn field this meta-data maps to
defaultValue -
Method Detail

getEJBHome

public EJBHome getEJBHome()
                   throws RemoteException
This method gets the EJB Home interface

Specified by:
getEJBHome in interface EJBObject
Returns:
null
Throws:
RemoteException

getHandle

public Handle getHandle()
                 throws RemoteException
This method gets the EJB handle

Specified by:
getHandle in interface EJBObject
Returns:
null
Throws:
RemoteException

getPrimaryKey

public Object getPrimaryKey()
                     throws RemoteException
This method gets the Destination PrimaryKey

Specified by:
getPrimaryKey in interface EJBObject
Returns:
null
Throws:
RemoteException

getTxnCode

public String getTxnCode()
This method returns this transaction's code

Specified by:
getTxnCode in interface MetaData
Returns:
transaction code

getTxnType

public String getTxnType()
This method returns this transaction's type

Specified by:
getTxnType in interface MetaData
Returns:
transaction type

getDataPacketName

public String getDataPacketName()
This method returns the DataPacket name

Specified by:
getDataPacketName in interface MetaData
Returns:
DataPacket Name

getDataPacketField

public String getDataPacketField()
This method returns the DataPacket Field

Specified by:
getDataPacketField in interface MetaData
Returns:
DataPacket Field

getDataPacketIndex

public int getDataPacketIndex()
This method returns the DataPacket Index

Specified by:
getDataPacketIndex in interface MetaData
Returns:
DataPacket Index

getDataPacketPrimaryKeyField

public String getDataPacketPrimaryKeyField()
This method returns the DataPacket PrimaryKey Field

Specified by:
getDataPacketPrimaryKeyField in interface MetaData
Returns:
DataPacket PrimaryKey Field

getTxnFieldName

public String getTxnFieldName()
This method returns the txn FieldName that this error uses

Specified by:
getTxnFieldName in interface MetaData
Returns:
transaction type

getDefaultValue

public String getDefaultValue()
This method returns the defaultValue

Specified by:
getDefaultValue in interface MetaData
Returns:
defaultValue

isIdentical

public boolean isIdentical(EJBObject param1)
                    throws RemoteException
This method determines if EJB objects identical

Specified by:
isIdentical in interface EJBObject
Returns:
false
Throws:
RemoteException

remove

public void remove()
            throws RemoteException,
                   RemoveException
This method does nothing

Specified by:
remove in interface EJBObject
Throws:
RemoteException
RemoveException

toDataPacket

public DataPacket toDataPacket()
This method converts transaction response metadata to DataPacket

Specified by:
toDataPacket in interface MetaData
Specified by:
toDataPacket in interface EEntityRemote
Returns:
DataPacket containing transaction error condition data


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