|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectorg.seasar.framework.beans.impl.PropertyDescImpl
PropertyDescの実装クラスです。
| コンストラクタの概要 | |
PropertyDescImpl(String propertyName,
Class propertyType,
Method readMethod,
Method writeMethod,
BeanDesc beanDesc)
PropertyDescImplを作成します。 |
|
PropertyDescImpl(String propertyName,
Class propertyType,
Method readMethod,
Method writeMethod,
Field field,
BeanDesc beanDesc)
PropertyDescImplを作成します。 |
|
| メソッドの概要 | |
Object |
convertIfNeed(Object arg)
プロパティの型に応じて必要なら適切に変換します。 |
Field |
getField()
プロパティとして認識しているpublicフィールドを返します。 |
String |
getPropertyName()
プロパティ名を返します。 |
Class |
getPropertyType()
プロパティの型を返します。 |
Method |
getReadMethod()
getterメソッドを返します。 |
Object |
getValue(Object target)
プロパティの値を返します。 |
Method |
getWriteMethod()
setterメソッドを返します。 |
boolean |
hasReadMethod()
getterメソッドを持っているかどうか返します。 |
boolean |
hasWriteMethod()
setterメソッドを持っているかどうか返します。 |
boolean |
isReadable()
プロパティの値が取得できるかどうかを返します。 |
boolean |
isWritable()
プロパティの値が設定できるかどうかを返します。 |
void |
setField(Field field)
プロパティとして認識しているpublicフィールドを設定します。 |
void |
setReadMethod(Method readMethod)
getterメソッドを設定します。 |
void |
setValue(Object target,
Object value)
プロパティに値を設定します。 |
void |
setWriteMethod(Method writeMethod)
setterメソッドを設定します。 |
String |
toString()
|
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
public PropertyDescImpl(String propertyName,
Class propertyType,
Method readMethod,
Method writeMethod,
BeanDesc beanDesc)
PropertyDescImplを作成します。
propertyName - propertyType - readMethod - writeMethod - beanDesc -
public PropertyDescImpl(String propertyName,
Class propertyType,
Method readMethod,
Method writeMethod,
Field field,
BeanDesc beanDesc)
PropertyDescImplを作成します。
propertyName - propertyType - readMethod - writeMethod - field - beanDesc - | メソッドの詳細 |
public final String getPropertyName()
PropertyDesc の記述:
PropertyDesc 内の getPropertyNamepublic final Class getPropertyType()
PropertyDesc の記述:
PropertyDesc 内の getPropertyTypepublic final Method getReadMethod()
PropertyDesc の記述:
PropertyDesc 内の getReadMethodpublic final void setReadMethod(Method readMethod)
PropertyDesc の記述:
PropertyDesc 内の setReadMethodreadMethod - public final boolean hasReadMethod()
PropertyDesc の記述:
PropertyDesc 内の hasReadMethodpublic final Method getWriteMethod()
PropertyDesc の記述:
PropertyDesc 内の getWriteMethodpublic final void setWriteMethod(Method writeMethod)
PropertyDesc の記述:
PropertyDesc 内の setWriteMethodwriteMethod - public final boolean hasWriteMethod()
PropertyDesc の記述:
PropertyDesc 内の hasWriteMethodpublic Field getField()
PropertyDesc の記述:
PropertyDesc 内の getFieldpublic void setField(Field field)
PropertyDesc の記述:
PropertyDesc 内の setFieldfield - public boolean isReadable()
PropertyDesc の記述:
PropertyDesc 内の isReadablepublic boolean isWritable()
PropertyDesc の記述:
PropertyDesc 内の isWritablepublic final Object getValue(Object target)
PropertyDesc の記述:
PropertyDesc 内の getValuetarget -
public final void setValue(Object target,
Object value)
PropertyDesc の記述:
PropertyDesc 内の setValuetarget - value - public final String toString()
public Object convertIfNeed(Object arg)
PropertyDesc の記述:
PropertyDesc 内の convertIfNeedarg -
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||