/* Functions */
if (this.aggreatorFunction != null)
field.setAggregator(Aggregator.get(this.aggreatorFunction));
if (this.fieldCalculationFunction != null) {
FieldCalculation fieldCalculation = FieldCalculation.get(this.fieldCalculationFunction);
field.setFieldCalculation(fieldCalculation);
fieldCalculation.setFieldA(findField(this.fieldCalculationFields, 0, pivotModel));
fieldCalculation.setFieldB(findField(this.fieldCalculationFields, 1, pivotModel));
}
}