public ForEachNodeFactory variable(String variableName, DataType dataType) { getForEachNode().setVariable(variableName, dataType); return this; }
protected void handleNode(final Node node, final Element element, final String uri, final String localName, final ExtensibleXmlParser parser) throws SAXException { super.handleNode(node, element, uri, localName, parser); ForEachNode forEachNode = (ForEachNode) node; final String variableName = element.getAttribute("variableName"); if (variableName != null && variableName.length() != 0) { forEachNode.setVariable(variableName, new ObjectDataType()); } final String collectionExpression = element.getAttribute("collectionExpression"); if (collectionExpression != null && collectionExpression.length() != 0) { forEachNode.setCollectionExpression(collectionExpression); } final String waitForCompletion = element.getAttribute("waitForCompletion"); if ("false".equals(waitForCompletion)) { forEachNode.setWaitForCompletion(false); } }
forEachNode.setVariable(variableName, dataType);
actionNode.getId(), Node.CONNECTION_DEFAULT_TYPE, Node.CONNECTION_DEFAULT_TYPE); forEachNode.setVariable("child", personDataType);
forEachNode.setName("ForEach"); forEachNode.setCollectionExpression("collection"); forEachNode.setVariable("variableName", new ObjectDataType()); forEachNode.setWaitForCompletion(false); ActionNode subActionNode1 = new ActionNode();
public ForEachNodeFactory variable(String variableName, DataType dataType) { getForEachNode().setVariable(variableName, dataType); return this; }
protected void handleNode(final Node node, final Element element, final String uri, final String localName, final ExtensibleXmlParser parser) throws SAXException { super.handleNode(node, element, uri, localName, parser); ForEachNode forEachNode = (ForEachNode) node; final String variableName = element.getAttribute("variableName"); if (variableName != null && variableName.length() != 0) { forEachNode.setVariable(variableName, new ObjectDataType()); } final String collectionExpression = element.getAttribute("collectionExpression"); if (collectionExpression != null && collectionExpression.length() != 0) { forEachNode.setCollectionExpression(collectionExpression); } final String waitForCompletion = element.getAttribute("waitForCompletion"); if ("false".equals(waitForCompletion)) { forEachNode.setWaitForCompletion(false); } }
forEachNode.setVariable(variableName, dataType);