|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Property
Defines bean property API used by Cayenne to access object data, do faulting and graph maintenance tasks.
Method Summary | |
---|---|
void |
injectValueHolder(java.lang.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. |
java.lang.Object |
readProperty(java.lang.Object object)
Returns a property value, resolving object fault if needed. |
void |
shallowMerge(java.lang.Object from,
java.lang.Object to)
Copies a property value from one object to another. |
boolean |
visit(PropertyVisitor visitor)
|
void |
writeProperty(java.lang.Object object,
java.lang.Object oldValue,
java.lang.Object newValue)
Sets a property value,resolving object fault if needed. |
Methods inherited from interface org.apache.cayenne.property.PropertyAccessor |
---|
getName, readPropertyDirectly, writePropertyDirectly |
Method Detail |
---|
java.lang.Object readProperty(java.lang.Object object) throws PropertyAccessException
PropertyAccessException
void writeProperty(java.lang.Object object, java.lang.Object oldValue, java.lang.Object newValue) throws PropertyAccessException
PropertyAccessException
boolean visit(PropertyVisitor visitor)
void injectValueHolder(java.lang.Object object) throws PropertyAccessException
PropertyAccessException
void shallowMerge(java.lang.Object from, java.lang.Object to) throws PropertyAccessException
PropertyAccessException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |