|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.slim3.commons.beanutil.BeanDesc
public final class BeanDesc
This class describes bean information.
Method Summary | |
---|---|
static BeanDesc |
create(Class<?> beanClass)
Creates the bean descriptor. |
Class<?> |
getBeanClass()
Returns the bean class. |
PropertyDesc |
getPropertyDesc(int index)
Returns the property descriptor for index. |
PropertyDesc |
getPropertyDesc(String propertyName)
Returns the property descriptor. |
int |
getPropertyDescSize()
Returns the number of property descriptors. |
boolean |
hasPropertyDesc(String propertyName)
Returns true if this class has the property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BeanDesc create(Class<?> beanClass)
beanClass
- the bean class
NullPointerException
- if the beanClass parameter is nullpublic Class<?> getBeanClass()
public boolean hasPropertyDesc(String propertyName)
propertyName
- the property name
public PropertyDesc getPropertyDesc(String propertyName) throws PropertyNotFoundRuntimeException
propertyName
- the property name
PropertyNotFoundRuntimeException
- if the property is not foundpublic PropertyDesc getPropertyDesc(int index)
index
- the index
public int getPropertyDescSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |