Class MutableChangeMap
java.lang.Object
org.apache.cayenne.commitlog.model.MutableChangeMap
- All Implemented Interfaces:
ChangeMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap<ObjectId, ? extends ObjectChange> Returns a map of changes.getOrCreate(ObjectId id, ObjectChangeType type) Collection<? extends ObjectChange>
-
Constructor Details
-
MutableChangeMap
public MutableChangeMap()
-
-
Method Details
-
getOrCreate
-
aliasId
-
getUniqueChanges
- Specified by:
getUniqueChangesin interfaceChangeMap
-
getChanges
Description copied from interface:ChangeMapReturns 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, callChangeMap.getUniqueChanges().- Specified by:
getChangesin interfaceChangeMap
-