Examples of Receive


Examples of com.consol.citrus.model.testcase.core.Receive

        return action;
    }

    @Override
    public Receive convertModel(ReceiveMessageAction definition) {
        Receive action = new ObjectFactory().createReceive();

        if (definition.getActor() != null) {
            action.setActor(definition.getActor().getName());
        } else if (definition.getEndpoint().getActor() != null) {
            action.setActor(definition.getEndpoint().getActor().getName());
        }

        action.setDescription(definition.getDescription());
        action.setEndpoint(definition.getEndpoint().getName());

        return action;
    }
View Full Code Here

Examples of org.blueoxygen.postila.entity.Receive

                model.removeRow(model.getRowCount()-1);
        }
        if(!list.isEmpty()){
            String sContact = "";
            for(Object ob : list){
                Receive rc = (Receive) ob;
                model.addRow(new Object[]{rc.getDocNo(),rc.getDescription(),rc.getBusinessPartner().getName(),rc.getCategory().getName()});
            }
        }
    }
View Full Code Here

Examples of org.blueoxygen.postila.entity.Receive

        rds.remove(r);
        model.removeRow(list);
    }//GEN-LAST:event_btDelete2ActionPerformed

    private void btNewActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btNewActionPerformed
        receive= new Receive();
        loadEmptyForm();
        btPrint.setVisible(false);
        //firePropertyChange(AdvancedSearchPanel.SELECTED_TAB_CHANGE, 1, 0);
    }//GEN-LAST:event_btNewActionPerformed
View Full Code Here

Examples of org.eclipse.bpel.model.Receive

   
    return activityElement;
  }

  protected Element receive2XML(Activity activity) {
    Receive receive = (Receive)activity;
    Element activityElement = createBPELElement("receive");
    if (receive.getPartnerLink() != null)
      activityElement.setAttribute("partnerLink", receive.getPartnerLink().getName());
    if (receive.getPortType() != null)
      activityElement.setAttribute("portType", bpelNamespacePrefixManager.qNameToString(receive, receive.getPortType().getQName()));
    if (receive.getOperation() != null)
      activityElement.setAttribute("operation", getOperationSignature(receive.getOperation()));
    if (receive.getVariable() != null)
      activityElement.setAttribute("variable", receive.getVariable().getName());
    if (receive.isSetCreateInstance())
      activityElement.setAttribute("createInstance",BPELUtils.boolean2XML(receive.getCreateInstance()));

    if (receive.getCorrelations() != null)
      activityElement.appendChild(correlations2XML(receive.getCorrelations()));     
   
    Iterator it = receive.getFromPart().iterator();
    while (it.hasNext()) {
      FromPart fromPart = (FromPart)it.next();
      activityElement.appendChild(fromPart2XML(fromPart));
    }
View Full Code Here

Examples of org.eclipse.bpel.model.Receive

        if (result == null) result = caseWSDLElement(partnerActivity);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case BPELPackage.RECEIVE: {
        Receive receive = (Receive)theEObject;
        Object result = caseReceive(receive);
        if (result == null) result = casePartnerActivity(receive);
        if (result == null) result = caseActivity(receive);
        if (result == null) result = caseExtensibleElement(receive);
        if (result == null) result = caseExtensibleElement_1(receive);
View Full Code Here

Examples of org.eclipse.bpel.model.Receive

      invocationData.invokeScope.addActivity(invoke);
      invocationData.activity = invocationData.invokeScope.getActivity();
      invocationData.invoke = invoke;
    } else if (execNodeData.bottomUpProcess != null && execNodeData.operation != null){
      // this is an invocation of a web service provided by a process...
      Receive recv = BPELFactory.eINSTANCE.createReceive();
      recv.setPortType(execNodeData.portType);
      recv.setOperation(execNodeData.operation);
      invocationData.receiveScope = new BpelScopeImpl();
      invocationData.receiveScope.addActivity(recv);
      setRecvParameters(execNodeData.operation, recv,invocation.getArguments(),invocationData.receiveScope);
      invocationData.activity = invocationData.receiveScope.getActivity();
      invocationData.receive = recv;
    } else {
      if (invocation.getExecutable() != null &&
          invocation.getExecutable().getDeclaration() != null &&
          invocation.getExecutable().getDeclaration() instanceof CtMethod ){
        CtMethod m = (CtMethod)invocation.getExecutable().getDeclaration();
        ReplyActivity replyAnn = m.getAnnotation(ReplyActivity.class);
        if (replyAnn != null && invocation.getArguments().size() == 1){
          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);
View Full Code Here

Examples of org.uengine.smcp.twister.engine.priv.core.definition.Receive

            throw new DeploymentException(e);
        }
    }

    protected void processSpecificAttributes(Element element, Activity activity) throws DeploymentException {
        Receive receive = (Receive) activity;
        Attribute partnerLink = element.attribute("partnerLink");
        if (partnerLink != null) {
            log.debug("partnerLink=" + partnerLink.getValue());
            receive.setPartner(partnerLink.getValue());
        }

        Attribute portType = element.attribute("portType");
        if (portType != null) {
            String portTypeStr = portType.getValue();
            int sepIndex = portTypeStr.indexOf(TwisterDeployerImpl.NS_SEPARATOR);
            if (sepIndex > 0) {
                portTypeStr = portTypeStr.substring(sepIndex + 1, portTypeStr.length());
            }
            log.debug("portType=" + portTypeStr);
            receive.setPortType(portTypeStr);
        }

        Attribute operation = element.attribute("operation");
        if (operation != null) {
            log.debug("operation=" + operation.getValue());
            receive.setOperation(operation.getValue());
        }

        Attribute variable = element.attribute("variable");
        if (variable != null) {
            log.debug("variable=" + variable.getValue());
            receive.setVariable(variable.getValue());
        }

        Attribute createInstance = element.attribute("createInstance");
        if (createInstance != null) {
            boolean bool = StringUtil.booleanValue(createInstance.getValue());
            log.debug("createInstance=" + bool);
            receive.setCreateInstance(bool);
        }

    }
View Full Code Here

Examples of org.woped.editor.controller.bpel.Receive

                if (transitions[i].getToolspecificArray(j)
                    .isSetReceive()) {
                  TReceive receive = transitions[i]
                      .getToolspecificArray(j)
                      .getReceive();
                  Receive bpel = new Receive(receive
                      .getName(), receive
                      .getPartnerLink(), receive
                      .getOperation(), receive
                      .getVariable());
                  map.setBpeldata(bpel);
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.