@Test public void testInit() throws Exception { GenerateDdlCommand command = new GenerateDdlCommand(); command.setConfigPath("s2jdbc-gen-core-test.dicon"); command.setClasspathDir(new File("dir")); command.validate(); command.init(); assertNotNull(command.dialect); assertNotNull(command.ddlVersionDirectoryTree); assertNotNull(command.ddlVersionIncrementer); assertNotNull(command.tableModelFactory); assertNotNull(command.generator); assertNotNull(command.entityMetaReader); assertNotNull(command.databaseDescFactory); assertNotNull(command.sqlUnitExecutor); assertNotNull(command.generator); }
public void setClasspathDir(File classpathDir) { this.classpathDir = classpathDir; }
GenerateDdlCommand extends AbstractCommand { public void setClasspathDir(File classpathDir) { this.classpathDir = classpathDir; } }
GenerateDdlCommand extends AbstractCommand { public void setClasspathDir(File classpathDir) { this.classpathDir = classpathDir; } GenerateDdlCommand(); }
GenerateDdlCommand extends AbstractCommand { public void setClasspathDir(File classpathDir) { this.classpathDir = classpathDir; } GenerateDdlCommand(); File getClasspathDir(); void setClasspathDir(File classpathDir); String getCreateTableTemplateFileName(); void setCreateTableTemplateFileName(
            String createTableTemplateFileName); String getCreateSequenceTemplateFileName(); void setCreateSequenceTemplateFileName(
            String createSequenceTemplateFileName); String getCreateAuxiliaryTemplateFileName(); void setCreateAuxiliaryTemplateFileName(
            String createAuxiliaryTemplateFileName); String getDropTableTemplateFileName(); void setDropTableTemplateFileName(String dropTableTemplateFileName); String getDropSequenceTemplateFileName(); void setDropSequenceTemplateFileName(
            String dropSequenceTemplateFileName); String getCreateUniqueKeyTemplateFileName(); void setCreateUniqueKeyTemplateFileName(
            String createUniqueKeyTemplateFileName); String getCreateForeignKeyTemplateFileName(); void setCreateForeignKeyTemplateFileName(
            String createForeignKeyTemplateFileName); String getDropForeignKeyTemplateFileName(); void setDropForeignKeyTemplateFileName(
            String dropForeignKeyTemplateFileName); String getDropUniqueKeyTemplateFileName(); void setDropUniqueKeyTemplateFileName(
            String dropUniqueKeyTemplateFileName); String getEntityPackageName(); void setEntityPackageName(String entityPackageName); String getEntityClassNamePattern(); void setEntityClassNamePattern(String entityClassNamePattern); String getIgnoreEntityClassNamePattern(); void setIgnoreEntityClassNamePattern(
            String ignoreEntityClassNamePattern); char getStatementDelimiter(); void setStatementDelimiter(char statementDelimiter); String getRootPackageName(); void setRootPackageName(String rootPackageName); File getMigrateDir(); void setMigrateDir(File migrateDir); String getDdlFileEncoding(); void setDdlFileEncoding(String ddlFileEncoding); String getTemplateFileEncoding(); void setTemplateFileEncoding(String templateFileEncoding); File getTemplateFilePrimaryDir(); void setTemplateFilePrimaryDir(File templateFilePrimaryDir); File getDdlInfoFile(); void setDdlInfoFile(File ddlInfoFile); String getVersionNoPattern(); void setVersionNoPattern(String versionNoPattern); String getDumpDirName(); void setDumpDirName(String dumpDirName); String getTableOption(); void setTableOption(String tableOption); boolean isApplyJavaCommentToDdl(); void setApplyJavaCommentToDdl(boolean applyJavaCommentToDdl); List<File> getJavaFileSrcDirList(); void setJavaFileSrcDirList(List<File> javaFileSrcDirList); String getJavaFileEncoding(); void setJavaFileEncoding(String javaFileEncoding); String getDumpFileEncoding(); void setDumpFileEncoding(String dumpFileEncoding); boolean isDump(); void setDump(boolean dump); SqlKeywordCaseType getSqlKeywordCaseType(); void setSqlKeywordCaseType(SqlKeywordCaseType sqlKeywordCaseType); SqlIdentifierCaseType getSqlIdentifierCaseType(); void setSqlIdentifierCaseType(
            SqlIdentifierCaseType sqlIdentifierCaseType); String getGenDialectClassName(); void setGenDialectClassName(String genDialectClassName); String getCreateTableDirName(); void setCreateTableDirName(String createTableDirName); String getCreateUniqueKeyDirName(); void setCreateUniqueKeyDirName(String createUniqueKeyDirName); String getCreateSequenceDirName(); void setCreateSequenceDirName(String createSequenceDirName); String getCreateForeignKeyDirName(); void setCreateForeignKeyDirName(String createForeignKeyDirName); String getDropTableDirName(); void setDropTableDirName(String dropTableDirName); String getDropUniqueKeyDirName(); void setDropUniqueKeyDirName(String dropUniqueKeyDirName); String getDropSequenceDirName(); void setDropSequenceDirName(String dropSequenceDirName); String getDropForeignKeyDirName(); void setDropForeignKeyDirName(String dropForeignKeyDirName); String getGenDdlListenerClassName(); void setGenDdlListenerClassName(String genDdlListenerClassName); String getComment(); void setComment(String comment); boolean isAutoGenerateForeignKey(); void setAutoGenerateForeignKey(boolean autoGenerateForeignKey); String getCreateAuxiliaryDirName(); void setCreateAuxiliaryDirName(String createAuxiliaryDirName); String getDropAuxiliaryDirName(); void setDropAuxiliaryDirName(String dropAuxiliaryDirName); String getDropAuxiliaryTemplateFileName(); void setDropAuxiliaryTemplateFileName(
            String dropAuxiliaryTemplateFileName); boolean isTransactional(); void setTransactional(boolean transactional); }
GenerateDdlCommand extends AbstractCommand { public void setClasspathDir(File classpathDir) { this.classpathDir = classpathDir; } GenerateDdlCommand(); File getClasspathDir(); void setClasspathDir(File classpathDir); String getCreateTableTemplateFileName(); void setCreateTableTemplateFileName(
            String createTableTemplateFileName); String getCreateSequenceTemplateFileName(); void setCreateSequenceTemplateFileName(
            String createSequenceTemplateFileName); String getCreateAuxiliaryTemplateFileName(); void setCreateAuxiliaryTemplateFileName(
            String createAuxiliaryTemplateFileName); String getDropTableTemplateFileName(); void setDropTableTemplateFileName(String dropTableTemplateFileName); String getDropSequenceTemplateFileName(); void setDropSequenceTemplateFileName(
            String dropSequenceTemplateFileName); String getCreateUniqueKeyTemplateFileName(); void setCreateUniqueKeyTemplateFileName(
            String createUniqueKeyTemplateFileName); String getCreateForeignKeyTemplateFileName(); void setCreateForeignKeyTemplateFileName(
            String createForeignKeyTemplateFileName); String getDropForeignKeyTemplateFileName(); void setDropForeignKeyTemplateFileName(
            String dropForeignKeyTemplateFileName); String getDropUniqueKeyTemplateFileName(); void setDropUniqueKeyTemplateFileName(
            String dropUniqueKeyTemplateFileName); String getEntityPackageName(); void setEntityPackageName(String entityPackageName); String getEntityClassNamePattern(); void setEntityClassNamePattern(String entityClassNamePattern); String getIgnoreEntityClassNamePattern(); void setIgnoreEntityClassNamePattern(
            String ignoreEntityClassNamePattern); char getStatementDelimiter(); void setStatementDelimiter(char statementDelimiter); String getRootPackageName(); void setRootPackageName(String rootPackageName); File getMigrateDir(); void setMigrateDir(File migrateDir); String getDdlFileEncoding(); void setDdlFileEncoding(String ddlFileEncoding); String getTemplateFileEncoding(); void setTemplateFileEncoding(String templateFileEncoding); File getTemplateFilePrimaryDir(); void setTemplateFilePrimaryDir(File templateFilePrimaryDir); File getDdlInfoFile(); void setDdlInfoFile(File ddlInfoFile); String getVersionNoPattern(); void setVersionNoPattern(String versionNoPattern); String getDumpDirName(); void setDumpDirName(String dumpDirName); String getTableOption(); void setTableOption(String tableOption); boolean isApplyJavaCommentToDdl(); void setApplyJavaCommentToDdl(boolean applyJavaCommentToDdl); List<File> getJavaFileSrcDirList(); void setJavaFileSrcDirList(List<File> javaFileSrcDirList); String getJavaFileEncoding(); void setJavaFileEncoding(String javaFileEncoding); String getDumpFileEncoding(); void setDumpFileEncoding(String dumpFileEncoding); boolean isDump(); void setDump(boolean dump); SqlKeywordCaseType getSqlKeywordCaseType(); void setSqlKeywordCaseType(SqlKeywordCaseType sqlKeywordCaseType); SqlIdentifierCaseType getSqlIdentifierCaseType(); void setSqlIdentifierCaseType(
            SqlIdentifierCaseType sqlIdentifierCaseType); String getGenDialectClassName(); void setGenDialectClassName(String genDialectClassName); String getCreateTableDirName(); void setCreateTableDirName(String createTableDirName); String getCreateUniqueKeyDirName(); void setCreateUniqueKeyDirName(String createUniqueKeyDirName); String getCreateSequenceDirName(); void setCreateSequenceDirName(String createSequenceDirName); String getCreateForeignKeyDirName(); void setCreateForeignKeyDirName(String createForeignKeyDirName); String getDropTableDirName(); void setDropTableDirName(String dropTableDirName); String getDropUniqueKeyDirName(); void setDropUniqueKeyDirName(String dropUniqueKeyDirName); String getDropSequenceDirName(); void setDropSequenceDirName(String dropSequenceDirName); String getDropForeignKeyDirName(); void setDropForeignKeyDirName(String dropForeignKeyDirName); String getGenDdlListenerClassName(); void setGenDdlListenerClassName(String genDdlListenerClassName); String getComment(); void setComment(String comment); boolean isAutoGenerateForeignKey(); void setAutoGenerateForeignKey(boolean autoGenerateForeignKey); String getCreateAuxiliaryDirName(); void setCreateAuxiliaryDirName(String createAuxiliaryDirName); String getDropAuxiliaryDirName(); void setDropAuxiliaryDirName(String dropAuxiliaryDirName); String getDropAuxiliaryTemplateFileName(); void setDropAuxiliaryTemplateFileName(
            String dropAuxiliaryTemplateFileName); boolean isTransactional(); void setTransactional(boolean transactional);  }