}
public MultiModelField addField(Field field) {
MultiModelField multiModelField = null;
if (field instanceof FunctionField) {
multiModelField = new FunctionMultiField(this, (FunctionField) field);
} else {
multiModelField = new MultiModelField(this, field);
}
fields.put(multiModelField.getName(), multiModelField);
modelFields.put(field.getFieldName(), multiModelField);