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 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, call getUniqueChanges().