public class DirectPropertyAccessor extends Object implements PropertyAccessor
Modifier and Type | Class and Description |
---|---|
static class |
DirectPropertyAccessor.DirectGetter |
static class |
DirectPropertyAccessor.DirectSetter |
Constructor and Description |
---|
DirectPropertyAccessor() |
public Getter getGetter(Class theClass, String propertyName) throws PropertyNotFoundException
PropertyAccessor
getGetter
in interface PropertyAccessor
theClass
- The class on which the property is defined.propertyName
- The name of the property.PropertyNotFoundException
- Indicates a problem interpretting the propertyNamepublic Setter getSetter(Class theClass, String propertyName) throws PropertyNotFoundException
PropertyAccessor
getSetter
in interface PropertyAccessor
theClass
- The class on which the property is defined.propertyName
- The name of the property.PropertyNotFoundException
- Indicates a problem interpretting the propertyNameCopyright © 2012 JBoss by Red Hat. All Rights Reserved.