int i = 0;
for (final Field field : fields) {
final String columnName = field.getName();
final String columnLabel = field.getLabel();
final Boolean nillable = field.isNillable();
final FieldType type = field.getType();
final Integer columnSize = field.getLength();
final ColumnType columnType = toColumnType(type);
final MutableColumn column = new MutableColumn(columnName, columnType);
column.setTable(SalesforceTable.this);
column.setRemarks(columnLabel);
column.setNullable(nillable);
column.setNativeType(type.toString());
column.setColumnSize(columnSize);
column.setColumnNumber(i);
if (type == FieldType.id) {
column.setPrimaryKey(true);