}
else
{
if (!table.equals(col.getDatastoreContainerObject()))
{
throw new NucleusException("Cannot add " + col + " as FK column for " + table).setFatal();
}
if (!refTable.equals(refCol.getDatastoreContainerObject()))
{
throw new NucleusException("Cannot add " + refCol + " as referenced FK column for " + refTable).setFatal();
}
}
setMinSize(columns, seq + 1);
setMinSize(refColumns, seq + 1);