Package mondrian.olap

Class HierarchyBase

java.lang.Object
mondrian.olap.OlapElementBase
mondrian.olap.HierarchyBase
All Implemented Interfaces:
Annotated, Hierarchy, OlapElement
Direct Known Subclasses:
RolapHierarchy

public abstract class HierarchyBase extends OlapElementBase implements Hierarchy
Skeleton implementation for Hierarchy.
Since:
6 August, 2001
Author:
jhyde
  • Field Details

    • dimension

      protected final Dimension dimension
    • subName

      protected final String subName
      name and subName are the name of the hierarchy, respectively containing and not containing dimension name. For example:
      uniqueName name subName
      [Time.Weekly] Time.Weekly Weekly
      [Customers] Customers null

      If MondrianProperties.SsasCompatibleNaming is true, name and subName have the same value.

    • name

      protected final String name
    • uniqueName

      protected final String uniqueName
    • description

      protected String description
    • levels

      protected Level[] levels
    • hasAll

      protected final boolean hasAll
    • allMemberName

      protected String allMemberName
    • allLevelName

      protected String allLevelName
  • Constructor Details

    • HierarchyBase

      protected HierarchyBase(Dimension dimension, String subName, String caption, boolean visible, String description, boolean hasAll)
  • Method Details