接口 BeanMeta
- 所有已知实现类:
BeanMetaImpl,BeanMetaWithJsonView
public interface BeanMeta
bean meta info
- 作者:
- Cody Lu
-
方法概要
修饰符和类型方法说明Class<?>bean classProperty[]bean property descriptors of the bean classgetProperty(String propertyName) bean property descriptor of property nameString[]bean property namesProperty[]readable property descriptorsString[]readable property namesProperty[]unreadable property descriptorsString[]unreadable property namesProperty[]unwritable property descriptorsString[]unwritable property namesProperty[]writable property descriptorsString[]writable property names
-
方法详细资料
-
getBeanClass
Class<?> getBeanClass()bean class- 返回:
- the beanClass
-
getPropertyNames
String[] getPropertyNames()bean property names- 返回:
- the property names
-
getProperties
Property[] getProperties()bean property descriptors of the bean class- 返回:
- the property descriptors, or empty array if not found
-
getProperty
bean property descriptor of property name- 参数:
propertyName-- 返回:
- the property descriptor, or null if not found
-
getReadablePropertyNames
String[] getReadablePropertyNames()readable property names- 返回:
- the readable property names, or empty array if not found
-
getReadableProperties
Property[] getReadableProperties()readable property descriptors- 返回:
- the readable property descriptors, or empty array if not found
-
getWritablePropertyNames
String[] getWritablePropertyNames()writable property names- 返回:
- the writable property names, or empty array if not found
-
getWritableProperties
Property[] getWritableProperties()writable property descriptors- 返回:
- the writable property descriptors, or empty array if not found
-
getUnreadablePropertyNames
String[] getUnreadablePropertyNames()unreadable property names- 返回:
- the unreadable property names, or empty array if not found
-
getUnreadableProperties
Property[] getUnreadableProperties()unreadable property descriptors- 返回:
- the unreadable property descriptors, or empty array if not found
-
getUnwritablePropertyNames
String[] getUnwritablePropertyNames()unwritable property names- 返回:
- the unwritable property names, or empty array if not found
-
getUnwritableProperties
Property[] getUnwritableProperties()unwritable property descriptors- 返回:
- the unwritable property descriptors, or empty array if not found
-