com.bankframe.ei.txnhandler.transactionresponse.errorcondition
Class TransactionErrorConditionBean

java.lang.Object
  extended bycom.bankframe.ejb.EEntityBean
      extended bycom.bankframe.ei.txnhandler.transactionresponse.errorcondition.TransactionErrorConditionBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

public class TransactionErrorConditionBean
extends EEntityBean

This class is the Transaction Error-Conditions Entity Bean which maintains error condition tests for transactions. The Transaction Handler uses this entity to check host system transaction responses for errors.

See Also:
Serialized Form

Field Summary
 java.lang.String combineNext
           
 java.lang.String condition
           
 java.lang.String errorTxnCode
           
 java.lang.String errorTxnType
           
 int sequence
           
 java.lang.String txnCode
           
 java.lang.String txnFieldName
           
 java.lang.String txnType
           
 java.lang.String value
           
 
Constructor Summary
TransactionErrorConditionBean()
           
 
Method Summary
 TransactionErrorConditionPK ejbCreate(java.lang.String txnCode, java.lang.String txnType, int sequence, java.lang.String txnFieldName, java.lang.String condition, java.lang.String value, java.lang.String combineNext, java.lang.String errorTxnCode, java.lang.String errorTxnType)
          This method initialises TransactionErrorConditionBean
 void ejbPostCreate(java.lang.String txnCode, java.lang.String txnType, int sequence, java.lang.String txnFieldName, java.lang.String condition, java.lang.String value, java.lang.String combineNext, java.lang.String errorTxnCode, java.lang.String errorTxnType)
          This method is the Post Create
 java.lang.String getCombineNext()
          This method returns a string indicating to combine with next error
 java.lang.String getCondition()
          This method returns the condition
 java.lang.String getErrorTxnCode()
          This method returns the transaction code this error will use to process the host system data
 java.lang.String getErrorTxnType()
          This method returns the transaction type this error will use to process the host system data
 int getSequence()
          This method returns the sequence number
 java.lang.String getTxnCode()
          This method returns this transaction's code
 java.lang.String getTxnFieldName()
          This method returns the transaction field name that has this errors value
 java.lang.String getTxnType()
          This method returns this transaction's type
 java.lang.String getValue()
          This method returns the value indicating an error
 boolean isModified()
          checks if this transaction route has been modified
 void setCombineNext(java.lang.String combineNext)
          This method sets the combineNext
 void setCondition(java.lang.String condition)
          This method sets the Condition
 void setSequence(int newValue)
          Set sequence number
 void setTxnCode(java.lang.String newValue)
          Set Transaction Code
 void setTxnFieldName(java.lang.String txnFieldName)
          This method sets the txnFieldName
 void setTxnType(java.lang.String newValue)
          Set transaction type
 void setValue(java.lang.String value)
          This method sets the value
 DataPacket toDataPacket()
          Convert transaction error condition to DataPacket
 
Methods inherited from class com.bankframe.ejb.EEntityBean
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, toString, unsetEntityContext, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

txnCode

public java.lang.String txnCode

txnType

public java.lang.String txnType

sequence

public int sequence

txnFieldName

public java.lang.String txnFieldName

condition

public java.lang.String condition

value

public java.lang.String value

combineNext

public java.lang.String combineNext

errorTxnCode

public java.lang.String errorTxnCode

errorTxnType

public java.lang.String errorTxnType
Constructor Detail

TransactionErrorConditionBean

public TransactionErrorConditionBean()
Method Detail

ejbCreate

public TransactionErrorConditionPK ejbCreate(java.lang.String txnCode,
                                             java.lang.String txnType,
                                             int sequence,
                                             java.lang.String txnFieldName,
                                             java.lang.String condition,
                                             java.lang.String value,
                                             java.lang.String combineNext,
                                             java.lang.String errorTxnCode,
                                             java.lang.String errorTxnType)
                                      throws javax.ejb.CreateException
This method initialises TransactionErrorConditionBean

Parameters:
txnCode - Transaction Code
txnType - Tranasction Type
sequence - is the sequence number for the error-condition
txnFieldName - Transaction Field Name containing error value
condition - Condition for error
value - for error
combineNext - with next error
errorTxnCode - is the txn code that this error will use to process the host system data
errorTxnType - is the txn type that this error will use to process the host system data
Throws:
javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(java.lang.String txnCode,
                          java.lang.String txnType,
                          int sequence,
                          java.lang.String txnFieldName,
                          java.lang.String condition,
                          java.lang.String value,
                          java.lang.String combineNext,
                          java.lang.String errorTxnCode,
                          java.lang.String errorTxnType)
                   throws javax.ejb.CreateException
This method is the Post Create

Parameters:
txnCode - Transaction Code
txnType - Tranasction Type
sequence - is the sequence number for the error-condition
txnFieldName - Transaction Field Name containing error value
condition - Condition for error
value - for error
combineNext - with next error
errorTxnCode - is the txn code that this error will use to process the host system data
errorTxnType - is the txn type that this error will use to process the host system data
Throws:
javax.ejb.CreateException

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

getSequence

public int getSequence()
This method returns the sequence number

Returns:
int sequence number

getTxnFieldName

public java.lang.String getTxnFieldName()
This method returns the transaction field name that has this errors value

Returns:
String Txn FieldName name

getCondition

public java.lang.String getCondition()
This method returns the condition

Returns:
String Data-Format name

getValue

public java.lang.String getValue()
This method returns the value indicating an error

Returns:
String value

getCombineNext

public java.lang.String getCombineNext()
This method returns a string indicating to combine with next error

Returns:
String combine with next

getErrorTxnCode

public java.lang.String getErrorTxnCode()
This method returns the transaction code this error will use to process the host system data

Returns:
transaction code

getErrorTxnType

public java.lang.String getErrorTxnType()
This method returns the transaction type this error will use to process the host system data

Returns:
transaction type

isModified

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

Returns:
true if it has been modified, false otherwise

setTxnCode

public void setTxnCode(java.lang.String newValue)
Set Transaction Code

Parameters:
newValue - new transaction code

setTxnType

public void setTxnType(java.lang.String newValue)
Set transaction type

Parameters:
newValue - New transaction type

setSequence

public void setSequence(int newValue)
Set sequence number


setTxnFieldName

public void setTxnFieldName(java.lang.String txnFieldName)
This method sets the txnFieldName

Parameters:
txnFieldName - new txn field name

setCondition

public void setCondition(java.lang.String condition)
This method sets the Condition


setValue

public void setValue(java.lang.String value)
This method sets the value


setCombineNext

public void setCombineNext(java.lang.String combineNext)
This method sets the combineNext


toDataPacket

public DataPacket toDataPacket()
Convert transaction error condition to DataPacket

Specified by:
toDataPacket in class EEntityBean
Returns:
DataPacket containing transaction error condition data


Copyright © 2004 Siebel Systems, Inc. All rights reserved.