|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.doma.extension.gen.GenerationContext
public class GenerationContext
生成に関するコンテキストです。
フィールドの概要 | |
---|---|
protected String |
encoding
エンコーディング |
protected File |
file
生成するファイル |
protected Object |
model
データモデル |
protected boolean |
overwrite
上書きする場合 true |
protected String |
templateName
テンプレート名 |
コンストラクタの概要 | |
---|---|
GenerationContext(Object model,
File file,
String templateName,
String encoding,
boolean overwrite)
インスタンスを構築します。 |
メソッドの概要 | |
---|---|
String |
getEncoding()
エンコーディングを返します。 |
File |
getFile()
生成するファイルを返します。 |
Object |
getModel()
データモデルを返します。 |
String |
getTemplateName()
テンプレート名を返します。 |
boolean |
isOverwrite()
上書きする場合 true を返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected final Object model
protected final File file
protected final String templateName
protected final String encoding
protected final boolean overwrite
true
コンストラクタの詳細 |
---|
public GenerationContext(Object model, File file, String templateName, String encoding, boolean overwrite)
model
- データモデルfile
- 生成するファイルtemplateName
- テンプレート名encoding
- 生成するファイルのエンコーディングoverwrite
- 上書きする場合true
、しない場合false
メソッドの詳細 |
---|
public Object getModel()
public File getFile()
public String getTemplateName()
public String getEncoding()
public boolean isOverwrite()
true
を返します。
true
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |