org.seasar.framework.beans.impl
クラス BeanDescImpl

java.lang.Object
  拡張org.seasar.framework.beans.impl.BeanDescImpl
すべての実装インタフェース:
BeanDesc

public final class BeanDescImpl
extends Object
implements BeanDesc

作成者:
higa

コンストラクタの概要
BeanDescImpl(Class beanClass)
           
 
メソッドの概要
protected  Map createConstructorParameterNamesCache()
           
protected  Map createMethodParameterNamesCache()
           
 Class getBeanClass()
           
 Constructor getConstructor(Class[] paramTypes)
           
 String[] getConstructorParameterNames(Class[] parameterTypes)
           
 String[] getConstructorParameterNames(Constructor constructor)
           
 Field getField(int index)
           
 Field getField(String fieldName)
           
 int getFieldSize()
           
 Object getFieldValue(String fieldName, Object target)
           
 Method getMethod(String methodName)
           
 Method getMethod(String methodName, Class[] paramTypes)
           
 String[] getMethodNames()
           
 Method getMethodNoException(String methodName)
           
 Method getMethodNoException(String methodName, Class[] paramTypes)
           
 String[] getMethodParameterNames(Method method)
           
 String[] getMethodParameterNames(String methodName, Class[] parameterTypes)
           
 String[] getMethodParameterNamesNoException(Method method)
           
 String[] getMethodParameterNamesNoException(String methodName, Class[] parameterTypes)
           
 Method[] getMethods(String methodName)
           
protected  String getParameterName(Annotation[] annotations)
           
protected  String[] getParameterNames(CtBehavior behavior)
           
 PropertyDesc getPropertyDesc(int index)
           
 PropertyDesc getPropertyDesc(String propertyName)
           
 int getPropertyDescSize()
           
 Constructor getSuitableConstructor(Object[] args)
           
 boolean hasField(String fieldName)
           
 boolean hasMethod(String methodName)
           
 boolean hasPropertyDesc(String propertyName)
           
 Object invoke(Object target, String methodName, Object[] args)
           
 Object newInstance(Object[] args)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BeanDescImpl

public BeanDescImpl(Class beanClass)
             throws EmptyRuntimeException
メソッドの詳細

getBeanClass

public Class getBeanClass()
定義:
インタフェース BeanDesc 内の getBeanClass
関連項目:
BeanDesc.getBeanClass()

hasPropertyDesc

public boolean hasPropertyDesc(String propertyName)
定義:
インタフェース BeanDesc 内の hasPropertyDesc

getPropertyDesc

public PropertyDesc getPropertyDesc(String propertyName)
                             throws PropertyNotFoundRuntimeException
定義:
インタフェース BeanDesc 内の getPropertyDesc
例外:
PropertyNotFoundRuntimeException
関連項目:
BeanDesc.getPropertyDesc(java.lang.String)

getPropertyDesc

public PropertyDesc getPropertyDesc(int index)
定義:
インタフェース BeanDesc 内の getPropertyDesc
関連項目:
BeanDesc.getPropertyDesc(int)

getPropertyDescSize

public int getPropertyDescSize()
定義:
インタフェース BeanDesc 内の getPropertyDescSize
関連項目:
BeanDesc.getPropertyDescSize()

hasField

public boolean hasField(String fieldName)
定義:
インタフェース BeanDesc 内の hasField
関連項目:
BeanDesc.hasField(java.lang.String)

getField

public Field getField(String fieldName)
定義:
インタフェース BeanDesc 内の getField
関連項目:
BeanDesc.getField(java.lang.String)

getField

public Field getField(int index)
定義:
インタフェース BeanDesc 内の getField
関連項目:
BeanDesc.getField(int)

getFieldValue

public Object getFieldValue(String fieldName,
                            Object target)
                     throws FieldNotFoundRuntimeException
定義:
インタフェース BeanDesc 内の getFieldValue
例外:
FieldNotFoundRuntimeException
関連項目:
BeanDesc.getFieldValue(java.lang.String, java.lang.Object)

getFieldSize

public int getFieldSize()
定義:
インタフェース BeanDesc 内の getFieldSize
関連項目:
BeanDesc.getFieldSize()

newInstance

public Object newInstance(Object[] args)
                   throws ConstructorNotFoundRuntimeException
定義:
インタフェース BeanDesc 内の newInstance
例外:
ConstructorNotFoundRuntimeException
関連項目:
BeanDesc.newInstance(java.lang.Object[])

invoke

public Object invoke(Object target,
                     String methodName,
                     Object[] args)
定義:
インタフェース BeanDesc 内の invoke
関連項目:
BeanDesc.invoke(java.lang.Object, java.lang.String, java.lang.Object[])

getSuitableConstructor

public Constructor getSuitableConstructor(Object[] args)
                                   throws ConstructorNotFoundRuntimeException
定義:
インタフェース BeanDesc 内の getSuitableConstructor
例外:
ConstructorNotFoundRuntimeException
関連項目:
BeanDesc.getSuitableConstructor(java.lang.Object[])

getConstructor

public Constructor getConstructor(Class[] paramTypes)
定義:
インタフェース BeanDesc 内の getConstructor

getMethod

public Method getMethod(String methodName)
定義:
インタフェース BeanDesc 内の getMethod

getMethodNoException

public Method getMethodNoException(String methodName)
定義:
インタフェース BeanDesc 内の getMethodNoException

getMethod

public Method getMethod(String methodName,
                        Class[] paramTypes)
定義:
インタフェース BeanDesc 内の getMethod

getMethodNoException

public Method getMethodNoException(String methodName,
                                   Class[] paramTypes)
定義:
インタフェース BeanDesc 内の getMethodNoException

getMethods

public Method[] getMethods(String methodName)
                    throws MethodNotFoundRuntimeException
定義:
インタフェース BeanDesc 内の getMethods
例外:
MethodNotFoundRuntimeException
関連項目:
BeanDesc.getMethods(java.lang.String)

hasMethod

public boolean hasMethod(String methodName)
定義:
インタフェース BeanDesc 内の hasMethod

getMethodNames

public String[] getMethodNames()
定義:
インタフェース BeanDesc 内の getMethodNames

getConstructorParameterNames

public String[] getConstructorParameterNames(Class[] parameterTypes)
定義:
インタフェース BeanDesc 内の getConstructorParameterNames

getConstructorParameterNames

public String[] getConstructorParameterNames(Constructor constructor)
定義:
インタフェース BeanDesc 内の getConstructorParameterNames

getMethodParameterNamesNoException

public String[] getMethodParameterNamesNoException(String methodName,
                                                   Class[] parameterTypes)
定義:
インタフェース BeanDesc 内の getMethodParameterNamesNoException

getMethodParameterNames

public String[] getMethodParameterNames(String methodName,
                                        Class[] parameterTypes)
定義:
インタフェース BeanDesc 内の getMethodParameterNames

getMethodParameterNames

public String[] getMethodParameterNames(Method method)
定義:
インタフェース BeanDesc 内の getMethodParameterNames

getMethodParameterNamesNoException

public String[] getMethodParameterNamesNoException(Method method)
定義:
インタフェース BeanDesc 内の getMethodParameterNamesNoException

createConstructorParameterNamesCache

protected Map createConstructorParameterNamesCache()

createMethodParameterNamesCache

protected Map createMethodParameterNamesCache()

getParameterNames

protected String[] getParameterNames(CtBehavior behavior)
                              throws NotFoundException
例外:
NotFoundException

getParameterName

protected String getParameterName(Annotation[] annotations)


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.