public final class BeanUtil extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
static List<PropertyDescriptor> |
getBeanPropertyDescriptor(Class<?> beanClass)
Returns the property descriptors of a class or an interface.
|
static Class<?> |
getPropertyType(Class<?> clazz,
String propertyId)
Returns
propertyId class for property declared in clazz. |
public static List<PropertyDescriptor> getBeanPropertyDescriptor(Class<?> beanClass) throws IntrospectionException
beanClass - IntrospectionExceptionpublic static Class<?> getPropertyType(Class<?> clazz, String propertyId) throws IntrospectionException
propertyId class for property declared in clazz.
Property could be of form "property.subProperty[.subProperty2]" i.e.
refer to some nested property.clazz - class where property is declaredpropertyId - property of form "property" or
"property.subProperty[.subProperty2]"IntrospectionExceptionCopyright © 2022 Vaadin Ltd. All rights reserved.