public class ChainedPropertyAccessor extends Object implements PropertyAccessor
Constructor and Description |
---|
ChainedPropertyAccessor(PropertyAccessor[] chain) |
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 ChainedPropertyAccessor(PropertyAccessor[] chain)
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-2017 Red Hat Middleware, LLC. All Rights Reserved