Search in sources :

Example 1 with IndexColumn

use of org.apache.ddlutils.model.IndexColumn in project siena by mandubian.

the class DdlGenerator method fillIndex.

private void fillIndex(org.apache.ddlutils.model.Index i, Field field) {
    String[] columns = ClassInfo.getColumnNames(field);
    for (String string : columns) {
        IndexColumn ic = new IndexColumn(string);
        i.addColumn(ic);
    }
}
Also used : IndexColumn(org.apache.ddlutils.model.IndexColumn)

Aggregations

IndexColumn (org.apache.ddlutils.model.IndexColumn)1