org.seasar.framework.beans
インタフェース BeanDesc

既知の実装クラスの一覧:
BeanDescImpl

public interface BeanDesc

作成者:
higa

メソッドの概要
 Class getBeanClass()
           
 Constructor getConstructor(Class[] paramTypes)
           
 String[] getConstructorParameterNames(Class[] paramTypes)
           
 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[] paramTypes)
           
 String[] getMethodParameterNamesNoException(Method method)
           
 String[] getMethodParameterNamesNoException(String methodName, Class[] paramTypes)
           
 Method[] getMethods(String methodName)
           
 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)
           
 

メソッドの詳細

getBeanClass

public Class getBeanClass()

hasPropertyDesc

public boolean hasPropertyDesc(String propertyName)

getPropertyDesc

public PropertyDesc getPropertyDesc(String propertyName)
                             throws PropertyNotFoundRuntimeException
例外:
PropertyNotFoundRuntimeException

getPropertyDesc

public PropertyDesc getPropertyDesc(int index)

getPropertyDescSize

public int getPropertyDescSize()

hasField

public boolean hasField(String fieldName)

getField

public Field getField(String fieldName)
               throws FieldNotFoundRuntimeException
例外:
FieldNotFoundRuntimeException

getField

public Field getField(int index)

getFieldValue

public Object getFieldValue(String fieldName,
                            Object target)
                     throws FieldNotFoundRuntimeException
例外:
FieldNotFoundRuntimeException

getFieldSize

public int getFieldSize()

newInstance

public Object newInstance(Object[] args)
                   throws ConstructorNotFoundRuntimeException
例外:
ConstructorNotFoundRuntimeException

getSuitableConstructor

public Constructor getSuitableConstructor(Object[] args)
                                   throws ConstructorNotFoundRuntimeException
例外:
ConstructorNotFoundRuntimeException

getConstructor

public Constructor getConstructor(Class[] paramTypes)

getConstructorParameterNames

public String[] getConstructorParameterNames(Class[] paramTypes)

getConstructorParameterNames

public String[] getConstructorParameterNames(Constructor constructor)

invoke

public Object invoke(Object target,
                     String methodName,
                     Object[] args)
              throws MethodNotFoundRuntimeException
例外:
MethodNotFoundRuntimeException

getMethod

public Method getMethod(String methodName)

getMethod

public Method getMethod(String methodName,
                        Class[] paramTypes)

getMethodNoException

public Method getMethodNoException(String methodName)

getMethodNoException

public Method getMethodNoException(String methodName,
                                   Class[] paramTypes)

getMethods

public Method[] getMethods(String methodName)
                    throws MethodNotFoundRuntimeException
例外:
MethodNotFoundRuntimeException

hasMethod

public boolean hasMethod(String methodName)

getMethodNames

public String[] getMethodNames()

getMethodParameterNames

public String[] getMethodParameterNames(String methodName,
                                        Class[] paramTypes)

getMethodParameterNamesNoException

public String[] getMethodParameterNamesNoException(String methodName,
                                                   Class[] paramTypes)

getMethodParameterNames

public String[] getMethodParameterNames(Method method)

getMethodParameterNamesNoException

public String[] getMethodParameterNamesNoException(Method method)


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