Package org.jbpm.pvm.impl

Examples of org.jbpm.pvm.impl.NodeImpl


  // JDBC - object translation
 
  public Object nullSafeGet(ResultSet rs, String[] names, Object owner) throws HibernateException, SQLException {
    ExecutionImpl execution = createExecution(owner);
    String nodeName = rs.getString(names[0]);
    NodeImpl node = (NodeImpl) execution.getProcessDefinition().getNode(nodeName);
    execution.setNode(node);
    return execution;
  }
View Full Code Here


      return null;
    }
   
    ExecutionImpl original = (ExecutionImpl) object;

    NodeImpl node = new NodeImpl();
    node.setName(original.getNode().getName());
   
    ExecutionImpl copy = new ExecutionImpl();
    copy.setNode(node);

    return copy;
View Full Code Here

    public DestinationReference(TransitionImpl transition, String destinationName) {
      this.transition = transition;
      this.destinationName = destinationName;
    }
    public void resolve() {
      NodeImpl destination = (NodeImpl) processDefinition.findNode(destinationName);
      if (destination==null) {
        throw new PvmException("couldn't find destination node "+destinationName+" for "+transition);
      }
      destination.addIncomingTransition(transition);
      transition.setDestination(destination);
    }
View Full Code Here

TOP

Related Classes of org.jbpm.pvm.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.