public abstract class JRAbstractExtendedIncrementer extends Object implements JRExtendedIncrementer
| Constructor and Description |
|---|
JRAbstractExtendedIncrementer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
combine(JRCalculable calculable,
JRCalculable calculableValue,
AbstractValueProvider valueProvider)
This implementation calls
increment(calculable, calculableValue.getValue(), valueProvider). |
boolean |
ignoresNullValues()
This implementation returns
true. |
Object |
increment(JRFillVariable variable,
Object expressionValue,
AbstractValueProvider valueProvider)
This implementation simply calls
increment(JRCalculable, Object, AbstractValueProvider). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitincrement, initialValuepublic Object increment(JRFillVariable variable, Object expressionValue, AbstractValueProvider valueProvider) throws JRException
increment(JRCalculable, Object, AbstractValueProvider).increment in interface JRIncrementerJRExceptionpublic Object combine(JRCalculable calculable, JRCalculable calculableValue, AbstractValueProvider valueProvider) throws JRException
increment(calculable, calculableValue.getValue(), valueProvider).combine in interface JRExtendedIncrementercalculable - the first calculated valuecalculableValue - the second calculated valuevalueProvider - the value provider used for the helper variablesJRExceptionpublic boolean ignoresNullValues()
true.
Incrementer implementations can override this to specify that
null values should not be ignored.ignoresNullValues in interface JRExtendedIncrementernull values are ignored by this incrementerCopyright © 2017. All rights reserved.