|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.doma.bean.MethodAccessBeanWrapper
public class MethodAccessBeanWrapper
public なgetter/setter メソッドを介してプロパティにアクセスする
BeanWrapper です。
| 入れ子のクラスの概要 | |
|---|---|
protected class |
MethodAccessBeanWrapper.MethodAccessPropertyWrapper
public なgetter/setter メソッドを介してプロパティにアクセスする BeanPropertyWrapper の実装です。 |
| フィールドの概要 | |
|---|---|
protected Object |
bean
JavaBeans |
protected Class<?> |
beanClass
JavaBeansのクラス |
protected Map<String,BeanPropertyWrapper> |
propertyWrapperMap
プロパティ名をキー、 BeanPropertyWrapper を値とするマップ |
protected List<BeanPropertyWrapper> |
propertyWrappers
BeanPropertyWrapperのリスト |
| コンストラクタの概要 | |
|---|---|
MethodAccessBeanWrapper(Object bean)
インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
protected LinkedHashMap<String,BeanPropertyWrapper> |
createPropertyWrapperMap(Class<?> beanClass)
プロパティ名をキー、 BeanPropertyWrapper を値とするマップを作成します。 |
Class<?> |
getBeanClass()
JavaBeans のクラスを返します。 |
protected BeanInfo |
getBeanInfo(Class<?> beanClass)
BeanInfo を取得します。 |
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 MethodAccessBeanWrapper(Object bean)
throws DomaNullPointerException
bean - JavaBeans
DomaNullPointerException - bean が null の場合| メソッドの詳細 |
|---|
public BeanPropertyWrapper getBeanPropertyWrapper(String name)
BeanWrapper の記述:
BeanWrapper 内の getBeanPropertyWrappername - プロパティ名
public List<BeanPropertyWrapper> getBeanPropertyWrappers()
BeanWrapper の記述:
BeanWrapper 内の getBeanPropertyWrapperspublic Class<?> getBeanClass()
BeanWrapper の記述:
BeanWrapper 内の getBeanClassprotected LinkedHashMap<String,BeanPropertyWrapper> createPropertyWrapperMap(Class<?> beanClass)
BeanPropertyWrapper を値とするマップを作成します。
beanClass - JavaBeans のクラス
BeanPropertyWrapper を値とするマップprotected BeanInfo getBeanInfo(Class<?> beanClass)
BeanInfo を取得します。
beanClass - JavaBeans のクラス
BeanInfo
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||