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
AccessorgetValue in interface AccessorPropertyExceptionpublic void setValue(Object object, Object newValue) throws PropertyException
AccessorsetValue in interface AccessorPropertyExceptionCopyright © 2001–2023 Apache Cayenne. All rights reserved.