IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base
Class NumOfElementsAssertion

java.lang.Object
  extended by com.ibm.btt.base.OperationStep
      extended by com.ibm.btt.base.NumOfElementsAssertion
All Implemented Interfaces:
OperationStepInterface

@ATTR(value={"onTrue#String#IMPLIED","onFalse#String#IMPLIED","dataElement#String#IMPLIED","size#Integer#IMPLIED","operator#String#IMPLIED"})
public class NumOfElementsAssertion
extends OperationStep

This class compares the size of a data element with a given value.


Field Summary
 
Fields inherited from class com.ibm.btt.base.OperationStep
RC_ERROR, RC_OK
 
Constructor Summary
NumOfElementsAssertion()
           
 
Method Summary
 int execute()
          Compares the size of a data element with the size_of_the_data_element operator number.
 
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

NumOfElementsAssertion

public NumOfElementsAssertion()
Method Detail

execute

public int execute()
            throws java.lang.Exception
Compares the size of a data element with the size_of_the_data_element operator number.

Specified by:
execute in interface OperationStepInterface
Specified by:
execute in class OperationStep
Returns:
int - the compare result
Throws:
java.io.IOException.
java.lang.Exception

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010