public List<String> generateModel(String schema,String table,String packageName,boolean annotateSchema,boolean trimStrings){
  try {
    List<String> models=New.arrayList();
    List<TableInspector> tables=getTables(schema,table);
    for (    TableInspector t : tables) {
      t.read(metaData);
      String model=t.generateModel(packageName,annotateSchema,trimStrings);
      models.add(model);
    }
    return models;
  }
 catch (  SQLException s) {
    throw new RuntimeException(s);
  }
}

public List < String > generateModel ( String schema , String table , String packageName , boolean annotateSchema , boolean trimStrings ) { try { List < String > models = New . arrayList ( ) ; List < TableInspector > tables = getTables ( schema , table ) ; for ( TableInspector t : tables ) { t . read ( metaData ) ; String model = t . generateModel ( packageName , annotateSchema , trimStrings ) ; models . add ( model ) ; } return models ; } catch ( SQLException s ) { throw new RuntimeException ( s ) ; } }
generates models class skeletons for schemas and tables . if the table name is undefined , models will be generated for every table within the specified schema . additionally , if no schema is defined , models will be generated for all schemas and all tables .
