|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ejb.EEntityBean com.bankframe.ei.txnhandler.transactionresponse.errorcondition.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 | |
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 |
public java.lang.String txnCode
public java.lang.String txnType
public int sequence
public java.lang.String txnFieldName
public java.lang.String condition
public java.lang.String value
public java.lang.String combineNext
public java.lang.String errorTxnCode
public java.lang.String errorTxnType
Constructor Detail |
public TransactionErrorConditionBean()
Method Detail |
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
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
javax.ejb.CreateException
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
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
javax.ejb.CreateException
public java.lang.String getTxnCode()
public java.lang.String getTxnType()
public int getSequence()
public java.lang.String getTxnFieldName()
public java.lang.String getCondition()
public java.lang.String getValue()
public java.lang.String getCombineNext()
public java.lang.String getErrorTxnCode()
public java.lang.String getErrorTxnType()
public boolean isModified()
public void setTxnCode(java.lang.String newValue)
newValue
- new transaction codepublic void setTxnType(java.lang.String newValue)
newValue
- New transaction typepublic void setSequence(int newValue)
public void setTxnFieldName(java.lang.String txnFieldName)
txnFieldName
- new txn field namepublic void setCondition(java.lang.String condition)
public void setValue(java.lang.String value)
public void setCombineNext(java.lang.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 |