1 package org.simantics.db.layer0.changeset;
3 import org.simantics.db.ReadGraph;
4 import org.simantics.db.exception.DatabaseException;
5 import org.simantics.db.layer0.genericrelation.DependencyChanges.Change;
7 public interface ChangeVisitor {
9 * {@link MetadataUtils#visitDependencyChangesBetween}
10 * calls this method for every change found between given range.
11 * The flag {@code inverted} tells whether the change is actually
12 * undone instead of done.
14 void visit(ReadGraph graph, Change change, boolean inverted) throws DatabaseException;