com.bankframe.ei.txnhandler.transactionroute
Class TransactionRouteBean

java.lang.Object
  extended bycom.bankframe.ei.txnhandler.transactionroute.TransactionRouteBean
Direct Known Subclasses:
TransactionRouteBean

public abstract class TransactionRouteBean
extends java.lang.Object

This class is the TransactionRouteBean Entity Bean which maintains information on the type of Connector and DataFormat class to use for a specific transaction type


Field Summary
 java.lang.String dataFormat
           
 java.lang.String destinationId
           
 int hostSequenceNumber
           
 java.lang.String txnCode
           
 java.lang.String txnType
           
 
Constructor Summary
TransactionRouteBean()
           
 
Method Summary
 void create(java.lang.String txnCode, java.lang.String txnType, java.lang.String destinationId, java.lang.String dataFormat, int hostSequenceNumber)
          Initialise TransactionRouteBean
 java.lang.String getDataFormat()
          This method returns the Data-Format class name
 void getDataFormat(java.lang.String dataFormat)
          This method sets the Data-Format class name
 java.lang.String getDestinationId()
          This method returns the Data-Format class name
 int getHostSequenceNumber()
          This method will get the host sequence number
 java.lang.String getTxnCode()
          This method returns this transaction's code
 java.lang.String getTxnType()
          This method returns this transaction's type
 boolean isModified()
          This method checks if this transaction route has been modified
 void setDestinationId(java.lang.String newValue)
          This method sets Destination Id
 void setHostSequenceNumber(int newValue)
          This method sets the host sequence number
 void setTxnCode(java.lang.String newValue)
          This method sets Transaction Code
 void setTxnType(java.lang.String newValue)
          This method sets transaction type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

txnCode

public java.lang.String txnCode

txnType

public java.lang.String txnType

destinationId

public java.lang.String destinationId

dataFormat

public java.lang.String dataFormat

hostSequenceNumber

public int hostSequenceNumber
Constructor Detail

TransactionRouteBean

public TransactionRouteBean()
Method Detail

create

public void create(java.lang.String txnCode,
                   java.lang.String txnType,
                   java.lang.String destinationId,
                   java.lang.String dataFormat,
                   int hostSequenceNumber)
            throws javax.ejb.CreateException
Initialise TransactionRouteBean

Parameters:
txnCode - Transaction Code
txnType - Transaction Type
destinationId - Destination ID
dataFormat - is the DataFormat class
Throws:
javax.ejb.CreateException

getDataFormat

public java.lang.String getDataFormat()
This method returns the Data-Format class name

Returns:
String Data-Format name

getDataFormat

public void getDataFormat(java.lang.String dataFormat)
This method sets the Data-Format class name


getDestinationId

public java.lang.String getDestinationId()
This method returns the Data-Format class name

Returns:
String Data-Format name

getTxnCode

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

Returns:
transaction code

getTxnType

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

Returns:
transaction type

isModified

public boolean isModified()
This method checks if this transaction route has been modified

Returns:
true if it has been modified, false otherwise

setDestinationId

public void setDestinationId(java.lang.String newValue)
This method sets Destination Id

Parameters:
newValue - new Destination Id

setTxnCode

public void setTxnCode(java.lang.String newValue)
This method sets Transaction Code

Parameters:
newValue - new transaction code

setTxnType

public void setTxnType(java.lang.String newValue)
This method sets transaction type

Parameters:
newValue - New transaction type

setHostSequenceNumber

public void setHostSequenceNumber(int newValue)
This method sets the host sequence number

Parameters:
newValue -

getHostSequenceNumber

public int getHostSequenceNumber()
This method will get the host sequence number

Returns:
int


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