[jboss-user] [JBoss jBPM] - Re: Error in node-->TaskNode

harderwu do-not-reply at jboss.com
Thu Aug 10 11:41:57 EDT 2006


thanks,i have find the causation of the error!

public class Transition extends GraphElement {
  | ......
  | public Node getTo() {
  |     return to;
  |   }
  | ......
  | }

public class ProcessDefinition extends GraphElement implements NodeCollection {
  |  public Node getNode(String name) {
  |     if (nodes==null) return null;
  |     return (Node) getNodesMap().get(name);
  |   }
  | }

the define is different between Transition.getTo() and ProcessDefinition.getNode().


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964413#3964413

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964413



More information about the jboss-user mailing list