|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RelationshipUpdater
Updates one end of a bidirectional relationship.
Method Summary | |
---|---|
java.lang.Object |
set(java.lang.Object owner,
java.lang.String propertyName,
java.lang.Object value)
Associates two objects through the property that this updater updates, but only if they are not already associated. |
java.lang.Object |
unset(java.lang.Object owner,
java.lang.String propertyName,
java.lang.Object value)
Disassociates two objects that are associated through the property (denoted with propertyName attribute), but only if they are
already associated. |
Method Detail |
---|
java.lang.Object set(java.lang.Object owner, java.lang.String propertyName, java.lang.Object value)
owner
- the owner of the propertypropertyName
- the name of the property that should be updatedvalue
- the value of the object that is gong to be associated with
owner
java.lang.Object unset(java.lang.Object owner, java.lang.String propertyName, java.lang.Object value)
propertyName
attribute), but only if they are
already associated.
owner
- the owner of a propertypropertyName
- value
- the value of the object that is gong to be associated with
owner
the old value of the property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |