/* return the full column name uniquely identifying this field in a result set */ public String getFullColumnName(Field field) { if (consistsOfSingleFromVariable() && (((FromVariable) expression.getWords().get(0)) .getObject() .getTableName() .equals(field.getTable().getName()))) { return getUniqueName() + "." + field.getDescription(); } else { System.err.println("Error : trying to get a field from a variable that does not know it"); return null; } }