mondrian.rolap.aggmatcher
Class ExplicitRules.TableDef.Measure

java.lang.Object
  extended by mondrian.rolap.aggmatcher.ExplicitRules.TableDef.Measure
Enclosing class:
ExplicitRules.TableDef

 class ExplicitRules.TableDef.Measure
extends Object

This class is used to map from a measure's symbolic name, [Measures].[Unit Sales] to the aggregate table's column name, UNIT_SALES_SUM.

 

Constructor Summary
ExplicitRules.TableDef.Measure(String name, String columnName)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExplicitRules.TableDef.Measure

ExplicitRules.TableDef.Measure(String name,
                               String columnName)
Method Detail

getName

public String getName()
Get the symbolic name, the measure name, i.e., [Measures].[Unit Sales].


getSymbolicName

public String getSymbolicName()
Get the symbolic name, the measure name, i.e., [Unit Sales].


getColumnName

public String getColumnName()
Get the aggregate table column name.


getRolapStarMeasure

public RolapStar.Measure getRolapStarMeasure()
Get the RolapStar.Measure associated with this symbolic name.


validate

public void validate(MessageRecorder msgRecorder)
Validates a measure's name.

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.


toString

public String toString()
Overrides:
toString in class Object

print

public void print(PrintWriter pw,
                  String prefix)

SourceForge.net_Logo