public final class FastPropertyAccessorProviderDraft extends Object implements PropertyAccessors.PropertyAccessorProvider
Bean, and Model.
It does not comply with the Bean specification, but will work in
most cases, because typical domain classes do not have BeanInfo classes.| Constructor and Description |
|---|
FastPropertyAccessorProviderDraft() |
| 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.
|
public PropertyAccessor getAccessor(Class<?> beanClass, String propertyName, String getterName, String setterName)
PropertyAccessors.PropertyAccessorProvidergetAccessor in interface PropertyAccessors.PropertyAccessorProviderbeanClass - 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.