Class 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 Detail

    • 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.