tbrugz.sqldiff.model.Diff Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqldump Show documentation
Show all versions of sqldump Show documentation
Utility to dump schema and data from a RDBMS
package tbrugz.sqldiff.model;
import java.util.List;
import tbrugz.sqldump.dbmodel.DBObjectType;
import tbrugz.sqldump.dbmodel.NamedDBObject;
//XXX Diff ?
//XXX implements Comparable ?
public interface Diff {
public ChangeType getChangeType();
public String getDiff();
public List getDiffList();
public int getDiffListSize();
public DBObjectType getObjectType();
public NamedDBObject getNamedObject();
//XXX add public List> getChildren()? maybe not (only SchemaDiff would use it)
//public Diff inverse()?
public Diff inverse();
public String getDefinition();
public String getPreviousDefinition();
}