public class TotalGroupSumQuotientPercentFunction extends TotalGroupSumQuotientFunction
dividend
parameter is required and denotes the name of an
ItemBand-field which gets summed up as dividend. The divisor
parameter is required and denotes the name
of an ItemBand-field which gets summed up as divisor.
The parameter group
denotes the name of a group. When this group is started, the counter gets reseted to
null. This parameter is optional.
This function scales the computed percentage to 100. A value of 100% will therefore be returned as 100 instead of 1.
The result of this function cannot be used together with the percentage operator of the NumberFormat in a
Number-field.Constructor and Description |
---|
TotalGroupSumQuotientPercentFunction()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
Computes the scaled percentage.
|
clone, getCrosstabFilterGroup, getDividend, getDivisor, getGroup, getRoundingMode, getScale, groupStarted, itemsAdvanced, reportInitialized, setCrosstabFilterGroup, setDependencyLevel, setDividend, setDivisor, setGroup, setRoundingMode, setRuntime, setScale
groupFinished, itemsFinished, itemsStarted, reportDone, reportFinished, reportStarted, summaryRowSelection
getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setName, setPreserve
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setName
public TotalGroupSumQuotientPercentFunction()
public Object getValue()
getValue
in interface Expression
getValue
in class TotalGroupSumQuotientFunction