|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PersistableRelationStore
Representation of the relation between two persistable objects. Provides the connectivity to the datastore allowing the relation to be managed separately. In an RDBMS sense, this is for an N-1 unidirectional join table relation, and represents the join table entry.
| Method Summary | |
|---|---|
boolean |
add(ObjectProvider sm1,
ObjectProvider sm2)
Method to add the relation between the provided objects. |
boolean |
remove(ObjectProvider sm1)
Method to remove the relation from the provided object. |
boolean |
update(ObjectProvider sm1,
ObjectProvider sm2)
Method to update the relation for the first object to relate to the second object. |
| Methods inherited from interface org.datanucleus.store.scostore.Store |
|---|
getStoreManager |
| Method Detail |
|---|
boolean add(ObjectProvider sm1,
ObjectProvider sm2)
sm1 - Object 1 providersm2 - Object 2 provider
boolean remove(ObjectProvider sm1)
sm1 - Object 1 provider
boolean update(ObjectProvider sm1,
ObjectProvider sm2)
sm1 - Object 1 providersm2 - Object 2 provider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||