public final class PropertyAccessor extends AbstractAccessor implements TypeAwareAccessor
Constructor and Description |
---|
PropertyAccessor(String propertyName,
Method readMethod,
Method writeMethod) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Object target) |
Element |
getPathElement() |
String |
getPropertyName() |
Class<?> |
getType() |
void |
set(Object target,
Object value) |
String |
toString() |
void |
unset(Object target) |
getCategories, isEqualsOnly, isIgnored, setCategories, setEqualsOnly, setIgnored
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCategories, isEqualsOnly, isIgnored
public Class<?> getType()
getType
in interface TypeAwareAccessor
public String getPropertyName()
public Element getPathElement()
getPathElement
in interface PropertyDescriptor
Copyright © 2012. All Rights Reserved.