|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.doma.extension.gen.EntityPropertyClassNameResolver
public class EntityPropertyClassNameResolver
エンティティプロパティのクラス名リゾルバです。
フィールドの概要 | |
---|---|
protected LinkedHashMap<Pattern,String> |
patternMap
エンティティプロパティ名の正規表現を表すパターンをキー、クラス名を値とするマップ |
コンストラクタの概要 | |
---|---|
EntityPropertyClassNameResolver(File propertyFile)
インスタンスを構築します。 |
メソッドの概要 | |
---|---|
protected LinkedHashMap<Pattern,String> |
load(File propertyFile)
プロパティファイルをロードします。 |
String |
resolve(EntityDesc entityDesc,
String propertyName,
String defaultPropertyClassName)
エンティティプロパティのクラス名を解決します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected final LinkedHashMap<Pattern,String> patternMap
コンストラクタの詳細 |
---|
public EntityPropertyClassNameResolver(File propertyFile)
propertyFile
- プロパティファイルメソッドの詳細 |
---|
protected LinkedHashMap<Pattern,String> load(File propertyFile)
propertyFile
- プロパティファイル
public String resolve(EntityDesc entityDesc, String propertyName, String defaultPropertyClassName)
entityDesc
- エンティティ記述propertyName
- エンティティプロパティ名defaultPropertyClassName
- エンティティプロパティのデフォルトのクラス名
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |