|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyAccessor
Abstracts the notion of a "property". Defines a strategy for accessing the value of an attribute.
Method Summary | |
---|---|
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 |
Method Detail |
---|
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 propertyName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |