com.businessobjects.rebean.wi
Interface CalculationElement


public interface CalculationElement

Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.

A calculation on a single report expression.


Method Summary
 ReportExpression getExpression()
          Returns the expression this calculation is based on.
 Calculation getType()
          Returns the calculation type.
 void setType(Calculation calculation)
          Changes the calculation type.
 

Method Detail

getExpression

ReportExpression getExpression()
Returns the expression this calculation is based on.

Returns:
the expression this calculation is based on

getType

Calculation getType()
Returns the calculation type.

Returns:
the calculation type

setType

void setType(Calculation calculation)
Changes the calculation type.

Parameters:
calculation - The new calculation type
Throws:
java.lang.NullPointerException - when calculation is null