Interface ChangeMap
- All Known Implementing Classes:
MutableChangeMap
public interface ChangeMap
Represents a map of changes for a graph of persistent objects.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionMap<ObjectId, ? extends ObjectChange> Returns a map of changes.Collection<? extends ObjectChange>
-
Method Details
-
getChanges
Map<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()
-