org.skyscreamer.yoga.selector
Class ExtraFieldProperty<T>

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

public class ExtraFieldProperty<T>
extends Object
implements Property<T>


Constructor Summary
ExtraFieldProperty(String name, YogaEntityConfiguration<T> entityConfiguration, Method method)
           
 
Method Summary
protected  Object getEntityConfigurationValue(Method method, YogaEntityConfiguration<?> entityConfiguration, T instance)
           
 Method getReadMethod()
           
 Object getValue(T instance)
           
 boolean isPrimitive()
           
 String name()
           
 
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,
                          YogaEntityConfiguration<T> entityConfiguration,
                          Method method)
Method Detail

name

public String name()
Specified by:
name in interface Property<T>

getReadMethod

public Method getReadMethod()
Specified by:
getReadMethod in interface Property<T>

getValue

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

getEntityConfigurationValue

protected Object getEntityConfigurationValue(Method method,
                                             YogaEntityConfiguration<?> entityConfiguration,
                                             T instance)
                                      throws InvocationTargetException,
                                             IllegalAccessException
Throws:
InvocationTargetException
IllegalAccessException

isPrimitive

public boolean isPrimitive()
Specified by:
isPrimitive in interface Property<T>


Copyright © 2013. All Rights Reserved.