Package mondrian.gui
Class MondrianGuiDef.CalculatedMember
- java.lang.Object
-
- org.eigenbase.xom.ElementDef
-
- mondrian.gui.MondrianGuiDef.CalculatedMember
-
- All Implemented Interfaces:
Serializable,Cloneable,NodeDef
- Enclosing class:
- MondrianGuiDef
public static class MondrianGuiDef.CalculatedMember extends ElementDef
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description MondrianGuiDef.AnnotationsannotationsContains values of user-defined properties.StringcaptionMondrianGuiDef.CellFormattercellFormatterCell formatter.StringdescriptionStringdimensionStringformatStringStringformulaMondrianGuiDef.FormulaformulaElementMDX expression which gives the value of this member.StringhierarchyMondrianGuiDef.CalculatedMemberProperty[]memberPropertiesStringnameStringparentBooleanvisible
-
Constructor Summary
Constructors Constructor Description CalculatedMember()CalculatedMember(DOMWrapper _def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisplay(PrintWriter _out, int _indent)booleandisplayDiff(ElementDef _other, PrintWriter _out, int _indent)voiddisplayXML(XMLOutput _out, int _indent)StringgetFormula()Returns the formula, looking for a sub-element called "Formula" first, then looking for an attribute called "formula".StringgetName()-
Methods inherited from class org.eigenbase.xom.ElementDef
addChild, addChildren, clone, constructElement, constructElement, deepCopy, diff, displayAttribute, displayAttributeDiff, displayElement, displayElementArray, displayElementArrayDiff, displayElementDiff, displayIndent, displayString, displayStringArray, displayStringArrayDiff, displayStringDiff, displayXML, displayXMLElement, displayXMLElementArray, displayXMLString, displayXMLStringArray, equals, getChildren, getElementChildren, getElementClass, getLocation, getMixedChildren, getMixedChildren_new, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual
-
-
-
-
Field Detail
-
name
public String name
-
formatString
public String formatString
-
caption
public String caption
-
description
public String description
-
formula
public String formula
-
dimension
public String dimension
-
hierarchy
public String hierarchy
-
parent
public String parent
-
visible
public Boolean visible
-
annotations
public MondrianGuiDef.Annotations annotations
Contains values of user-defined properties.
-
formulaElement
public MondrianGuiDef.Formula formulaElement
MDX expression which gives the value of this member.
-
cellFormatter
public MondrianGuiDef.CellFormatter cellFormatter
Cell formatter.
-
memberProperties
public MondrianGuiDef.CalculatedMemberProperty[] memberProperties
-
-
Constructor Detail
-
CalculatedMember
public CalculatedMember()
-
CalculatedMember
public CalculatedMember(DOMWrapper _def) throws XOMException
- Throws:
XOMException
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceNodeDef- Overrides:
getNamein classElementDef
-
display
public void display(PrintWriter _out, int _indent)
-
displayXML
public void displayXML(XMLOutput _out, int _indent)
- Specified by:
displayXMLin interfaceNodeDef- Overrides:
displayXMLin classElementDef
-
displayDiff
public boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiffin classElementDef
-
getFormula
public String getFormula()
Returns the formula, looking for a sub-element called "Formula" first, then looking for an attribute called "formula".
-
-