public interface Property
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns property name.
|
void |
injectValueHolder(Object object)
If a property is implemented as a ValueHolder, this operation would create an
unfaulted value holder and inject it into the object, if an object doesn't have it
set yet.
|
Object |
readProperty(Object object)
Returns a property value, inflating unresolved object if need.
|
Object |
readPropertyDirectly(Object object)
Returns a property value of an object without disturbing the object fault status.
|
boolean |
visit(PropertyVisitor visitor)
A visitor accept method.
|
void |
writeProperty(Object object,
Object oldValue,
Object newValue)
Sets a property value, inflating unresolved object if need.
|
void |
writePropertyDirectly(Object object,
Object oldValue,
Object newValue)
Sets a property value of an object without disturbing the object fault status.
|
String getName()
Object readPropertyDirectly(Object object) throws PropertyException
PropertyExceptionObject readProperty(Object object) throws PropertyException
PropertyExceptionvoid writePropertyDirectly(Object object, Object oldValue, Object newValue) throws PropertyException
PropertyExceptionvoid writeProperty(Object object, Object oldValue, Object newValue) throws PropertyException
PropertyExceptionboolean visit(PropertyVisitor visitor)
void injectValueHolder(Object object) throws PropertyException
PropertyExceptionCopyright © 2001–2018 Apache Cayenne. All rights reserved.