|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectorg.seasar.framework.beans.impl.BeanDescImpl
BeanDescの実装クラスです。
| コンストラクタの概要 | |
BeanDescImpl(Class beanClass)
BeanDescImplを作成します。 |
|
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public BeanDescImpl(Class beanClass)
throws EmptyRuntimeException
BeanDescImplを作成します。
beanClass -
EmptyRuntimeException| メソッドの詳細 |
public Class getBeanClass()
BeanDesc の記述:
BeanDesc 内の getBeanClassBeanDesc.getBeanClass()public boolean hasPropertyDesc(String propertyName)
BeanDesc の記述: PropertyDescを持っているかどうかを返します。
BeanDesc 内の hasPropertyDescpropertyName -
PropertyDescを持っているかどうか
public PropertyDesc getPropertyDesc(String propertyName)
throws PropertyNotFoundRuntimeException
BeanDesc の記述: PropertyDescを返します。
BeanDesc 内の getPropertyDescpropertyName -
PropertyDesc
PropertyNotFoundRuntimeException - PropertyDescが見つからない場合BeanDesc.getPropertyDesc(java.lang.String)public PropertyDesc getPropertyDesc(int index)
BeanDesc の記述: PropertyDescを返します。
BeanDesc 内の getPropertyDescindex -
PropertyDescBeanDesc.getPropertyDesc(int)public int getPropertyDescSize()
BeanDesc の記述: PropertyDescの数を返します。
BeanDesc 内の getPropertyDescSizeBeanDesc.getPropertyDescSize()public boolean hasField(String fieldName)
BeanDesc の記述: Fieldを持っているかどうかを返します。
BeanDesc 内の hasFieldfieldName -
Fieldを持っているかどうかBeanDesc.hasField(java.lang.String)public Field getField(String fieldName)
BeanDesc の記述: Fieldを返します。
BeanDesc 内の getFieldfieldName -
FieldBeanDesc.getField(java.lang.String)public Field getField(int index)
BeanDesc の記述: Fieldを返します。
BeanDesc 内の getFieldindex -
FieldBeanDesc.getField(int)
public Object getFieldValue(String fieldName,
Object target)
throws FieldNotFoundRuntimeException
BeanDesc の記述: Fieldの値を返します。
BeanDesc 内の getFieldValuefieldName - target -
Fieldの値
FieldNotFoundRuntimeException - Fieldが見つからない場合BeanDesc.getFieldValue(java.lang.String,
java.lang.Object)public int getFieldSize()
BeanDesc の記述: Fieldの数を返します。
BeanDesc 内の getFieldSizeFieldの数BeanDesc.getFieldSize()
public Object newInstance(Object[] args)
throws ConstructorNotFoundRuntimeException
BeanDesc の記述:
BeanDesc 内の newInstanceargs -
ConstructorNotFoundRuntimeExceptionBeanDesc.newInstance(java.lang.Object[])
public Object invoke(Object target,
String methodName,
Object[] args)
BeanDesc の記述:
BeanDesc 内の invoketarget - methodName - args -
BeanDesc.invoke(java.lang.Object,
java.lang.String, java.lang.Object[])
public Constructor getSuitableConstructor(Object[] args)
throws ConstructorNotFoundRuntimeException
BeanDesc の記述: Constructorを返します。
BeanDesc 内の getSuitableConstructorargs -
Constructor
ConstructorNotFoundRuntimeExceptionBeanDesc.getSuitableConstructor(java.lang.Object[])public Constructor getConstructor(Class[] paramTypes)
BeanDesc の記述: Constructorを返します。
BeanDesc 内の getConstructorparamTypes -
Constructorpublic Method getMethod(String methodName)
BeanDesc の記述: Methodを返します。
BeanDesc 内の getMethodmethodName -
Methodpublic Method getMethodNoException(String methodName)
BeanDesc の記述: Methodを返します。見つからない場合は、nullを返します。
BeanDesc 内の getMethodNoExceptionmethodName -
Method
public Method getMethod(String methodName,
Class[] paramTypes)
BeanDesc の記述: Methodを返します。
BeanDesc 内の getMethodmethodName - paramTypes -
Method
public Method getMethodNoException(String methodName,
Class[] paramTypes)
BeanDesc の記述: Methodを返します。見つからない場合は、nullを返します。
BeanDesc 内の getMethodNoExceptionmethodName - paramTypes -
Method
public Method[] getMethods(String methodName)
throws MethodNotFoundRuntimeException
BeanDesc の記述: Methodの配列を返します。
BeanDesc 内の getMethodsmethodName -
MethodNotFoundRuntimeException - Methodが見つからない場合。BeanDesc.getMethods(java.lang.String)public boolean hasMethod(String methodName)
BeanDesc の記述: Methodがあるかどうか返します。
BeanDesc 内の hasMethodmethodName -
Methodがあるかどうかpublic String[] getMethodNames()
BeanDesc の記述:
BeanDesc 内の getMethodNamespublic String[] getConstructorParameterNames(Class[] parameterTypes)
BeanDesc の記述: Constructorのパラメータ名の配列を返します。
BeanDesc 内の getConstructorParameterNamesparameterTypes -
public String[] getConstructorParameterNames(Constructor constructor)
BeanDesc の記述: Constructorのパラメータ名の配列を返します。
BeanDesc 内の getConstructorParameterNamesconstructor -
public String[] getMethodParameterNamesNoException(String methodName,
Class[] parameterTypes)
BeanDesc の記述: Methodのパラメータ名の配列を返します。
BeanDesc 内の getMethodParameterNamesNoExceptionmethodName - parameterTypes -
Methodのパラメータ名の配列
public String[] getMethodParameterNames(String methodName,
Class[] parameterTypes)
BeanDesc の記述: Methodのパラメータ名の配列を返します。
BeanDesc 内の getMethodParameterNamesmethodName - parameterTypes -
Methodのパラメータ名の配列public String[] getMethodParameterNames(Method method)
BeanDesc の記述: Methodのパラメータ名の配列を返します。
BeanDesc 内の getMethodParameterNamesmethod -
Methodのパラメータ名の配列public String[] getMethodParameterNamesNoException(Method method)
BeanDesc の記述: Methodのパラメータ名の配列を返します。
BeanDesc 内の getMethodParameterNamesNoExceptionmethod -
Methodのパラメータ名の配列protected Map createConstructorParameterNamesCache()
protected Map createMethodParameterNamesCache()
protected String[] getParameterNames(CtBehavior behavior)
throws NotFoundException
NotFoundExceptionprotected String getParameterName(Annotation[] annotations)
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||