Class ExplicitRules.TableDef.Level

  • Enclosing class:
    ExplicitRules.TableDef

    class ExplicitRules.TableDef.Level
    extends Object
    This class is used to map from a Level's symbolic name, [Time].[Year] to the aggregate table's column name, TIME_YEAR.
    • Method Detail

      • getName

        public String getName()
        Get the symbolic name, the level name.
      • getColumnName

        public String getColumnName()
        Get the foreign key column name of the aggregate table.
      • isCollapsed

        public boolean isCollapsed()
        Returns whether this level is collapsed (includes parent levels in the agg table).
      • getRolapLevel

        public RolapLevel getRolapLevel()
        Get the RolapLevel associated with level name.
      • validate

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

        The level name must be of the form [hierarchy usage name].[level name].

        This method checks that is of length 2, starts with a hierarchy and the "level name" exists.

      • getOrdinalColumn

        public String getOrdinalColumn()
      • getCaptionColumn

        public String getCaptionColumn()