Package com.founder.fix.fixflow.editor.language.json.converter.elements

Examples of com.founder.fix.fixflow.editor.language.json.converter.elements.ConnectorInstanceElm


      datavariableNode.put("totalCount", itemsNode.size());
      datavariableNode.put(EDITOR_PROPERTIES_GENERAL_ITEMS, itemsNode);
        propertiesNode.put(PROPERTY_PROCESS_DATAVARIABLE, datavariableNode);
    }
   
    ConnectorInstanceElm cie = new ConnectorInstanceElm();
    propertiesNode.put(PROPERTY_CONNECTORINSTANCE, cie.convertElementToJson(mainProcess));
   
    propertiesNode.put(PROPERTY_PROCESS_NAMESPACE, model.getTargetNamespace());
   
    if (StringUtils.isNotEmpty(BpmnModelUtil.getDocumentation(mainProcess))) {
      propertiesNode.put(PROPERTY_DOCUMENTATION, BpmnModelUtil.getDocumentation(mainProcess));
View Full Code Here


        JsonNode processTargetNamespace = JsonConverterUtil.getProperty(PROPERTY_PROCESS_NAMESPACE, modelNode);
        if(processTargetNamespace != null && StringUtils.isNotEmpty(processTargetNamespace.asText())) {
          bpmnModel.setTargetNamespace(processTargetNamespace.asText());
        }
      
        ConnectorInstanceElm cie = new ConnectorInstanceElm();
        List<ConnectorInstance> list_ci = cie.convertJsonToElement(modelNode);
        if(list_ci != null){
          for (int i = 0; i < list_ci.size(); i++) {
            BpmnModelUtil.addExtensionElement(process, FixFlowPackage.Literals.DOCUMENT_ROOT__CONNECTOR_INSTANCE, list_ci.get(i));
          }
        }
View Full Code Here

        if(skipExpression !=null){
          setPropertyValue(PROPERTY_ACTIVITY_SKIPEXPRESSION, skipExpression.getValue(), propertiesNode);
        }
      }
     
      ConnectorInstanceElm cie = new ConnectorInstanceElm();
      propertiesNode.put(PROPERTY_CONNECTORINSTANCE, cie.convertElementToJson(activity));
    }
   
    flowElementNode.put("outgoing", outgoingArrayNode);
  }
View Full Code Here

        skipStrategy.setSkipComment(skipComment);
       
        BpmnModelUtil.addExtensionElement(activity, FixFlowPackage.Literals.DOCUMENT_ROOT__SKIP_STRATEGY, skipStrategy);
      }
     
      ConnectorInstanceElm cie = new ConnectorInstanceElm();
      List<ConnectorInstance> list_ci = cie.convertJsonToElement(elementNode);
      if(list_ci != null){
        for (int i = 0; i < list_ci.size(); i++) {
            BpmnModelUtil.addExtensionElement(activity, FixFlowPackage.Literals.DOCUMENT_ROOT__CONNECTOR_INSTANCE, list_ci.get(i));
          }
      }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.editor.language.json.converter.elements.ConnectorInstanceElm

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.