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

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

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


Constructor Summary
PojoProperty(PropertyDescriptor property)
           
 
Method Summary
 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

PojoProperty

public PojoProperty(PropertyDescriptor property)
Method Detail

name

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

getValue

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

getReadMethod

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

isPrimitive

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


Copyright © 2013. All Rights Reserved.