public interface PropertyAccessor
| 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
|
Getter getGetter(Class theClass, String propertyName) throws PropertyNotFoundException
theClass - The class on which the property is defined.propertyName - The name of the property.PropertyNotFoundException - Indicates a problem interpretting the propertyNameSetter getSetter(Class theClass, String propertyName) throws PropertyNotFoundException
theClass - The class on which the property is defined.propertyName - The name of the property.PropertyNotFoundException - Indicates a problem interpretting the propertyNameCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.