インタフェース
org.seasar.extension.jdbc.gen.command.Command の使用

Command を使用しているパッケージ
org.seasar.extension.jdbc.gen.command   
org.seasar.extension.jdbc.gen.internal.command   
org.seasar.extension.jdbc.gen.internal.factory   
org.seasar.extension.jdbc.gen.task   
 

org.seasar.extension.jdbc.gen.command での Command の使用
 

Command 型のパラメータを持つ org.seasar.extension.jdbc.gen.command のメソッド
 void CommandInvoker.invoke(Command command)
          コマンドを呼び出します。
 

org.seasar.extension.jdbc.gen.internal.command での Command の使用
 

Command を実装している org.seasar.extension.jdbc.gen.internal.command のクラス
 class AbstractCommand
          コマンドの抽象クラスです。
 class DumpDataCommand
          エンティティに対応するデータベースのデータをテーブルごとにダンプするCommandの実装です。
 class DumpDbMetaCommand
          DbTableMetaDbColumnMetaをダンプするCommandの実装クラスです。
 class ExecuteSqlCommand
          SQLを実行するCommandの実装です。
 class GenerateConditionCommand
          条件クラスのJavaファイルを生成するCommandの実装です。
 class GenerateDdlCommand
          DDLのSQLファイルを生成するCommandの実装です。
 class GenerateEntityCommand
          エンティティクラスのJavaファイルを生成するCommandの実装クラスです。
 class GenerateEntityTestCommand
          エンティティに対するテストクラスのJavaファイルを生成するCommandの実装です。
 class GenerateNamesCommand
          名前クラスのJavaファイルを生成するCommandの実装です。
 class GenerateServiceCommand
          サービスクラスのJavaファイルを生成するCommandの実装です。
 class GenerateServiceTestCommand
          サービスに対するテストクラスのJavaファイルを生成するCommandの実装です。
 class GenerateSqlFileConstantsCommand
          SQLファイルの定数クラスのJavaファイルを生成するCommandの実装です。
 class GenerateSqlFileTestCommand
          SQLファイルに対するテストクラスのJavaファイルを生成するCommandの実装です。
 class LoadDataCommand
          ダンプファイルをロードするCommandの実装クラスです。
 class MigrateCommand
          データベースのスキーマとデータを移行するCommandの実装クラスです。
 

Command 型のパラメータを持つ org.seasar.extension.jdbc.gen.internal.command のメソッド
 void CommandInvokerImpl.invoke(Command command)
           
 

org.seasar.extension.jdbc.gen.internal.factory での Command の使用
 

