/** INTERNAL: */ protected DatabaseField createField(String qualifiedName, Class type) { DatabaseField field = new DatabaseField(qualifiedName); field.setType(type); return field; }
public void setField(DatabaseField field) { this.field = field; if ((field.getType() == null) && (referenceClass != null)) { field.setType(referenceClass); } }