public static interface PropertyAccessors.PropertyAccessorProvider
Modifier and Type | Method and Description |
---|---|
PropertyAccessor |
getAccessor(Class<?> beanClass,
String propertyName,
String getterName,
String setterName)
Looks up and returns a PropertyAccessor for the given bean class
and the specified property, getter, and setter.
|
PropertyAccessor getAccessor(Class<?> beanClass, String propertyName, String getterName, String setterName)
beanClass
- the class the provides the propertypropertyName
- the name of the property, e.g. "name", "enabled"getterName
- the name of the getter, e.g. "getName", "isEnabled"setterName
- the name of the setter, e.g. "setName", "setEnabled"Copyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.