Package org.eclipse.bpel.model

Examples of org.eclipse.bpel.model.Reply


    return activityElement;
  }

  protected Element reply2XML(Activity activity) {
    Reply reply = (Reply)activity;
    Element activityElement = createBPELElement("reply");
    if (reply.getPartnerLink() != null )
      activityElement.setAttribute("partnerLink", reply.getPartnerLink().getName());
    if (reply.getPortType() != null )
      activityElement.setAttribute("portType", bpelNamespacePrefixManager.qNameToString(reply, reply.getPortType().getQName()));
    if (reply.getOperation() != null )
      activityElement.setAttribute("operation", getOperationSignature(reply.getOperation()));
    if (reply.getVariable() != null )
      activityElement.setAttribute("variable", reply.getVariable().getName());
    if (reply.getFaultName() != null) {
      activityElement.setAttribute("faultName", bpelNamespacePrefixManager.qNameToString(reply, reply.getFaultName()));
    }
    if (reply.getCorrelations() != null)
      activityElement.appendChild(correlations2XML(reply.getCorrelations()));
     
    Iterator it = reply.getToPart().iterator();
    while (it.hasNext()) {
      ToPart toPart = (ToPart)it.next();
      activityElement.appendChild(toPart2XML(toPart));
    }
View Full Code Here


        if (result == null) result = caseWSDLElement(catch_);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case BPELPackage.REPLY: {
        Reply reply = (Reply)theEObject;
        Object result = caseReply(reply);
        if (result == null) result = casePartnerActivity(reply);
        if (result == null) result = caseActivity(reply);
        if (result == null) result = caseExtensibleElement(reply);
        if (result == null) result = caseExtensibleElement_1(reply);
View Full Code Here

          scan(invocation.getArguments().get(0));
          ASTNodeData arg = nodeDataStack.peek();
          if (arg.xsdType != null && arg.xpathExpr != null && arg.variable != null){
            for (Receive recv : methodReceiveMap.values()){
              if (recv.getName().equals(replyAnn.receiveName())){
                Reply reply = BPELFactory.eINSTANCE.createReply();
                String replyName = m.getSimpleName();
                if (!replyAnn.name().equals(""))
                  replyName = replyAnn.name();
                reply.setName(replyName);
                if (exceptionTypes.contains(invocation.getArguments().get(0).getType().getDeclaration()))
                  reply.setFaultName(arg.xsdTypeQName);
                BpelScope tmpScope = new BpelScopeImpl();
                setReplyParameters(recv, reply, arg.variable, arg.xsdType, arg.xpathExpr, tmpScope);
                invocationData.activity = tmpScope.getActivity();
                invocationData.replyActivity = reply;
                invocationData.reply = reply;
View Full Code Here

TOP

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

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.