public class BasicPropertyAccessor extends java.lang.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(java.lang.Class theClass,
java.lang.String propertyName) |
Getter |
getGetter(java.lang.Class theClass,
java.lang.String propertyName)
Create a "getter" for the named attribute
|
Setter |
getSetter(java.lang.Class theClass,
java.lang.String propertyName)
Create a "setter" for the named attribute
|
public Setter getSetter(java.lang.Class theClass, java.lang.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(java.lang.Class theClass, java.lang.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(java.lang.Class theClass, java.lang.String propertyName) throws PropertyNotFoundException
PropertyNotFoundExceptionCopyright © 2013. All Rights Reserved.