Package mondrian.olap

Class MondrianDef.Hierarchy

  • All Implemented Interfaces:
    Serializable, Cloneable, org.eigenbase.xom.NodeDef
    Enclosing class:
    MondrianDef

    public static class MondrianDef.Hierarchy
    extends org.eigenbase.xom.ElementDef
    Defines a hierarchy. You must specify at most one or memberReaderClass. If you specify none, the hierarchy is assumed to come from the same fact table of the current cube.
    See Also:
    Serialized Form
    • Constructor Detail

      • Hierarchy

        public Hierarchy()
      • Hierarchy

        public Hierarchy​(org.eigenbase.xom.DOMWrapper _def)
                  throws org.eigenbase.xom.XOMException
        Throws:
        org.eigenbase.xom.XOMException
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.eigenbase.xom.NodeDef
        Overrides:
        getName in class org.eigenbase.xom.ElementDef
      • display

        public void display​(PrintWriter _out,
                            int _indent)
      • displayXML

        public void displayXML​(org.eigenbase.xom.XMLOutput _out,
                               int _indent)
        Specified by:
        displayXML in interface org.eigenbase.xom.NodeDef
        Overrides:
        displayXML in class org.eigenbase.xom.ElementDef
      • displayDiff

        public boolean displayDiff​(org.eigenbase.xom.ElementDef _other,
                                   PrintWriter _out,
                                   int _indent)
        Overrides:
        displayDiff in class org.eigenbase.xom.ElementDef