public ContributionsFieldSubsetImpl() {
}
public void addColumn(String columnName, int sqlType, String sqlTypeName) throws Exception {
ColumnDataImpl c = new ColumnDataImpl();
c.setColumnName(columnName);
ColumnData.Type colType = ColumnDataUtils.columnDataTypeFromSQLType(sqlType, columnName, sqlTypeName);
c.setColumnType(colType);
/*
* If the contributions table is readable/writable, all optional fields must be as well.
*/
c.setReadable(true);
c.setWriteable(true);
fieldMap.put(columnName, c);
}