class Table implements Comparable<Table> {

    public void addField(final Field field)
    {
        fields.put(field.getName().toLowerCase(), field);
        if (field.columnIndex == -1)
        {
            field.setColumnIndex(fields.size() - 1);
        }
        field.setTable(this);
    }

    public  Table(final DBSchema schema, final String name);
    public  Table(final DBSchema schema, final DBTableInfo tableInfo);
    public  Table(final String name, final Table toCopy);

}