|
||||||||||
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 | |
---|---|
java.lang.String |
getName()
Returns property name. |
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, inflating unresolved object if need. |
java.lang.Object |
readPropertyDirectly(java.lang.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(java.lang.Object object,
java.lang.Object oldValue,
java.lang.Object newValue)
Sets a property value, inflating unresolved object if need. |
void |
writePropertyDirectly(java.lang.Object object,
java.lang.Object oldValue,
java.lang.Object newValue)
Sets a property value of an object without disturbing the object fault status. |
Method Detail |
---|
java.lang.String getName()
java.lang.Object readPropertyDirectly(java.lang.Object object) throws PropertyException
PropertyException
java.lang.Object readProperty(java.lang.Object object) throws PropertyException
PropertyException
void writePropertyDirectly(java.lang.Object object, java.lang.Object oldValue, java.lang.Object newValue) throws PropertyException
PropertyException
void writeProperty(java.lang.Object object, java.lang.Object oldValue, java.lang.Object newValue) throws PropertyException
PropertyException
boolean visit(PropertyVisitor visitor)
void injectValueHolder(java.lang.Object object) throws PropertyException
PropertyException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |