Package org.eclipse.bpel.model

Examples of org.eclipse.bpel.model.Links


  protected Element flow2XML(Activity activity) {
    Flow flow = (Flow)activity;
    Element activityElement = createBPELElement("flow");
   
    Links links = ((Flow)activity).getLinks();
    if (links != null) {
      Element linksElement = links2XML(links);
      activityElement.appendChild(linksElement);
    }
     
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetLinks(Links newLinks, NotificationChain msgs) {
    Links oldLinks = links;
    links = newLinks;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.FLOW__LINKS, oldLinks, newLinks);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

        if (result == null) result = caseWSDLElement(correlationSets);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case BPELPackage.LINKS: {
        Links links = (Links)theEObject;
        Object result = caseLinks(links);
        if (result == null) result = caseExtensibleElement(links);
        if (result == null) result = caseExtensibleElement_1(links);
        if (result == null) result = caseWSDLElement(links);
        if (result == null) result = defaultCase(theEObject);
View Full Code Here

  public Link getLink(Activity activity, String linkName) {
    if (activity != null) {
      EObject container = activity.eContainer();
      while (container != null) {
        if (container instanceof Flow) {
          Links links =((Flow)container).getLinks();
          if (links != null) {
            for (Iterator it = links.getChildren().iterator(); it.hasNext(); ) {
              Link candidate = (Link)it.next();    
              if (candidate.getName().equals(linkName))
                return candidate;
            }
          }
View Full Code Here

    if (block.getLabel() != null){
      if (block.getLabel().startsWith("flow_")){
        String flowName = block.getLabel().substring(5);
        Flow flow = BPELFactory.eINSTANCE.createFlow();
        flow.setName(flowName);
        Links links = BPELFactory.eINSTANCE.createLinks();
        flow.setLinks(links);
        for(CtStatement stmt : block.getStatements()){
          scan(stmt);
          ASTNodeData stmtData = nodeDataStack.peek();
          if (stmtData.flowActivity != null) {
View Full Code Here

TOP

Related Classes of org.eclipse.bpel.model.Links

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.