|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tonbeller.jpivot.core.ExtensionSupport
com.tonbeller.jpivot.mondrian.MondrianSetParameter
public class MondrianSetParameter
set parameter to query
| Field Summary |
|---|
| Fields inherited from interface com.tonbeller.jpivot.olap.navi.SetParameter |
|---|
ID |
| Constructor Summary | |
|---|---|
MondrianSetParameter()
|
|
| Method Summary | |
|---|---|
java.util.Map |
getDisplayValues()
FIXME - this crashes if the parameter contains an expression like "LastChild" or "DefaultMember". |
boolean |
getHasDisplayValues()
Returns true if the query has one or more parameters. |
java.lang.String[] |
getParameterNames()
return the names of all defined parameters in this query |
void |
setParameter(java.lang.String paramName,
Expression expr)
set parameter value to mondrian query |
| Methods inherited from class com.tonbeller.jpivot.core.ExtensionSupport |
|---|
decorate, getId, getModel, modelInitialized, setId, setModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tonbeller.jpivot.core.Extension |
|---|
decorate, getId, modelInitialized, setModel |
| Constructor Detail |
|---|
public MondrianSetParameter()
| Method Detail |
|---|
public void setParameter(java.lang.String paramName,
Expression expr)
setParameter in interface SetParameterparamName - name of the parameter in the MDX queryexpr - the value of the parameter, e.g. a memberSetParameter.setParameter(String, Expression)public java.util.Map getDisplayValues()
getDisplayValues in interface SetParameterSetParameter.getDisplayValues()public java.lang.String[] getParameterNames()
SetParameter
getParameterNames in interface SetParameterpublic boolean getHasDisplayValues()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||