else
{
type = String.class;
}
final ReportFormulaContext rfc = (ReportFormulaContext) context;
final DataAttributes data = rfc.getDataSchema().getAttributes(fieldName);
if (data == null)
{
throw EvaluationException.getInstance(LibFormulaErrorValue.ERROR_INVALID_ARGUMENT_VALUE);
}
final DefaultDataAttributeContext attributeContext =
new DefaultDataAttributeContext(rfc.getProcessingContext().getOutputProcessorMetaData(),
rfc.getLocalizationContext().getLocale());
final Object o = data.getMetaAttribute(metaNamespace, metaName, type, attributeContext);
return new TypeValuePair(AnyType.TYPE, o);
}