Class MultiAxisDataService
java.lang.Object
net.sf.jasperreports.engine.analytics.dataset.MultiAxisDataService
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected classprotected classprotected static classprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected static final org.apache.commons.logging.Log -
Constructor Summary
ConstructorsConstructorDescriptionMultiAxisDataService(JasperReportsContext jasperReportsContext, JRFillExpressionEvaluator expressionEvaluator, MultiAxisData data, byte evaluation) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected AxisLevelcreateLevel(Axis axis, DataAxisLevel dataLevel, byte evaluation, int depth) protected MeasurecreateMeasure(DataMeasure dataMeasure, byte evaluation) protected BucketDefinitionprotected AxisLevelcreateRootLevel(Axis axis) protected BucketDefinitioncreateServiceBucket(DataAxisLevel level, byte evaluation) protected MeasureDefinitioncreateServiceMeasure(DataMeasure measure) protected ObjectevaluateBucketValue(JRCalculator calculator, DataAxisLevel level) voidevaluateRecord(JRCalculator calculator)
-
Field Details
-
log
protected static final org.apache.commons.logging.Log log -
EXCEPTION_MESSAGE_KEY_INCREMENT_BIDIMENSIONAL_DATASET_ERROR
- See Also:
-
-
Constructor Details
-
MultiAxisDataService
public MultiAxisDataService(JasperReportsContext jasperReportsContext, JRFillExpressionEvaluator expressionEvaluator, MultiAxisData data, byte evaluation) throws JRException - Throws:
JRException
-
-
Method Details
-
createRootLevel
- Throws:
JRException
-
createRootBucket
- Throws:
JRException
-
createLevel
protected AxisLevel createLevel(Axis axis, DataAxisLevel dataLevel, byte evaluation, int depth) throws JRException - Throws:
JRException
-
createServiceBucket
protected BucketDefinition createServiceBucket(DataAxisLevel level, byte evaluation) throws JRException - Throws:
JRException
-
createMeasure
- Throws:
JRException
-
createServiceMeasure
-
evaluateRecord
- Throws:
JRExpressionEvalException
-
evaluateBucketValue
protected Object evaluateBucketValue(JRCalculator calculator, DataAxisLevel level) throws JRExpressionEvalException - Throws:
JRExpressionEvalException
-
addRecord
public void addRecord() -
clearData
public void clearData() -
createDataSource
- Throws:
JRException
-