org.skyscreamer.yoga.selector
Class PojoProperty

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

public class PojoProperty
extends Object
implements Property


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

getValue

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

getReadMethod

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


Copyright © 2012. All Rights Reserved.