|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.OperationStep
com.ibm.btt.base.CompareAssertion
@ATTR(value={"onTrue#String#IMPLIED","onFalse#String#IMPLIED","dataElementA#String#IMPLIED","dataElementB#String#IMPLIED","operator#String#IMPLIED"}) public class CompareAssertion
This class compares the values of two data elements.
Field Summary |
---|
Fields inherited from class com.ibm.btt.base.OperationStep |
---|
RC_ERROR, RC_OK |
Constructor Summary | |
---|---|
CompareAssertion()
|
Method Summary | |
---|---|
protected int |
compareDouble(java.lang.Double d1,
java.lang.Double d2,
java.lang.String operator)
Compares the values of two doubles. |
protected int |
compareFloat(java.lang.Float f1,
java.lang.Float f2,
java.lang.String operator)
Compares the values of two floats. |
protected int |
compareInt(java.lang.Integer i1,
java.lang.Integer i2,
java.lang.String operator)
Compares the values of two integers. |
protected int |
compareLong(java.lang.Long l1,
java.lang.Long l2,
java.lang.String operator)
Compares the values of two longs. |
protected int |
compareString(java.lang.String s1,
java.lang.String s2,
java.lang.String operator)
Compares the values of two strings. |
int |
execute()
Compares the values of two data elements. |
Methods inherited from class com.ibm.btt.base.OperationStep |
---|
addElement, getApplicationId, getContext, getElementAt, getFormat, getFormats, getKeyedCollection, getName, getOperation, getParams, getParent, getService, getValueAt, postExecute, preExecute, removeAt, setApplicationId, setContext, setKeyedCollection, setName, setOperation, setParams, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompareAssertion()
Method Detail |
---|
protected int compareDouble(java.lang.Double d1, java.lang.Double d2, java.lang.String operator) throws java.lang.Exception
d1
- java.lang.Double - the compared objectd2
- java.lang.Double - the compared objectoperator
- java.lang.String - the compare operator
java.lang.Exception.
java.lang.Exception
protected int compareFloat(java.lang.Float f1, java.lang.Float f2, java.lang.String operator) throws java.lang.Exception
f1
- java.lang.Float - the compared objectf2
- java.lang.Float - the compared objectoperator
- java.lang.String - the compare operator
java.lang.Exception.
java.lang.Exception
protected int compareInt(java.lang.Integer i1, java.lang.Integer i2, java.lang.String operator) throws java.lang.Exception
i1
- java.lang.Integer - the compared objecti2
- java.lang.Integer - the compared objectoperator
- java.lang.String - the compare operator
java.lang.Exception.
java.lang.Exception
protected int compareLong(java.lang.Long l1, java.lang.Long l2, java.lang.String operator) throws java.lang.Exception
l1
- java.lang.Long - the compared objectl2
- java.lang.Long - the compared objectoperator
- java.lang.String - the compare operator
java.lang.Exception.
java.lang.Exception
protected int compareString(java.lang.String s1, java.lang.String s2, java.lang.String operator) throws java.lang.Exception
s1
- java.lang.String - the compared objects2
- java.lang.String - the compared objectoperator
- java.lang.String - the compare operator
java.lang.Exception.
java.lang.Exception
public int execute() throws java.lang.Exception
execute
in interface OperationStepInterface
execute
in class OperationStep
java.lang.Exception.
java.lang.Exception
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |