Package org.jbpm.workflow.core.impl

Examples of org.jbpm.workflow.core.impl.NodeImpl


        if (nodeAndType != null) {
          throw new IllegalArgumentException("Cannot link incoming connection type more than once: " + type);
        }
      } else {
          if (nodeAndType != null) {
            NodeImpl node = (NodeImpl) nodeAndType.getNode();
            if (node != null) {
              node.validateAddIncomingConnection(nodeAndType.getType(), connection);
            }
          }
      }
    }
View Full Code Here


          super.addIncomingConnection(type, connection);
          CompositeNode.NodeAndType inNode = internalGetLinkedIncomingNode(type);
          if (inNode != null) {
            CompositeNodeStart start = new CompositeNodeStart(connection.getFrom(), type);
            internalAddNode(start);
            NodeImpl node = (NodeImpl) inNode.getNode();
            if (node != null) {
              new ConnectionImpl(
                  start, org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE,
                  inNode.getNode(), inNode.getType());
            }
View Full Code Here

        if (nodeAndType != null) {
          throw new IllegalArgumentException("Cannot link outgoing connection type more than once: " + type);
        }
      } else {
        if (nodeAndType != null) {
              NodeImpl node = (NodeImpl) nodeAndType.getNode();
            if (node != null) {
              ((NodeImpl) nodeAndType.getNode()).validateAddOutgoingConnection(nodeAndType.getType(), connection);
            }
          }
      }
View Full Code Here

          super.addOutgoingConnection(type, connection);
          CompositeNode.NodeAndType outNode = internalGetLinkedOutgoingNode(type);
          if (outNode != null) {
            CompositeNodeEnd end = new CompositeNodeEnd(connection.getTo(), type);
            internalAddNode(end);
            NodeImpl node = (NodeImpl) outNode.getNode();
            if (node != null) {
              new ConnectionImpl(
                outNode.getNode(), outNode.getType(),
                end, org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE);
            }
View Full Code Here

    }
   
    @Test
    public void testLoadData() {
        SimulationDataProvider provider = new JBPMBAMSimulationDataProvider("jdbc/jbpm-ds", "com.sample.test");
        Node node = new NodeImpl() {

            @Override
            public long getId() {
                return 4;
            }
View Full Code Here

TOP

Related Classes of org.jbpm.workflow.core.impl.NodeImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.