public class DaoGenerator
extends java.lang.Object
Constructor and Description |
---|
DaoGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generateAll(Schema schema,
java.lang.String outDir)
Generates all entities and DAOs for the given schema.
|
void |
generateAll(Schema schema,
java.lang.String outDir,
java.lang.String outDirEntity,
java.lang.String outDirTest)
Generates all entities and DAOs for the given schema.
|
protected java.io.File |
toFileForceExists(java.lang.String filename) |
protected java.io.File |
toJavaFilename(java.io.File outDirFile,
java.lang.String javaPackage,
java.lang.String javaClassName) |
public DaoGenerator() throws java.io.IOException
java.io.IOException
public void generateAll(Schema schema, java.lang.String outDir) throws java.lang.Exception
java.lang.Exception
public void generateAll(Schema schema, java.lang.String outDir, java.lang.String outDirEntity, java.lang.String outDirTest) throws java.lang.Exception
java.lang.Exception
protected java.io.File toFileForceExists(java.lang.String filename) throws java.io.IOException
java.io.IOException
protected java.io.File toJavaFilename(java.io.File outDirFile, java.lang.String javaPackage, java.lang.String javaClassName)
Available under the GPLv3 - Copyright © 2011-2015 greenrobot.de. All Rights Reserved.