|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.doma.extension.gen.SqlDescFactory
public class SqlDescFactory
SQL記述のファクトリです。
コンストラクタの概要 | |
---|---|
SqlDescFactory(File templatePrimaryDir,
GenDialect dialect)
インスタンスを構築します。 |
|
SqlDescFactory(String selectByIdFileName,
String selectByIdAndVersionFileName,
File templatePrimaryDir,
GenDialect dialect)
インスタンスを構築します。 |
メソッドの概要 | |
---|---|
protected SqlDesc |
createSqlDesc(EntityDesc entityDesc,
String fileName,
String templateName)
SQL記述を返します。 |
List<SqlDesc> |
createSqlDescs(EntityDesc entityDesc)
SQL記述のリストを返します。 |
protected Set<String> |
findTemplateNames()
テンプレートのファイル名を探します。 |
protected String |
removeTemplateExtension(String templateName)
テンプレートファイルの拡張子を削除します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public SqlDescFactory(File templatePrimaryDir, GenDialect dialect)
templatePrimaryDir
- テンプレートを格納するプライマリディレクトリ、使用しない場合 null
dialect
- 方言public SqlDescFactory(String selectByIdFileName, String selectByIdAndVersionFileName, File templatePrimaryDir, GenDialect dialect)
selectByIdFileName
- 識別子による検索メソッドの名前selectByIdAndVersionFileName
- 識別子とバージョンによる検索メソッドの名前templatePrimaryDir
- テンプレートを格納するプライマリディレクトリ、使用しない場合 null
dialect
- 方言メソッドの詳細 |
---|
public List<SqlDesc> createSqlDescs(EntityDesc entityDesc)
entityDesc
- エンティティ記述
protected SqlDesc createSqlDesc(EntityDesc entityDesc, String fileName, String templateName)
entityDesc
- エンティティ記述fileName
- ファイル名templateName
- テンプレート名
protected Set<String> findTemplateNames()
protected String removeTemplateExtension(String templateName)
templateName
- テンプレートファイル名
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |