Package mondrian.olap

Class MondrianDef.CalculatedMember

java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.olap.MondrianDef.CalculatedMember
All Implemented Interfaces:
Serializable, Cloneable, org.eigenbase.xom.NodeDef
Enclosing class:
MondrianDef

public static class MondrianDef.CalculatedMember extends org.eigenbase.xom.ElementDef
See Also:
  • Field Details

  • Constructor Details

    • CalculatedMember

      public CalculatedMember()
    • CalculatedMember

      public CalculatedMember(org.eigenbase.xom.DOMWrapper _def) throws org.eigenbase.xom.XOMException
      Throws:
      org.eigenbase.xom.XOMException
  • Method Details

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

      public String getFormula()
      Returns the formula, looking for a sub-element called "Formula" first, then looking for an attribute called "formula".
    • getFormatString

      public String getFormatString()
      Returns the format string, looking for a property called "FORMAT_STRING" first, then looking for an attribute called "formatString".