Package net.sf.minuteProject.configuration.bean.model.data.impl.DDLUtils

Examples of net.sf.minuteProject.configuration.bean.model.data.impl.DDLUtils.ComponentDDLUtils


      String key = getComponentBeanPath(table.getName(), column.getName());
      String fullPath = getComponentBeanPropertyPath(table.getName(), column.getName());
      Component component = components.get(key);
      if (component==null) {
        // to set in create New component
        component = new ComponentDDLUtils();
        component.setPath(key);
        component.setName(getBeforeLastInPathElement(fullPath));
        //Package pack = table.getPackage();
        //pack.setName(pack.getName()+StringUtils.lowerCase(FormatUtils.getJavaName(table.getName())));
        component.setPackage(pack);
View Full Code Here


    }
    return output;
  }
 
  private static Component createNewComponent(String componentName, String path, Component component) {
    Component componentNew = new ComponentDDLUtils();
    componentNew.setPath(path);
    componentNew.setName(componentName);
    //Table table = component.getTable();
    Package pack = component.getPackage();
    //pack.setName(pack.getName()+StringUtils.lowerCase(FormatUtils.getJavaName(table.getName())));
    componentNew.setPackage(pack);
    componentNew.setTable(component.getTable());
    return componentNew;
   
  }
View Full Code Here

TOP

Related Classes of net.sf.minuteProject.configuration.bean.model.data.impl.DDLUtils.ComponentDDLUtils

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.