Interface ChangeMap
-
- All Known Implementing Classes:
MutableChangeMap
public interface ChangeMapRepresents a map of changes for a graph of persistent objects.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<org.apache.cayenne.ObjectId,? extends ObjectChange>getChanges()Returns a map of changes.Collection<? extends ObjectChange>getUniqueChanges()
-
-
-
Method Detail
-
getChanges
Map<org.apache.cayenne.ObjectId,? extends ObjectChange> getChanges()
Returns a map of changes. Note the same change sometimes can be present in the map twice. If ObjectId of an object has changed during the commit, the change will be accessible by both pre-commit and post-commit ID. To get unique changes, callgetUniqueChanges().
-
getUniqueChanges
Collection<? extends ObjectChange> getUniqueChanges()
-
-