public final class ReflectionPropertyAccessor extends Object implements PropertyAccessor
PropertyDescriptor for faster and easier access.| Constructor and Description |
|---|
ReflectionPropertyAccessor(PropertyDescriptor propertyDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
Object |
executeGetter(Object bean) |
void |
executeSetter(Object bean,
Object value) |
String |
getName() |
Class<?> |
getPropertyType() |
Method |
getReadMethod() |
Method |
getWriteMethod() |
public ReflectionPropertyAccessor(PropertyDescriptor propertyDescriptor)
public Method getReadMethod()
getReadMethod in interface PropertyAccessorpublic Method getWriteMethod()
getWriteMethod in interface PropertyAccessorpublic String getName()
getName in interface PropertyAccessorpublic Class<?> getPropertyType()
getPropertyType in interface PropertyAccessorpublic Object executeGetter(Object bean)
executeGetter in interface PropertyAccessorpublic void executeSetter(Object bean, Object value)
executeSetter in interface PropertyAccessorCopyright © 2006–2015 JBoss by Red Hat. All rights reserved.