public class PropertyAccessor extends Object implements Accessor
Constructor and Description |
---|
PropertyAccessor(Property 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 Property property
public PropertyAccessor(Property 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–2018 Apache Cayenne. All rights reserved.