org.skyscreamer.yoga.selector
Class NamedProperty<T>
java.lang.Object
org.skyscreamer.yoga.selector.NamedProperty<T>
- All Implemented Interfaces:
- Property<T>
public class NamedProperty<T>
- extends Object
- implements Property<T>
NamedProperty
public NamedProperty(String name)
NamedProperty
public NamedProperty(String name,
boolean isPrimitive)
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>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.