|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReportExpression
Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.
AReportExpression represents the data generated by a
Query for an individual
ResultObject in
the ReportDictionary.
See ReportDictionary for an example of how to obtain the
ReportExpression instances contained in a
DocumentInstance when a DataProvider has
run the Query generated
by a Web Intelligence user.
For an example of how to obtain instances of this type, see ReportDictionary.
ReportDictionary| Method Summary | |
|---|---|
DataSource |
getDataSource()
Gets the data source this report expression is based on. |
DataSourceObject |
getDataSourceObject()
Gets the data source object that was used to create this report expression. |
java.lang.String |
getFormulaLanguageID()
Gets the Report Expression's identifier used in formula language. |
java.lang.String |
getID()
Gets the unique identifier. |
java.lang.String |
getName()
Gets the name. |
ObjectQualification |
getQualification()
Gets the qualification of this expression. |
ObjectType |
getType()
Gets the type of this expression. |
| Methods inherited from interface com.businessobjects.rebean.wi.TreeNode |
|---|
getChildAt, getChildCount, getIndex, getParent, isLeaf |
| Method Detail |
|---|
java.lang.String getName()
getDataSourceObject().getName() and therefore
the name returned by this function should be the only one used in the
document.
java.lang.String getID()
getDataSourceObject().getID().
DataSourceObject getDataSourceObject()
DataSource getDataSource()
ObjectQualification getQualification()
ObjectType getType()
java.lang.String getFormulaLanguageID()
null for FormulaExpression.
This identifier is unique for each report expression of ReportDictionary.
// dict is an instance of ReportDictionary
// rExpr0 is an instance of ReportExpression
// create MyVar1=NameOf([Country])
VariableExpression var0 = dict.createVariable("MyVar1",
ObjectQualification.DIMENSION,
"=NameOf("+rExpr0.getFormulaLanguageID()+")");
//create MyVar2="Country: "+[MyVar1];
VariableExpression var1 = dict.createVariable("MyVar2",
ObjectQualification.DIMENSION,
"=\"Country: \"+"+var0.getFormulaLanguageID());
// link1 is an instance of Link
// create MyVar3 = [MyVar1]+ " + "+[CountryLink]
VariableExpression var2 = dict.createVariable("MyVar3",
ObjectQualification.DIMENSION,
"="+var0.getFormulaLanguageID()+" + "+ link1.getFormulaLanguageID());
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||