org.skyscreamer.yoga.selector
Class NamedProperty

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

public class NamedProperty
extends Object
implements Property


Constructor Summary
NamedProperty(String name)
           
 
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

NamedProperty

public NamedProperty(String name)
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.