Class CompoundDiff
java.lang.Object
org.apache.cayenne.graph.CompoundDiff
- All Implemented Interfaces:
Serializable, GraphDiff
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty CompoundDiff instance.CompoundDiff(List<GraphDiff> diffs) Creates CompoundDiff instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddAll(Collection<? extends GraphDiff> diffs) voidapply(GraphChangeHandler tracker) Iterates over diffs list, calling "apply" on each individual diff.getDiffs()booleanisNoop()Returns true if this diff has no other diffs or if all of its diffs are noops.voidundo(GraphChangeHandler tracker) Iterates over diffs list in reverse order, calling "apply" on each individual diff.
-
Field Details
-
diffs
-
-
Constructor Details
-
CompoundDiff
public CompoundDiff()Creates an empty CompoundDiff instance. -
CompoundDiff
-
-
Method Details