org.skyscreamer.yoga.selector
Class ExtraFieldProperty

java.lang.Object
  extended by org.skyscreamer.yoga.selector.ExtraFieldProperty
All Implemented Interfaces:
Property

public class ExtraFieldProperty
extends Object
implements Property


Constructor Summary
ExtraFieldProperty(String name, Object populator, Method method)
           
 
Method Summary
protected  Object getPopulatorFieldValue(Method method, Object populator, Object instance)
           
 Method getReadMethod()
           
 Object getValue(Object instance)
           
 String name()
           
protected  Object retrievePopulatorFieldValue(Method method, Object populator, Object... args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtraFieldProperty

public ExtraFieldProperty(String name,
                          Object populator,
                          Method method)
Method Detail

name

public String name()
Specified by:
name in interface Property

getReadMethod

public Method getReadMethod()
Specified by:
getReadMethod in interface Property

getValue

public Object getValue(Object instance)
Specified by:
getValue in interface Property

getPopulatorFieldValue

protected Object getPopulatorFieldValue(Method method,
                                        Object populator,
                                        Object instance)

retrievePopulatorFieldValue

protected Object retrievePopulatorFieldValue(Method method,
                                             Object populator,
                                             Object... args)


Copyright © 2012. All Rights Reserved.