Package org.woped.pnml

Examples of org.woped.pnml.TPartnerLink


            if (currentNet.getToolspecificArray(j)
                .isSetPartnerLinks()) {
              TPartnerLinks plist = currentNet
                  .getToolspecificArray(j).getPartnerLinks();
              for (int x = 0; x < plist.sizeOfPartnerLinkArray(); x++) {
                TPartnerLink link = plist
                    .getPartnerLinkArray(x);
                if (link.isSetMyRole()
                    && link.isSetPartnerRole()) {
                  currentPetrinet.getElementContainer()
                      .addPartnerLink(
                          link.getName(),
                          link.getPartnerLinkType()
                              .getNamespaceURI(),
                          link.getPartnerLinkType()
                              .getLocalPart(),
                          link.getPartnerRole(),
                          link.getMyRole(),
                          link.getWSDL());
                } else if (link.isSetMyRole()) {
                  currentPetrinet.getElementContainer()
                      .addPartnerLinkWithoutPartnerRole(
                          link.getName(),
                          link.getPartnerLinkType()
                              .getNamespaceURI(),
                          link.getPartnerLinkType()
                              .getLocalPart(),
                          link.getMyRole(),
                          link.getWSDL());
                } else if (link.isSetPartnerRole()) {
                  currentPetrinet.getElementContainer()
                      .addPartnerLinkWithoutMyRole(
                          link.getName(),
                          link.getPartnerLinkType()
                              .getNamespaceURI(),
                          link.getPartnerLinkType()
                              .getLocalPart(),
                          link.getPartnerRole(),
                          link.getWSDL());
                }
              }
            }

            if (currentNet.getToolspecificArray(j).isSetVariables()) {
View Full Code Here

TOP

Related Classes of org.woped.pnml.TPartnerLink

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.