org.pojomatic.internal
Class PropertyAccessor

java.lang.Object
  extended by org.pojomatic.internal.AbstractPropertyElement<java.lang.reflect.Method>
      extended by org.pojomatic.internal.PropertyAccessor
All Implemented Interfaces:
PropertyElement

public class PropertyAccessor
extends AbstractPropertyElement<java.lang.reflect.Method>


Field Summary
 
Fields inherited from class org.pojomatic.internal.AbstractPropertyElement
element
 
Constructor Summary
PropertyAccessor(java.lang.reflect.Method method, java.lang.String name)
           
 
Method Summary
protected  java.lang.Object accessValue(java.lang.Object instance)
           
 
Methods inherited from class org.pojomatic.internal.AbstractPropertyElement
equals, getElement, getName, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyAccessor

public PropertyAccessor(java.lang.reflect.Method method,
                        java.lang.String name)
Method Detail

accessValue

protected java.lang.Object accessValue(java.lang.Object instance)
                                throws java.lang.IllegalArgumentException,
                                       java.lang.IllegalAccessException
Specified by:
accessValue in class AbstractPropertyElement<java.lang.reflect.Method>
Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException


Copyright © 2008-2009. All Rights Reserved.