Package org.eclipse.bpel.model.partnerlinktype

Examples of org.eclipse.bpel.model.partnerlinktype.Role


      plinkTypePrefix = def.getPrefix(qn.getNamespaceURI()) + ":";   
    PartnerLinkType plinkType = (PartnerLinkType)extElement;
    writer.println("<" + plinkTypePrefix + qn.getLocalPart() + " name=\"" + plinkType.getName() + "\">");
    Iterator it = plinkType.getRole().iterator();
    while (it.hasNext()){
      Role role = (Role)it.next();
      PortType pt = (PortType)role.getPortType();
      String ptPrefix = "";
      if (def.getPrefix(pt.getQName().getNamespaceURI()) != null)
        ptPrefix = def.getPrefix(pt.getQName().getNamespaceURI()) + ":";
      writer.println("\t<" + plinkTypePrefix + role.getElementType().getLocalPart() + " name=\"" + role.getName() + "\" portType=\"" + ptPrefix + pt.getQName().getLocalPart() + "\"/>");
    }   
   
    writer.println("</" + plinkTypePrefix + qn.getLocalPart() + ">");
  }
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setMyRole(Role newMyRole) {
    Role oldMyRole = myRole;
    myRole = newMyRole;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, BPELPackage.PARTNER_LINK__MY_ROLE, oldMyRole, myRole));
  }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setPartnerRole(Role newPartnerRole) {
    Role oldPartnerRole = partnerRole;
    partnerRole = newPartnerRole;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, BPELPackage.PARTNER_LINK__PARTNER_ROLE, oldPartnerRole, partnerRole));
  }
View Full Code Here

TOP

Related Classes of org.eclipse.bpel.model.partnerlinktype.Role

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.