|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.ejb.EEntityBean
com.bankframe.ei.txnhandler.transactionresponse.errorcondition.TransactionErrorConditionBean
public class TransactionErrorConditionBean
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.
Field Summary | |
---|---|
String |
combineNext
|
String |
condition
|
String |
errorTxnCode
|
String |
errorTxnType
|
int |
sequence
|
String |
txnCode
|
String |
txnFieldName
|
String |
txnType
|
String |
value
|
Constructor Summary | |
---|---|
TransactionErrorConditionBean()
|
Method Summary | |
---|---|
TransactionErrorConditionPK |
ejbCreate(String txnCode,
String txnType,
int sequence,
String txnFieldName,
String condition,
String value,
String combineNext,
String errorTxnCode,
String errorTxnType)
This method initialises TransactionErrorConditionBean |
void |
ejbPostCreate(String txnCode,
String txnType,
int sequence,
String txnFieldName,
String condition,
String value,
String combineNext,
String errorTxnCode,
String errorTxnType)
This method is the Post Create |
String |
getCombineNext()
This method returns a string indicating to combine with next error |
String |
getCondition()
This method returns the condition |
String |
getErrorTxnCode()
This method returns the transaction code this error will use to process the host system data |
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 |
String |
getTxnCode()
This method returns this transaction's code |
String |
getTxnFieldName()
This method returns the transaction field name that has this errors value |
String |
getTxnType()
This method returns this transaction's type |
String |
getValue()
This method returns the value indicating an error |
boolean |
isModified()
checks if this transaction route has been modified |
void |
setCombineNext(String combineNext)
This method sets the combineNext |
void |
setCondition(String condition)
This method sets the Condition |
void |
setSequence(int newValue)
Set sequence number |
void |
setTxnCode(String newValue)
Set Transaction Code |
void |
setTxnFieldName(String txnFieldName)
This method sets the txnFieldName |
void |
setTxnType(String newValue)
Set transaction type |
void |
setValue(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 |
---|
public String txnCode
public String txnType
public int sequence
public String txnFieldName
public String condition
public String value
public String combineNext
public String errorTxnCode
public String errorTxnType
Constructor Detail |
---|
public TransactionErrorConditionBean()
Method Detail |
---|
public TransactionErrorConditionPK ejbCreate(String txnCode, String txnType, int sequence, String txnFieldName, String condition, String value, String combineNext, String errorTxnCode, String errorTxnType) throws CreateException
txnCode
- Transaction CodetxnType
- Tranasction Typesequence
- is the sequence number for the error-conditiontxnFieldName
- Transaction Field Name containing error valuecondition
- Condition for errorvalue
- for errorcombineNext
- with next errorerrorTxnCode
- is the txn code that this error will use to process
the host system dataerrorTxnType
- is the txn type that this error will use to process
the host system data
CreateException
public void ejbPostCreate(String txnCode, String txnType, int sequence, String txnFieldName, String condition, String value, String combineNext, String errorTxnCode, String errorTxnType) throws CreateException
txnCode
- Transaction CodetxnType
- Tranasction Typesequence
- is the sequence number for the error-conditiontxnFieldName
- Transaction Field Name containing error valuecondition
- Condition for errorvalue
- for errorcombineNext
- with next errorerrorTxnCode
- is the txn code that this error will use to process
the host system dataerrorTxnType
- is the txn type that this error will use to process
the host system data
CreateException
public String getTxnCode()
public String getTxnType()
public int getSequence()
public String getTxnFieldName()
public String getCondition()
public String getValue()
public String getCombineNext()
public String getErrorTxnCode()
public String getErrorTxnType()
public boolean isModified()
public void setTxnCode(String newValue)
newValue
- new transaction codepublic void setTxnType(String newValue)
newValue
- New transaction typepublic void setSequence(int newValue)
newValue
- is new sequence numberpublic void setTxnFieldName(String txnFieldName)
txnFieldName
- new txn field namepublic void setCondition(String condition)
public void setValue(String value)
public void setCombineNext(String combineNext)
public DataPacket toDataPacket()
toDataPacket
in class EEntityBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |