Package jbprocess.annotations

Examples of jbprocess.annotations.FlowLinkSource


      }     
      if (flowActivity.sources().length > 0){
        Sources sources = BPELFactory.eINSTANCE.createSources();
        activity.setSources(sources);     
        for(int i=0; i < flowActivity.sources().length; i++){
          FlowLinkSource linkSource = flowActivity.sources()[i];
          Link link = linkMap.get(linkSource.name());
          if (link == null){
            link = BPELFactory.eINSTANCE.createLink();
            link.setName(linkSource.name());
            linkMap.put(linkSource.name(), link);
            flow.getLinks().getChildren().add(link);
          }                           
          Source source = BPELFactory.eINSTANCE.createSource();
          source.setLink(link);
          source.setActivity(activity);
          Condition cond = BPELFactory.eINSTANCE.createCondition();
          cond.setBody(linkSource.transitionCondition());
          source.setTransitionCondition(cond);
          sources.getChildren().add(source);
        }
      }
    }
View Full Code Here

TOP

Related Classes of jbprocess.annotations.FlowLinkSource

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.