|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.rolap.RolapSchemaParameter
public class RolapSchemaParameter
Parameter which is defined in a schema.
| Constructor Summary | |
|---|---|
RolapSchemaParameter(RolapSchema schema,
String name,
String defaultExpString,
String description,
Type type,
boolean modifiable)
|
|
| Method Summary | |
|---|---|
Calc |
compile(ExpCompiler compiler)
|
Exp |
getDefaultExp()
Returns the expression which provides the default value for this Parameter. |
String |
getDescription()
Returns the description of this Parameter. |
String |
getName()
Returns the name of this Parameter. |
(package private) RolapSchema |
getSchema()
|
Parameter.Scope |
getScope()
Returns the scope where this parmater is defined. |
Type |
getType()
Returns the type of this Parameter. |
Object |
getValue()
Returns the value of this parameter. |
boolean |
isModifiable()
Returns whether the value of this Parameter can be modified in a query. |
void |
setValue(Object value)
Sets the value of this parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
RolapSchemaParameter(RolapSchema schema,
String name,
String defaultExpString,
String description,
Type type,
boolean modifiable)
| Method Detail |
|---|
RolapSchema getSchema()
public boolean isModifiable()
Parameter
isModifiable in interface Parameterpublic Parameter.Scope getScope()
Parameter
getScope in interface Parameterpublic Type getType()
Parameter
getType in interface Parameterpublic Exp getDefaultExp()
Parameter
getDefaultExp in interface Parameterpublic String getName()
Parameter
getName in interface Parameterpublic String getDescription()
Parameter
getDescription in interface Parameterpublic Object getValue()
ParameterParameter.setValue(Object) has
not been called, and the parameter still has its default value, returns
null.
The type of the value is (depending on the type of the parameter)
a String, Number, or Member.
getValue in interface Parameterpublic void setValue(Object value)
Parameter
setValue in interface Parametervalue - Value of the parameter; must be a String,
a Double, or a Memberpublic Calc compile(ExpCompiler compiler)
compile in interface ParameterCompilable
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||