Package mondrian.olap

Class MondrianDef.CubeDimension

    • Constructor Detail

      • CubeDimension

        public CubeDimension()
      • CubeDimension

        public CubeDimension​(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
      • getDimension

        public abstract MondrianDef.Dimension getDimension​(MondrianDef.Schema schema)
        Looks up the base dimension of this dimension. If this is a usage of a shared dimension, returns the referenced dimension; otherwise returns the dimension itself.

        Never returns null; if the dimension cannot be found, throws an error.

        Parameters:
        schema - Schema, never null