Package org.openbravo.model.ad.process

Examples of org.openbravo.model.ad.process.Parameter


      if (parameters != null) {
        int index = 0;
        for (String key : parameters.keySet()) {
          index++;
          final String value = parameters.get(key);
          final Parameter parameter = OBProvider.getInstance().get(Parameter.class);
          parameter.setSequenceNumber(index + "");
          parameter.setParameterName(key);
          parameter.setString(value);

          // set both sides of the bidirectional association
          pInstance.getADParameterList().add(parameter);
          parameter.setProcessInstance(pInstance);
        }
      }

      // persist to the db
      OBDal.getInstance().save(pInstance);
View Full Code Here

TOP

Related Classes of org.openbravo.model.ad.process.Parameter

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.