com.bankframe.ei.txnhandler.impl.transactionroute
Class TransactionRouteImplt

java.lang.Object
  extended by com.bankframe.ei.txnhandler.impl.transactionroute.TransactionRouteImplt
All Implemented Interfaces:
TransactionRoute, EEntity, Serializable, Remote, EJBObject

public class TransactionRouteImplt
extends Object
implements TransactionRoute

This class serves as a lightweight proxy representation of a TransactionRoute EJB for caching purposes.

See Also:
Serialized Form

Field Summary
 String dataFormat
           
 String destinationId
           
 int hostSequenceNumber
           
 String txnCode
           
 String txnType
           
 
Fields inherited from interface com.bankframe.ei.txnhandler.transactionroute.TransactionRoute
OFFLINE_MODE_FETCHING, OFFLINE_MODE_OFF, OFFLINE_MODE_STORING
 
Fields inherited from interface com.bankframe.ejb.EEntity
serialVersionUID
 
Constructor Summary
TransactionRouteImplt(String txnCode, String txnType, String destinationId, String dataFormat, int hostSequenceNumber)
          This method constructs the proxy object
 
Method Summary
 String getDataFormat()
          This method returns the DataFormat name
 String getDestinationId()
          This method returns the Destination ID
 EJBHome getEJBHome()
          This method gets the EJB Home interface
 Handle getHandle()
          This method gets the EJB handle
 int getHostSequenceNumber()
          This method returns the host sequence number
 Object getPrimaryKey()
          This method gets the Destination PrimaryKey
 String getTxnCode()
          This method returns the transaction code
 String getTxnType()
          This method returns the transaction type
 boolean isIdentical(EJBObject param1)
          This method determines if EJB objects identical
 void remove()
          This method does nothing
 DataPacket toDataPacket()
          This method converts transaction route data 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

destinationId

public String destinationId

dataFormat

public String dataFormat

hostSequenceNumber

public int hostSequenceNumber
Constructor Detail

TransactionRouteImplt

public TransactionRouteImplt(String txnCode,
                             String txnType,
                             String destinationId,
                             String dataFormat,
                             int hostSequenceNumber)
This method constructs the proxy object

Parameters:
txnCode - Transaction Code
txnType - Transaction Type
destinationId - Destination ID
dataFormat - is the DataFormat class
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 the transaction code

Specified by:
getTxnCode in interface TransactionRoute
Returns:
transaction type

getTxnType

public String getTxnType()
This method returns the transaction type

Specified by:
getTxnType in interface TransactionRoute
Returns:
transaction type

getDataFormat

public String getDataFormat()
This method returns the DataFormat name

Specified by:
getDataFormat in interface TransactionRoute
Returns:
DataFormat name as a String

getDestinationId

public String getDestinationId()
This method returns the Destination ID

Specified by:
getDestinationId in interface TransactionRoute
Returns:
Destination ID as a String

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 route data to DataPacket

Specified by:
toDataPacket in interface EEntity
Returns:
DataPacket containing transaction route data

getHostSequenceNumber

public int getHostSequenceNumber()
Description copied from interface: TransactionRoute
This method returns the host sequence number

Specified by:
getHostSequenceNumber in interface TransactionRoute
Returns:
int
See Also:
TransactionRoute.getHostSequenceNumber()


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