public Node getNode(long id) { return nodeContainer.getNode(id); }
public Node getNode() { if (node == null) { try { node = nodeContainer.getNode(nodeId); } catch (IllegalArgumentException e) { // unknown node id, returning null } } return node; }
public Node getNode(final long id) { return nodeContainer.getNode(id); }
public RuleFlowNodeContainerFactory connection(long fromId, long toId) { Node from = nodeContainer.getNode(fromId); Node to = nodeContainer.getNode(toId); new ConnectionImpl( from, org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE, to, org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE); return this; }
public BoundaryEventNodeFactory attachedTo(long attachedToId) { attachedToUniqueId = (String)nodeContainer.getNode(attachedToId).getMetaData().get("UniqueId"); getBoundaryEventNode().setAttachedToNodeId(attachedToUniqueId); getBoundaryEventNode().setMetaData("AttachedTo", attachedToUniqueId); return this; }
public Node getNode() { if (node == null) { try { node = nodeContainer.getNode(nodeId); } catch (IllegalArgumentException e) { // unknown node id, returning null } } return node; }
public Node getNode(long id) { return nodeContainer.getNode(id); }
public Node getNode(final long id) { return nodeContainer.getNode(id); }
public RuleFlowNodeContainerFactory connection(long fromId, long toId) { Node from = nodeContainer.getNode(fromId); Node to = nodeContainer.getNode(toId); new ConnectionImpl( from, org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE, to, org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE); return this; }
public BoundaryEventNodeFactory attachedTo(long attachedToId) { attachedToUniqueId = (String)nodeContainer.getNode(attachedToId).getMetaData().get("UniqueId"); getBoundaryEventNode().setAttachedToNodeId(attachedToUniqueId); getBoundaryEventNode().setMetaData("AttachedTo", attachedToUniqueId); return this; }