Package com.founder.fix.bpmn2extensions.sqlmappingconfig

Examples of com.founder.fix.bpmn2extensions.sqlmappingconfig.BusinessRules


        ruleMap.put(selectObj.getId(), selectObj);
      }

      for (Object ele : document.getRootElement().elements("businessRules")) {
        Element element = (Element) ele;
        BusinessRules businessRules = SqlmappingconfigFactory.eINSTANCE.createBusinessRules();
        businessRules.setId(element.attributeValue("id"));
        businessRules.setParameterType(element.attributeValue("parameterType"));
        businessRules.setRemark(element.attributeValue("remark"));
        businessRules.setSqlValue(element.getText());
        businessRules.setResultType(element.attributeValue("resultType"));
        String classPathString=element.attributeValue("classPath");
        if(StringUtil.isNotEmpty(classPathString)){
          Class<?> classObj=ReflectUtil.loadClass(classPathString);
          if(classObj!=null){
            businessRules.setClassPath(classPathString);
            ruleClassMap.put(element.attributeValue("id"), classObj);
          }
        }
        ruleMap.put(businessRules.getId(), businessRules);
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.founder.fix.bpmn2extensions.sqlmappingconfig.BusinessRules

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.