public class PropertyAccessor extends Object implements Accessor
Modifier and Type | Field and Description |
---|---|
protected PropertyDescriptor |
property |
Constructor and Description |
---|
PropertyAccessor(PropertyDescriptor property) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns property name.
|
Object |
getValue(Object object)
Returns a property value of an object without disturbing the object fault status.
|
void |
setValue(Object object,
Object newValue)
Sets a property value of an object without disturbing the object fault status.
|
protected PropertyDescriptor property
public PropertyAccessor(PropertyDescriptor property)
public Object getValue(Object object) throws PropertyException
Accessor
getValue
in interface Accessor
PropertyException
public void setValue(Object object, Object newValue) throws PropertyException
Accessor
setValue
in interface Accessor
PropertyException
Copyright © 2001–2015 Apache Cayenne. All rights reserved.