com.businessobjects.rebean.wi
Interface DPExpression

All Superinterfaces:
ReportExpression, TreeNode

public interface DPExpression
extends ReportExpression

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

The DPExpression interface represents an expression in a ReportDictionary. A DPExpression represents the data generated by a Query for an individual ResultObject in the ReportDictionary.

See ReportDictionary for an example of how to obtain the DPExpression instances contained in a DocumentInstance when a DataProvider has run the Query generated by a Web Intelligence user.

Since:
6.5.0

Method Summary
 AggregationFunction getAggregationFunction()
          If this expression's DataSourceObject is a measure (i.e.
 DataProvider getDP()
          Returns the DataProvider (universe) used to create the Query run for this DocumentInstance.
 SortInfo getSortInfo()
          Returns the SortInfo instance that defines the way in which this DPExpression instance is sorted.
 
Methods inherited from interface com.businessobjects.rebean.wi.ReportExpression
getDataSource, getDataSourceObject, getFormulaLanguageID, getID, getName, getQualification, getType
 
Methods inherited from interface com.businessobjects.rebean.wi.TreeNode
getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Method Detail

getDP

DataProvider getDP()
Returns the DataProvider (universe) used to create the Query run for this DocumentInstance.

Returns:
The DataProvider used to add this expression to the ReportDictionary.

getSortInfo

SortInfo getSortInfo()
Returns the SortInfo instance that defines the way in which this DPExpression instance is sorted.

Returns:
The associated SortInfo instance.
Since:
11.5

getAggregationFunction

AggregationFunction getAggregationFunction()
If this expression's DataSourceObject is a measure (i.e.ReportExpression.getQualification() == ObjectQualification.MEASURE), this method will return the aggregation function as defined in the universe. If this expression is not a measure or is not based on an object in a universe, this method will return AggregationFunction.NONE.

Returns:
the aggregation function for this expression
Since:
12.0
See Also:
DataSourceObject.getAggregationFunction(), AggregationFunction, ObjectQualification