|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.ColumnAggregationExpression
org.pentaho.reporting.engine.classic.core.function.ColumnDivisionExpression
public class ColumnDivisionExpression
Divides all values read from the field-list. This is almost the same as the formula [field1] / [field2] /
field[3] / .. / [fieldn]. Values that are non-numeric or null are ignored.
| Constructor Summary | |
|---|---|
ColumnDivisionExpression()
Deprecated. Default constructor. |
|
| Method Summary | |
|---|---|
int |
getRoundingMode()
Deprecated. Returns the defined rounding mode. |
int |
getScale()
Deprecated. Returns the scale for the divide-operation. |
Object |
getValue()
Deprecated. Return the current expression value. |
void |
setRoundingMode(int roundingMode)
Deprecated. Defines the rounding mode. |
void |
setScale(int scale)
Deprecated. Defines the scale for the divide-operation. |
| Methods inherited from class org.pentaho.reporting.engine.classic.core.function.ColumnAggregationExpression |
|---|
getField, getField, getFieldCount, getInstance, setField, setField |
| Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression |
|---|
clone, getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnDivisionExpression()
| Method Detail |
|---|
public int getRoundingMode()
BigDecimal.divide(java.math.BigDecimal, int)public void setRoundingMode(int roundingMode)
roundingMode - the rounding mode.BigDecimal.divide(java.math.BigDecimal, int)public int getScale()
public void setScale(int scale)
scale - the scale.public Object getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||