public class BasicPropertyAccessor extends Object implements PropertyAccessor
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicPropertyAccessor.BasicGetter |
static class |
BasicPropertyAccessor.BasicSetter |
| Constructor and Description |
|---|
BasicPropertyAccessor() |
| Modifier and Type | Method and Description |
|---|---|
static Getter |
createGetter(Class theClass,
String propertyName) |
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 Setter getSetter(Class theClass, String propertyName) throws PropertyNotFoundException
PropertyAccessorgetSetter in interface PropertyAccessortheClass - The class on which the property is defined.propertyName - The name of the property.PropertyNotFoundException - Indicates a problem interpretting the propertyNamepublic Getter getGetter(Class theClass, String propertyName) throws PropertyNotFoundException
PropertyAccessorgetGetter in interface PropertyAccessortheClass - The class on which the property is defined.propertyName - The name of the property.PropertyNotFoundException - Indicates a problem interpretting the propertyNamepublic static Getter createGetter(Class theClass, String propertyName) throws PropertyNotFoundException
PropertyNotFoundExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.