thrownewRuntimeException("Incomplete import: value for "+x+"'s foreign key "+fk+" is "+y+" which is not an ID imported into "+schema.fks.get(fk).second);
thrownewRuntimeException("Incomplete import: value for "+x+"'s foreign key "+fk+" is "
+y+" which is not an ID imported into "+schema.fks.get(fk).second);
}
}
for(Attatt:schema.attsFrom(en)){
if(!atts.containsKey(x)){
thrownewRuntimeException("Incomplete import: no attribute "+att+" specified for ID "+x+" in entity "+en);
thrownewRuntimeException("Incomplete import: no attribute "+att+" specified for ID "+x
+" in entity "+en);
}
if(!atts.get(x).containsKey(att)){
thrownewRuntimeException("Incomplete import: no value for attribute "+att+" specified for ID "+x+" in entity "+en);
thrownewRuntimeException("Incomplete import: no value for attribute "+att
thrownewRuntimeException("Incomplete import: value for "+x+"'s attribute "+att+" is "+y.sk+" which is not an ID imported into "+schema.atts.get(att).second);
thrownewRuntimeException("Incomplete import: value for "+x+"'s attribute "+att+" is "
+y.sk+" which is not an ID imported into "+schema.atts.get(att).second);
}
}
}
@@ -75,16 +90,13 @@ public class ImportAlgebra<Ty,En,Sym,Fk,Att,X,Y> extends Algebra<Ty,En,Sym,Fk,At
}
/*
* for (Fk fk : schema.fksFrom(en)) {
if (!fks.get(x).containsKey(fk)) {
throw new RuntimeException("Incomplete import: no value for " + x + " along fk " + fk);
}
if (!ens.get)
}
* for (Fk fk : schema.fksFrom(en)) { if (!fks.get(x).containsKey(fk)) { throw
* new RuntimeException("Incomplete import: no value for " + x + " along fk " +