class ExplicitRules.TableDef.Measure extends Object
Constructor and Description |
---|
Measure(String name,
String columnName) |
Modifier and Type | Method and Description |
---|---|
String |
getColumnName()
Get the aggregate table column name.
|
String |
getName()
Get the symbolic name, the measure name, i.e.,
[Measures].[Unit Sales].
|
RolapStar.Measure |
getRolapStarMeasure()
Get the RolapStar.Measure associated with this symbolic name.
|
String |
getSymbolicName()
Get the symbolic name, the measure name, i.e., [Unit Sales].
|
void |
print(PrintWriter pw,
String prefix) |
String |
toString() |
void |
validate(MessageRecorder msgRecorder)
Validates a measure's name.
|
public String getName()
public String getSymbolicName()
public String getColumnName()
public RolapStar.Measure getRolapStarMeasure()
public void validate(MessageRecorder msgRecorder)
The measure name must be of the form
[Measures].[measure name]
This method checks that is of length 2, starts with "Measures" and the "measure name" exists.
public void print(PrintWriter pw, String prefix)