Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tonbeller.jpivot.olap.navi
Interface SetParameter

All Superinterfaces:
  Extension

All Known Implementing Classes:
  MondrianSetParameter, TestSetParameter

    public interface SetParameter

extends Extension

sets a parameter of the MDX Query

Author:
  av

Field Summary
`static java.lang.String` | `ID`

Method Summary
`java.util.Map` | `getDisplayValues()` for scripting.
`java.lang.String[]` | `getParameterNames()` return the names of all defined parameters in this query
`void` | `setParameter(java.lang.String paramName, Expression expr)` sets a parameter

Methods inherited from interface com.tonbeller.jpivot.core.Extension
`decorate, getId, modelInitialized, setModel`

Field Detail

### ID

    static final java.lang.String ID

See Also:
  Constant Field Values

Method Detail

### setParameter

    void setParameter(java.lang.String paramName,
                      Expression expr)

  sets a parameter

  Parameters:
    `paramName` - name of the parameter in the MDX query
    `expr` - the value of the parameter, e.g. a member

### getDisplayValues

    java.util.Map getDisplayValues()

  for scripting.

  Returns:
    Map containing parameter names (= keys) and strings to display value (= value)

### getParameterNames

    java.lang.String[] getParameterNames()

  return the names of all defined parameters in this query

  Returns:
    the names of all defined parameters in this query

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD