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, wait
increment, initialValue
public Object increment(JRFillVariable variable, Object expressionValue, AbstractValueProvider valueProvider) throws JRException
increment(JRCalculable, Object, AbstractValueProvider)
.increment
in interface JRIncrementer
JRException
public Object combine(JRCalculable calculable, JRCalculable calculableValue, AbstractValueProvider valueProvider) throws JRException
increment(calculable, calculableValue.getValue(), valueProvider)
.combine
in interface JRExtendedIncrementer
calculable
- the first calculated valuecalculableValue
- the second calculated valuevalueProvider
- the value provider used for the helper variablesJRException
public boolean ignoresNullValues()
true
.
Incrementer implementations can override this to specify that
null
values should not be ignored.ignoresNullValues
in interface JRExtendedIncrementer
null
values are ignored by this incrementerCopyright © 2016. All rights reserved.