public class PropertyAccessors extends Object
Constructor and Description |
---|
PropertyAccessors() |
Modifier and Type | Method and Description |
---|---|
static PropertyAccessor |
findProperty(Class<?> beanClass,
String propertyName)
Retrieve a specific property accessor.
|
static List<PropertyAccessor> |
getAll(Class<?> beanClass)
Retrieve all property accessors that relate to a bean.
|
public static List<PropertyAccessor> getAll(Class<?> beanClass)
beanClass
- the bean classpublic static PropertyAccessor findProperty(Class<?> beanClass, String propertyName)
beanClass
- the bean classpropertyName
- the property nameCopyright © 2015–2017 42 BV. All rights reserved.