eu.miltema.slimdbsync.SyncContext Maven / Gradle / Ivy
package eu.miltema.slimdbsync;
import java.util.*;
import eu.miltema.slimdbsync.def.*;
import eu.miltema.slimorm.Database;
public class SyncContext {
public Database db;
public String schema;
public Map modelTables; // name->TableDef
public Map dbTables; // name->TableDef
public Set modelSequenceNames;
public Set dbSequenceNames;
public Map modelPrimaryKeys; // tbl->PrimaryKeyDef
public Map dbPrimaryKeys; // tbl->PrimaryKeyDef
public Map modelForeignKeys; //tbl/col->PrimaryKeyDef
public Map dbForeignKeys; //tbl/col->PrimaryKeyDef
public Map modelUniques; //tbl/colList->UniqueDef
public Map dbUniques; //tbl/colList->UniqueDef
public Map modelChecks; //tbl/col/valList->CheckDef
public Map dbChecks; //tbl/col/valList->CheckDef
public Map modelIndexes; //tbl/colList->IndexDef
public Map dbIndexes; //tbl/colList->IndexDef
public String getSchema() {
return db.getSchema();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy