|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.doma.bean.FieldAccessBeanWrapper
public class FieldAccessBeanWrapper
public なフィールドを介してプロパティにアクセスする BeanWrapper
の実装です。
入れ子のクラスの概要 | |
---|---|
protected class |
FieldAccessBeanWrapper.FieldAccessPropertyWrapper
public なフィールドを介してプロパティにアクセスする BeanPropertyWrapper
の実装です。 |
フィールドの概要 | |
---|---|
protected Object |
bean
JavaBeans |
protected Class<?> |
beanClass
JavaBeansのクラス |
protected Map<String,BeanPropertyWrapper> |
propertyWrapperMap
プロパティ名をキー、 BeanPropertyWrapper を値とするマップ |
protected List<BeanPropertyWrapper> |
propertyWrappers
BeanPropertyWrapper のリスト |
コンストラクタの概要 | |
---|---|
FieldAccessBeanWrapper(Object bean)
インスタンスを構築します。 |
メソッドの概要 | |
---|---|
protected LinkedHashMap<String,BeanPropertyWrapper> |
createPropertyWrapperMap(Class<?> beanClass)
プロパティ名をキー、 BeanPropertyWrapper を値とするマップを作成します。 |
Class<?> |
getBeanClass()
JavaBeans のクラスを返します。 |
BeanPropertyWrapper |
getBeanPropertyWrapper(String name)
プロパティのラッパーを返します。 |
List<BeanPropertyWrapper> |
getBeanPropertyWrappers()
プロパティのラッパーのリストを返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected final Object bean
protected final Class<?> beanClass
protected final List<BeanPropertyWrapper> propertyWrappers
BeanPropertyWrapper
のリスト
protected final Map<String,BeanPropertyWrapper> propertyWrapperMap
BeanPropertyWrapper
を値とするマップ
コンストラクタの詳細 |
---|
public FieldAccessBeanWrapper(Object bean)
bean
- JavaBeans
DomaNullPointerException
- bean
が null
の場合メソッドの詳細 |
---|
public BeanPropertyWrapper getBeanPropertyWrapper(String name)
BeanWrapper
の記述:
BeanWrapper
内の getBeanPropertyWrapper
name
- プロパティ名
public List<BeanPropertyWrapper> getBeanPropertyWrappers()
BeanWrapper
の記述:
BeanWrapper
内の getBeanPropertyWrappers
public Class<?> getBeanClass()
BeanWrapper
の記述:
BeanWrapper
内の getBeanClass
protected LinkedHashMap<String,BeanPropertyWrapper> createPropertyWrapperMap(Class<?> beanClass)
BeanPropertyWrapper
を値とするマップを作成します。
beanClass
- JavaBeans のクラス
BeanPropertyWrapper
を値とするマップ
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |