Package org.openbravo.services.webservice

Examples of org.openbravo.services.webservice.ModuleDependency


  private ModuleDependency[] dyanaBeanToDependencies(Vector<DynaBean> dynDependencies,
      String ad_module_id) {
    final ArrayList<ModuleDependency> dep = new ArrayList<ModuleDependency>();
    for (final DynaBean dynModule : dynDependencies) {
      if (((String) dynModule.get("AD_MODULE_ID")).equals(ad_module_id)) {
        final ModuleDependency md = new ModuleDependency();
        md.setModuleID((String) dynModule.get("AD_DEPENDENT_MODULE_ID"));
        md.setVersionStart((String) dynModule.get("STARTVERSION"));
        md.setVersionEnd((String) dynModule.get("ENDVERSION"));
        md.setModuleName((String) dynModule.get("DEPENDANT_MODULE_NAME"));
        dep.add(md);
      }
    }
    final ModuleDependency rt[] = new ModuleDependency[dep.size()];
    for (int i = 0; i < rt.length; i++) {
      rt[i] = dep.get(i);
    }
    return rt;
  }
View Full Code Here

TOP

Related Classes of org.openbravo.services.webservice.ModuleDependency

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.