public JoinFactory type(int type) { getJoin().setType(type); return this; }
public 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); Join joinNode = (Join) node; String type = element.getAttribute("type"); if (type != null && type.length() != 0 ) { joinNode.setType(new Integer(type)); } String n = element.getAttribute("n"); if (n != null && n.length() != 0 ) { joinNode.setN(n); } }
protected Node createNode(Attributes attrs) { final String type = attrs.getValue("gatewayDirection"); if ("Converging".equals(type)) { Join join = new Join(); join.setType(Join.TYPE_UNDEFINED); return join; } else if ("Diverging".equals(type)) { Split split = new Split(); split.setType(Split.TYPE_UNDEFINED); return split; } else { throw new IllegalArgumentException( "Unknown gateway direction: " + type); } }
protected Node createNode(Attributes attrs) { final String type = attrs.getValue("gatewayDirection"); if ("Converging".equals(type)) { Join join = new Join(); join.setType(Join.TYPE_AND); return join; } else if ("Diverging".equals(type)) { Split split = new Split(); split.setType(Split.TYPE_AND); return split; } else { throw new IllegalArgumentException( "Unknown gateway direction: " + type); } }
protected Node createNode(Attributes attrs) { final String type = attrs.getValue("gatewayDirection"); if ("Converging".equals(type)) { Join join = new Join(); join.setType(Join.TYPE_XOR); return join; } else if ("Diverging".equals(type)) { Split split = new Split(); split.setType(Split.TYPE_XOR); String isDefault = attrs.getValue("default"); split.setMetaData("Default", isDefault); return split; } else { throw new IllegalArgumentException( "Unknown gateway direction: " + type); } }
protected Node createNode(Attributes attrs) { final String type = attrs.getValue("gatewayDirection"); if ("Converging".equals(type)) { Join join = new Join(); join.setType(Join.TYPE_OR); return join; } else if ("Diverging".equals(type)) { Split split = new Split(); split.setType(Split.TYPE_OR); String isDefault = attrs.getValue("default"); split.setMetaData("Default", isDefault); return split; } else { throw new IllegalArgumentException( "Unknown gateway direction: " + type); } }
join.setType(Join.TYPE_AND); join.setId(7); process.addNode(join);
join.setType(Join.TYPE_XOR); join.setId(5); process.addNode(join);
join.setType(Join.TYPE_XOR); compositeNode.addNode(join); new ConnectionImpl(
join.setType(Join.TYPE_AND); join.setId(7); process.addNode(join);
join.setType(Join.TYPE_AND); join.setId(7); process.addNode(join);
join.setMetaData("width", 3); join.setMetaData("height", 4); join.setType(Join.TYPE_N_OF_M); join.setN("#{var1}"); process.addNode(join);
public JoinFactory type(int type) { getJoin().setType(type); return this; }
public 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); Join joinNode = (Join) node; String type = element.getAttribute("type"); if (type != null && type.length() != 0 ) { joinNode.setType(new Integer(type)); } String n = element.getAttribute("n"); if (n != null && n.length() != 0 ) { joinNode.setN(n); } }
protected Node createNode(Attributes attrs) { final String type = attrs.getValue("gatewayDirection"); if ("Converging".equals(type)) { Join join = new Join(); join.setType(Join.TYPE_AND); return join; } else if ("Diverging".equals(type)) { Split split = new Split(); split.setType(Split.TYPE_AND); return split; } else { throw new IllegalArgumentException( "Unknown gateway direction: " + type); } }
protected Node createNode(Attributes attrs) { final String type = attrs.getValue("gatewayDirection"); if ("Converging".equals(type)) { Join join = new Join(); join.setType(Join.TYPE_UNDEFINED); return join; } else if ("Diverging".equals(type)) { Split split = new Split(); split.setType(Split.TYPE_UNDEFINED); return split; } else { throw new IllegalArgumentException( "Unknown gateway direction: " + type); } }
protected Node createNode(Attributes attrs) { final String type = attrs.getValue("gatewayDirection"); if ("Converging".equals(type)) { Join join = new Join(); join.setType(Join.TYPE_OR); return join; } else if ("Diverging".equals(type)) { Split split = new Split(); split.setType(Split.TYPE_OR); String isDefault = attrs.getValue("default"); split.setMetaData("Default", isDefault); return split; } else { throw new IllegalArgumentException( "Unknown gateway direction: " + type); } }
protected Node createNode(Attributes attrs) { final String type = attrs.getValue("gatewayDirection"); if ("Converging".equals(type)) { Join join = new Join(); join.setType(Join.TYPE_XOR); return join; } else if ("Diverging".equals(type)) { Split split = new Split(); split.setType(Split.TYPE_XOR); String isDefault = attrs.getValue("default"); split.setMetaData("Default", isDefault); return split; } else { throw new IllegalArgumentException( "Unknown gateway direction: " + type); } }