|
SAP BI Java SDK | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract supertype for the three different types of SAP variables. These variables are:
In SAP BW, variables are a means of parameterizing queries, and we refer to them here as SAP variables. Since these variables can be used in BW's Open Analysis Interfaces, they therefore are supported in the BI Java SDK by using various BW-specific enhancements to the MDX syntax.
For
an example of working with SAP variables in the SDK, see Olap_10.java
on the Examples
page.
For more information about SAP variables, see the SAP Help Portal documentation on SAP Variables.
Method Summary | |
IBISapVariableSelectionType |
getSelectionType()
Specifies selection types. |
boolean |
isInitialSupported()
Specifies whether the initial value is supported. |
boolean |
isMandatory()
Specifies whether specifying a variable value is mandatory. |
Methods inherited from interface org.omg.cwm.objectmodel.core.Attribute |
getInitialValue, setInitialValue |
Methods inherited from interface org.omg.cwm.objectmodel.core.StructuralFeature |
getChangeability, getMultiplicity, getOrdering, getTargetScope, getType, setChangeability, setMultiplicity, setOrdering, setTargetScope, setType |
Methods inherited from interface org.omg.cwm.objectmodel.core.Feature |
getOwner, getOwnerScope, setOwner, setOwnerScope |
Methods inherited from interface org.omg.cwm.objectmodel.core.ModelElement |
getClientDependency, getConstraint, getImporter, getName, getNamespace, getVisibility, setName, setNamespace, setVisibility |
Methods inherited from interface javax.jmi.reflect.RefObject |
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
Methods inherited from interface javax.jmi.reflect.RefFeatured |
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
Methods inherited from interface com.sap.ip.bi.sdk.dac.olap.query.main.IBIIdentifiable |
getDescription, getId, getLabel, setDescription, setId, setLabel |
Method Detail |
public IBISapVariableSelectionType getSelectionType() throws javax.jmi.reflect.JmiException
Specifies selection types. Each variable has a value or a number of values assigned to it, and these values are specified by selection types. The selection type specifies what kind of variable value is expected. This can be a single value, an interval or a complex selection specification. There are three kinds of selection types:
SINGLEVALUE
: a single value such as a MEMBER_UNIQUE_NAMEINTERVAL
: an interval as value areaCOMPLEX
: a complex selection of values. Complex selections make use of
combinations of single values and intervals to define complex sets of collections
of ranges and single values, including and excluding selections as well.
To more completely describe complex value selection and its component single value and interval selection types, we illustrate an example in the graphic below:
The value illustrated above can be described verbally as:
The rule for calculating complex value selection is as follows:
public boolean isInitialSupported() throws javax.jmi.reflect.JmiException
Specifies whether the initial value is supported. This depends on the VARIABLE_ENTRY_TYPE of the SAP variable, which can be one of the following three values:
public boolean isMandatory() throws javax.jmi.reflect.JmiException
Specifies whether specifying a variable value is mandatory. This depends on the VARIABLE_ENTRY_TYPE of the SAP variable, which can be one of the following three values:
|
SAP BI Java SDK | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |