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 PropertyAccessor
public Method getWriteMethod()
getWriteMethod
in interface PropertyAccessor
public String getName()
getName
in interface PropertyAccessor
public Class<?> getPropertyType()
getPropertyType
in interface PropertyAccessor
public Object executeGetter(Object bean)
executeGetter
in interface PropertyAccessor
public void executeSetter(Object bean, Object value)
executeSetter
in interface PropertyAccessor
Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.