co.uk.hjcs.canyon.accessor
Class DefaultPropertyAccessor
java.lang.Object
co.uk.hjcs.canyon.accessor.DefaultPropertyAccessor
- All Implemented Interfaces:
- PropertyAccessor
public class DefaultPropertyAccessor
- extends java.lang.Object
- implements PropertyAccessor
This class is the Canyon implementation of the PropertyAccessor.
It uses the Apache Commons BeanUtils methods to execute the underlying methods
- Author:
- HJC Solutions Ltd (http://canyon.hjcsolutions.co.uk)
|
Method Summary |
java.lang.Object |
getValue(java.lang.Object underlying,
java.lang.String propertyName)
|
void |
setValue(java.lang.Object underlying,
java.lang.String propertyName,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPropertyAccessor
public DefaultPropertyAccessor()
setValue
public void setValue(java.lang.Object underlying,
java.lang.String propertyName,
java.lang.Object value)
- Specified by:
setValue in interface PropertyAccessor
getValue
public java.lang.Object getValue(java.lang.Object underlying,
java.lang.String propertyName)
- Specified by:
getValue in interface PropertyAccessor