Examples of PartnerLink


Examples of org.eclipse.bpel.model.PartnerLink

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setPartnerLink(PartnerLink newPartnerLink) {
    PartnerLink oldPartnerLink = partnerLink;
    partnerLink = newPartnerLink;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, BPELPackage.ON_EVENT__PARTNER_LINK, oldPartnerLink, partnerLink));
  }
View Full Code Here

Examples of org.eclipse.bpel.model.PartnerLink

    Iterator<PartnerLink> partnerLinks = process.getPartnerLinks().getChildren().iterator();
    HashSet<XSDSchema> schemaDeps = processSchemaDeps.get(process);
    HashSet<Definition> wsdlDeps = processWsdlDeps.get(process)
   
    while (partnerLinks.hasNext()){
      PartnerLink plink = partnerLinks.next();
      PartnerLinkType plinkType = plink.getPartnerLinkType();
      Iterator<Role> roles = plinkType.getRole().iterator();
      while (roles.hasNext()){
        Role role = roles.next();
        PortType portType = (PortType)role.getPortType();
        if (portType != null &&
View Full Code Here

Examples of org.eclipse.bpel.model.PartnerLink

    //if (plinkAnnotation != null){
      if (fieldPartnerLinkMap.get(f) == null && portType != null){
        org.eclipse.bpel.model.Process process = classProcessMap.get(f.getDeclaringType());
        if (process != null){
         
          PartnerLink plink = null;
          PartnerLinkType plinkType = null;
          Role partnerRole = null;
          String plinkName = f.getSimpleName();
          if (plinkAnnotation != null && !plinkAnnotation.name().equals(""))
            plinkName = plinkAnnotation.name();
          String roleName = plinkName;
          if (plinkAnnotation != null && !plinkAnnotation.role().equals(""))
            plinkName = plinkAnnotation.role();
          String partnerLinkTypeName = plinkName + process.getName() + "LT";
          Iterator<PartnerLink> plit = process.getPartnerLinks().getChildren().iterator();               
          while (plit.hasNext()){
            PartnerLink pl = plit.next();
            if (pl.getName().equals(plinkName)){ 
              partnerLinkTypeName = pl.getPartnerLinkType().getName();
              plink = pl;
              break;
            }
          }
          if (plink == null){
View Full Code Here

Examples of org.eclipse.bpel.model.PartnerLink

            for (CtTypeReference ref : ctClass.getSuperInterfaces()){
              if (ref.getActualClass().equals(c)){
                scan(ref.getDeclaration());
                PortType portType = typePortTypeMap.get(ref.getDeclaration());
                if (portType != null){                             
                  PartnerLink plink = null;
                  PartnerLinkType plinkType = null;
                  Role myRole = null;
                  String plinkName = theLinks[i].name();
                  String partnerLinkTypeName = plinkName + process.getName() + "LT";
                  Iterator<PartnerLink> plit = process.getPartnerLinks().getChildren().iterator();               
                  while (plit.hasNext()){
                    PartnerLink pl = plit.next();
                    if (pl.getName().equals(plinkName)){ 
                      partnerLinkTypeName = pl.getPartnerLinkType().getName();
                      plink = pl;
                      break;
                    }
                  }
                  if (plink == null){
View Full Code Here

Examples of org.eclipse.bpel.model.PartnerLink

  void fixPartnerLinkPrefixes(BPELResource currResource, org.eclipse.bpel.model.Process currProcess, String artifactsPrefix){
    Iterator<PartnerLink> plinkIt = currProcess.getPartnerLinks().getChildren().iterator();
    String artifactsNamespace = currProcess.getTargetNamespace() + "Artifacts";
    currResource.getPrefixToNamespaceMap().put(artifactsPrefix, artifactsNamespace);
    while (plinkIt.hasNext()){
      PartnerLink plink = plinkIt.next();
      plink.getPartnerLinkType().setName(artifactsPrefix + ":" + plink.getPartnerLinkType().getName());
    }
  }
View Full Code Here

Examples of org.eclipse.bpel.model.PartnerLink

          PartnerLinkTypeImpl.class);
     
      // add each of the partner links to the wsdl
      Iterator<PartnerLink> it = plinks.getChildren().iterator();
      while (it.hasNext()){
        PartnerLink plink = it.next();
        PartnerLinkType plinkType = plink.getPartnerLinkType()
        wsdlDef.getExtensibilityElements().add(plinkType);
      }
     
      // import the real wsdl
      for (WsdlImportInfo importedWsdl : wsdlImports){
View Full Code Here

Examples of org.woped.core.model.bpel.Partnerlink

           
            //get PartnerLinks
            TPartnerLinks iPLs = iNetToolSpec.addNewPartnerLinks();
            Iterator<Partnerlink> plist = petrinetModel.getElementContainer().getPartnerlinkList().getPartnerlinkList().iterator();
            while (plist.hasNext()){
              Partnerlink link = plist.next();
              org.woped.pnml.TPartnerLink iPL = iPLs.addNewPartnerLink();
              iPL.setName(link.getName());
              iPL.setPartnerLinkType(link.getPartnerlinkTypeByQName());
              iPL.setPartnerRole(link.getPartnerlinkRole());
              iPL.setMyRole(link.getMyRole());
              iPL.setWSDL(link.getWsdlUrl());
            }
           
            //get Variables
            TVariables iVs = iNetToolSpec.addNewVariables();
            int VarCounter=0;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.