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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description MondrianDef.Annotations
annotations
Contains values of user-defined properties.String
caption
MondrianDef.CellFormatter
cellFormatter
Cell formatter.String
description
String
dimension
String
formatString
String
formula
MondrianDef.Formula
formulaElement
MDX expression which gives the value of this member.String
hierarchy
MondrianDef.CalculatedMemberProperty[]
memberProperties
String
name
String
parent
Boolean
visible
-
Constructor Summary
Constructors Constructor Description CalculatedMember()
CalculatedMember(org.eigenbase.xom.DOMWrapper _def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
display(PrintWriter _out, int _indent)
boolean
displayDiff(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent)
void
displayXML(org.eigenbase.xom.XMLOutput _out, int _indent)
String
getFormatString()
Returns the format string, looking for a property called "FORMAT_STRING" first, then looking for an attribute called "formatString".String
getFormula()
Returns the formula, looking for a sub-element called "Formula" first, then looking for an attribute called "formula".String
getName()
-
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 MondrianDef.Annotations annotations
Contains values of user-defined properties.
-
formulaElement
public MondrianDef.Formula formulaElement
MDX expression which gives the value of this member.
-
cellFormatter
public MondrianDef.CellFormatter cellFormatter
Cell formatter.
-
memberProperties
public MondrianDef.CalculatedMemberProperty[] memberProperties
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
getName
in classorg.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 interfaceorg.eigenbase.xom.NodeDef
- Overrides:
displayXML
in classorg.eigenbase.xom.ElementDef
-
displayDiff
public boolean displayDiff(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiff
in classorg.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".
-
-