protected static interface AssociationSyncher.Helper
Modifier and Type | Method and Description |
---|---|
java.util.Set<Record> |
getLocalDMOs(Record foreignDMO)
Retrieve the set of local DMOs stored in a foreign DMO for this
association.
|
void |
remove(Record foreignDMO,
Record localDMO)
Remove the given local DMO from the set of local DMOs stored in a
foreign DMO for this association.
|
void |
replace(Record foreignDMO,
java.util.Set<Record> localDMOs)
Replace the set of local DMOs stored in a foreign DMO for this
association.
|
java.util.Set<Record> getLocalDMOs(Record foreignDMO) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
foreignDMO
- Foreign DMO from which to extract the set of local DMOs.null
.java.lang.IllegalAccessException
- if an access error occurs while invoking a method using
reflection.java.lang.reflect.InvocationTargetException
- if a method invoked using reflection throws an exception.void replace(Record foreignDMO, java.util.Set<Record> localDMOs) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
foreignDMO
- Foreign DMO which stores a reference to local DMOs.localDMOs
- The set of local DMOs which must replace the existing set.java.lang.IllegalAccessException
- if an access error occurs while invoking a method using
reflection.java.lang.reflect.InvocationTargetException
- if a method invoked using reflection throws an exception.void remove(Record foreignDMO, Record localDMO) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
foreignDMO
- Foreign DMO which stores a reference to local DMOs.localDMO
- The local DMO to be removed from the existing set.java.lang.IllegalAccessException
- if an access error occurs while invoking a method using
reflection.java.lang.reflect.InvocationTargetException
- if a method invoked using reflection throws an exception.