public class CompoundDiff extends Object implements GraphDiff
| Constructor and Description | 
|---|
| CompoundDiff()Creates an empty CompoundDiff instance. | 
| CompoundDiff(List<GraphDiff> diffs)Creates CompoundDiff instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(GraphDiff diff) | 
| void | addAll(Collection<? extends GraphDiff> diffs) | 
| void | apply(GraphChangeHandler tracker)Iterates over diffs list, calling "apply" on each individual diff. | 
| List<GraphDiff> | getDiffs() | 
| boolean | isNoop()Returns true if this diff has no other diffs or if all of its diffs are
 noops. | 
| void | undo(GraphChangeHandler tracker)Iterates over diffs list in reverse order, calling "apply" on each
 individual diff. | 
public boolean isNoop()
public void add(GraphDiff diff)
public void addAll(Collection<? extends GraphDiff> diffs)
public void apply(GraphChangeHandler tracker)
public void undo(GraphChangeHandler tracker)
Copyright © 2001–2023 Apache Cayenne. All rights reserved.