List /*String[3]*/<String[]> fieldCodeItemsList = new ArrayList<String[]>();
Set<String> recordFieldNamesUsed = new HashSet<String>();
for (final List<?> tuple : tupleList) {
String tableFieldName = (String) tuple.get(0);
ValueType valueType = (ValueType) tuple.get(1);
// Get the name of the field gem of the appropriate type.
String makeFieldGemName = getMakeFieldGem(valueType);
// Leave out any gems of unrecognized types.
if (makeFieldGemName == null || makeFieldGemName.length() == 0) {
System.out.println("DatabaseTableGemGenerator: skipping field '" + tableFieldName + "' of type " + valueType.toString() + " as this type is not currently supported.");
continue;
}
// Find a valid (and unique) name for the field with the record.
String recordFieldName = makeRecordFieldName(tableFieldName, recordFieldNamesUsed);