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() |
Modifier and Type | Method and Description |
---|---|
Getter |
getGetter(Class theClass,
String propertyName)
Create a "getter" for the named attribute
|
Setter |
getSetter(Class theClass,
String propertyName)
Create a "setter" for the named attribute
|
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 © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved