org.skyscreamer.yoga.selector
Class PojoProperty<T>
java.lang.Object
org.skyscreamer.yoga.selector.PojoProperty<T>
- All Implemented Interfaces:
- Property<T>
public class PojoProperty<T>
- extends Object
- implements Property<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoProperty
public PojoProperty(PropertyDescriptor property)
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.