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
- IntrospectionException
public 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]"IntrospectionException
Copyright © 2019 Vaadin Ltd. All rights reserved.