Command 型のパラメータを持つ org.seasar.extension.jdbc.gen.internal.factory のメソッド
 AbstServiceModelFactory FactoryImpl.createAbstServiceModelFactory(Command command, java.lang.String packageName, java.lang.String serviceClassNameSuffix)
           
 AbstServiceModelFactory Factory.createAbstServiceModelFactory(Command command, java.lang.String packageName, java.lang.String serviceClassNameSuffix)
          AbstServiceModelFactoryの実装を作成します。
 ConditionModelFactory FactoryImpl.createConditionModelFactory(Command command, java.lang.String packageName, java.lang.String conditionClassNameSuffix)
           
 ConditionModelFactory Factory.createConditionModelFactory(Command command, java.lang.String packageName, java.lang.String conditionClassNameSuffix)
          ConditionModelFactoryの実装を作成します。
 DatabaseDescFactory FactoryImpl.createDatabaseDescFactory(Command command, EntityMetaFactory entityMetaFactory, EntityMetaReader entityMetaReader, GenDialect dialect, ValueTypeProvider valueTypeProvider, boolean regardRelationshipAsFk)
           
 DatabaseDescFactory Factory.createDatabaseDescFactory(Command command, EntityMetaFactory entityMetaFactory, EntityMetaReader entityMetaReader, GenDialect dialect, ValueTypeProvider valueTypeProvider, boolean regardRelationshipAsFk)
          DatabaseDescFactoryの実装を返します。
 DbTableMetaReader FactoryImpl.createDbTableMetaReader(Command command, javax.sql.DataSource dataSource, GenDialect dialect, java.lang.String schemaName, java.lang.String tableNamePattern, java.lang.String ignoreTableNamePattern, boolean readComment)
           
 DbTableMetaReader Factory.createDbTableMetaReader(Command command, javax.sql.DataSource dataSource, GenDialect dialect, java.lang.String schemaName, java.lang.String tableNamePattern, java.lang.String ignoreTableNamePattern, boolean readComment)
          DbTableMetaReaderの実装を返します。
 DdlVersionDirectoryTree FactoryImpl.createDdlVersionDirectoryTree(Command command, java.io.File baseDir, java.io.File versionFile, java.lang.String versionNoPattern, java.lang.String env, boolean applyEnvToVersion)
           
 DdlVersionDirectoryTree Factory.createDdlVersionDirectoryTree(Command command, java.io.File baseDir, java.io.File versionFile, java.lang.String versionNoPattern, java.lang.String env, boolean applyEnvToVersion)
          DdlVersionDirectoryTreeの実装を作成します。
 DdlVersionIncrementer FactoryImpl.createDdlVersionIncrementer(Command command, DdlVersionDirectoryTree ddlVersionDirectoryTree, GenDdlListener genDdlListener, GenDialect dialect, javax.sql.DataSource dataSource, java.util.List<java.lang.String> createDirNameList, java.util.List<java.lang.String> dropFileNameList)
           
 DdlVersionIncrementer Factory.createDdlVersionIncrementer(Command command, DdlVersionDirectoryTree ddlVersionDirectoryTree, GenDdlListener genDdlListener, GenDialect dialect, javax.sql.DataSource dataSource, java.util.List<java.lang.String> createDirNameList, java.util.List<java.lang.String> dropDirNameList)
          DdlVersionIncrementerの実装を作成します。
 Dumper FactoryImpl.createDumper(Command command, GenDialect dialect, java.lang.String dumpFileEncoding)
           
 Dumper Factory.createDumper(Command command, GenDialect dialect, java.lang.String dumpFileEncoding)
          Dumperの実装を返します。
 EntityMetaReader FactoryImpl.createEntityMetaReader(Command command, java.io.File classpathDir, java.lang.String packageName, EntityMetaFactory entityMetaFactory, java.lang.String shortClassNamePattern, java.lang.String ignoreShortClassNamePattern, boolean readComment, java.util.List<java.io.File> javaFileSrcDirList, java.lang.String javaFileEncoding)
           
 EntityMetaReader Factory.createEntityMetaReader(Command command, java.io.File classpathDir, java.lang.String packageName, EntityMetaFactory entityMetaFactory, java.lang.String shortClassNamePattern, java.lang.String ignoreShortClassNamePattern, boolean readComment, java.util.List<java.io.File> javaFileSrcDirList, java.lang.String javaFileEncoding)
          EntityMetaReaderの実装を返します。
 EntityModelFactory FactoryImpl.createEntityModelFactory(Command command, java.lang.String packageName, java.lang.Class<?> superclass, boolean useTemporalType, boolean useAccessor, boolean useComment, boolean showCatalogName, boolean showSchemaName, boolean showTableName, boolean showColumnName, boolean showColumnDefinition, boolean showJoinColumn, PersistenceConvention persistenceConvention)
           
 EntityModelFactory Factory.createEntityModelFactory(Command command, java.lang.String packageName, java.lang.Class<?> superclass, boolean useTemporalType, boolean useAccessor, boolean useComment, boolean showCatalogName, boolean showSchemaName, boolean showTableName, boolean showColumnName, boolean showColumnDefinition, boolean showJoinColumn, PersistenceConvention persistenceConvention)
          EntityModelFactoryの実装を作成します。
 EntitySetDescFactory FactoryImpl.createEntitySetDescFactory(Command command, DbTableMetaReader dbTableMetaReader, PersistenceConvention persistenceConvention, GenDialect dialect, java.lang.String versionColumnNamePattern, java.io.File pluralFormFile, GenerationType generationType, java.lang.Integer initialValue, java.lang.Integer allocationSize)
           
 EntitySetDescFactory Factory.createEntitySetDescFactory(Command command, DbTableMetaReader dbTableMetaReader, PersistenceConvention persistenceConvention, GenDialect dialect, java.lang.String versionColumnNamePattern, java.io.File pluralFormFile, GenerationType generationType, java.lang.Integer initialValue, java.lang.Integer allocationSize)
          EntitySetDescFactoryの実装を作成します。
 EntityTestModelFactory FactoryImpl.createEntityTestModelFactory(Command command, java.lang.String configPath, java.lang.String jdbcManagerName, java.lang.String testClassNameSuffix, NamesModelFactory namesModelFactory, boolean useNamesClass, boolean useS2junit4)
           
 EntityTestModelFactory Factory.createEntityTestModelFactory(Command command, java.lang.String configPath, java.lang.String jdbcManagerName, java.lang.String testClassNameSuffix, NamesModelFactory namesModelFactory, boolean useNamesClass, boolean useS2junit4)
          EntityTestModelFactoryの実装を作成します。
 GenerationContext FactoryImpl.createGenerationContext(Command command, java.lang.Object model, java.io.File file, java.lang.String templateName, java.lang.String encoding, boolean overwrite)
           
 GenerationContext Factory.createGenerationContext(Command command, java.lang.Object model, java.io.File file, java.lang.String templateName, java.lang.String encoding, boolean overwrite)
          GenerationContextの実装を作成します。
 Generator FactoryImpl.createGenerator(Command command, java.lang.String templateFileEncoding, java.io.File templateFilePrimaryDir)
           
 Generator Factory.createGenerator(Command command, java.lang.String templateFileEncoding, java.io.File templateFilePrimaryDir)
          Generatorの実装を作成します。
 Loader FactoryImpl.createLoader(Command command, GenDialect dialect, java.lang.String dumpFileEncoding, int batchSize, boolean delete)
           
 Loader Factory.createLoader(Command command, GenDialect dialect, java.lang.String dumpFileEncoding, int batchSize, boolean delete)
          Loaderの実装を作成します。
 Migrater FactoryImpl.createMigrater(Command command, SqlUnitExecutor sqlUnitExecutor, SchemaInfoTable schemaInfoTable, DdlVersionDirectoryTree ddlVersionDirectoryTree, java.lang.String version, java.lang.String env)
           
 Migrater Factory.createMigrater(Command command, SqlUnitExecutor sqlUnitExecutor, SchemaInfoTable schemaInfoTable, DdlVersionDirectoryTree ddlVersionDirectoryTree, java.lang.String version, java.lang.String env)
          Migraterの実装を作成します。
 NamesAggregateModelFactory FactoryImpl.createNamesAggregateModelFactory(Command command, java.lang.String packageName, java.lang.String shortClassName)
           
 NamesAggregateModelFactory Factory.createNamesAggregateModelFactory(Command command, java.lang.String packageName, java.lang.String shortClassName)
          NamesAggregateModelFactoryの実装を作成します。
 NamesModelFactory FactoryImpl.createNamesModelFactory(Command command, java.lang.String packageName, java.lang.String namesClassNameSuffix)
           
 NamesModelFactory Factory.createNamesModelFactory(Command command, java.lang.String packageName, java.lang.String namesClassNameSuffix)
          NamesModelFactoryの実装を作成します。
 SchemaInfoTable FactoryImpl.createSchemaInfoTable(Command command, javax.sql.DataSource dataSource, GenDialect dialect, java.lang.String fullTableName, java.lang.String columnName)
           
 SchemaInfoTable Factory.createSchemaInfoTable(Command command, javax.sql.DataSource dataSource, GenDialect dialect, java.lang.String fullTableName, java.lang.String columnName)
          SchemaInfoTableの実装を作成します。
 ServiceModelFactory FactoryImpl.createServiceModelFactory(Command command, java.lang.String packageName, java.lang.String serviceClassNameSuffix, NamesModelFactory namesModelFactory, boolean useNamesClass, java.lang.String jdbcManagerName)
           
 ServiceModelFactory Factory.createServiceModelFactory(Command command, java.lang.String packageName, java.lang.String serviceClassNameSuffix, NamesModelFactory namesModelFactory, boolean useNamesClass, java.lang.String jdbcManagerName)
          ServiceModelFactoryの実装を作成します。
 ServiceTestModelFactory FactoryImpl.createServiceTestModelFactory(Command command, java.lang.String configPath, java.lang.String packageName, java.lang.String serviceClassNameSuffix, java.lang.String testClassNameSuffix, boolean useS2junit4)
           
 ServiceTestModelFactory Factory.createServiceTestModelFactory(Command command, java.lang.String configPath, java.lang.String packageName, java.lang.String serviceClassNameSuffix, java.lang.String testClassNameSuffix, boolean useS2junit4)
          インスタンスを構築します。
 SqlFileConstantsModelFactory FactoryImpl.createSqlFileConstantsModelFactory(Command command, java.io.File classpathDir, java.util.Set<java.io.File> sqlFileSet, SqlFileConstantNamingRule sqlFileConstantNamingRule, java.lang.String packageName, java.lang.String shortClassName)
           
 SqlFileConstantsModelFactory Factory.createSqlFileConstantsModelFactory(Command command, java.io.File classpathDir, java.util.Set<java.io.File> sqlFileSet, SqlFileConstantNamingRule sqlFileConstantNamingRule, java.lang.String packageName, java.lang.String shortClassName)
          SqlFileTestModelFactoryの実装を作成します。
 SqlFileExecutor FactoryImpl.createSqlFileExecutor(Command command, GenDialect dialect, java.lang.String sqlFileEncoding, char statementDelimiter, java.lang.String blockDelimiter)
           
 SqlFileExecutor Factory.createSqlFileExecutor(Command command, GenDialect dialect, java.lang.String sqlFileEncoding, char statementDelimiter, java.lang.String blockDelimiter)
          SqlFileExecutorの実装を返します。
 SqlFileTestModelFactory FactoryImpl.createSqlFileTestModelFactory(Command command, java.io.File classpathDir, java.util.Set<java.io.File> sqlFileSet, java.lang.String configPath, java.lang.String jdbcManagerName, java.lang.String packageName, java.lang.String shortClassName, boolean useS2junit4)
           
 SqlFileTestModelFactory Factory.createSqlFileTestModelFactory(Command command, java.io.File classpathDir, java.util.Set<java.io.File> sqlFileSet, java.lang.String configPath, java.lang.String jdbcManagerName, java.lang.String packageName, java.lang.String shortClassName, boolean useS2junit4)
          SqlFileTestModelFactoryの実装を作成します。
 SqlUnitExecutor FactoryImpl.createSqlUnitExecutor(Command command, javax.sql.DataSource dataSource, UserTransaction userTransaction, boolean haltOnError)
           
 SqlUnitExecutor Factory.createSqlUnitExecutor(Command command, javax.sql.DataSource dataSource, UserTransaction userTransaction, boolean haltOnError)
          SqlUnitExecutorの実装を返します。
 TableModelFactory FactoryImpl.createTableModelFactory(Command command, GenDialect dialect, javax.sql.DataSource dataSource, SqlIdentifierCaseType sqlIdentifierCaseType, SqlKeywordCaseType sqlKeywordCaseType, char statementDelimiter, java.lang.String tableOption, boolean useComment)
           
 TableModelFactory Factory.createTableModelFactory(Command command, GenDialect dialect, javax.sql.DataSource dataSource, SqlIdentifierCaseType sqlIdentifierCaseType, SqlKeywordCaseType sqlKeywordCaseType, char statementDelimiter, java.lang.String tableOption, boolean useComment)
          TableModelFactoryの実装を作成します。
 ValueTypeProvider FactoryImpl.createValueTypeProvider(Command command, DbmsDialect dbmsDialect)
           
 ValueTypeProvider Factory.createValueTypeProvider(Command command, DbmsDialect dbmsDialect)
          ValueTypeProviderの実装を作成します。
 

org.seasar.extension.jdbc.gen.task での Command の使用
 

Command を返す org.seasar.extension.jdbc.gen.task のメソッド
protected  Command MigrateTask.getCommand()
           
protected  Command LoadDataTask.getCommand()
           
protected  Command GenerateSqlFileTestTask.getCommand()
           
protected  Command GenerateSqlFileConstantsTask.getCommand()
           
protected  Command GenerateServiceTestTask.getCommand()
           
protected  Command GenerateServiceTask.getCommand()
           
protected  Command GenerateNamesTask.getCommand()
           
protected  Command GenerateEntityTestTask.getCommand()
           
protected  Command GenerateEntityTask.getCommand()
           
protected  Command GenerateDdlTask.getCommand()
           
protected  Command GenerateConditionTask.getCommand()
           
protected  Command ExecuteSqlTask.getCommand()
           
protected  Command DumpDbMetaTask.getCommand()
           
protected  Command DumpDataTask.getCommand()
           
protected abstract  Command AbstractTask.getCommand()
          コマンドを返します。
 



Copyright © 2004-2014 The Seasar Foundation. All Rights Reserved.