mondrian.gui
Class MondrianGuiDef.Cube

java.lang.Object
  extended by org.eigenbase.xom.ElementDef
      extended by mondrian.gui.MondrianGuiDef.Cube
All Implemented Interfaces:
Serializable, Cloneable, NodeDef
Enclosing class:
MondrianGuiDef

public static class MondrianGuiDef.Cube
extends ElementDef

Definition of a cube.

See Also:
Serialized Form

Field Summary
 Boolean cache
           
 MondrianGuiDef.CalculatedMember[] calculatedMembers
          Calculated members in this cube.
 String caption
           
 MondrianGuiDef.CubeDimension[] dimensions
           
 Boolean enabled
           
 MondrianGuiDef.Relation fact
          The fact table is the source of all measures in this cube.
 MondrianGuiDef.Measure[] measures
           
 String name
           
 MondrianGuiDef.NamedSet[] namedSets
          Named sets in this cube.
 
Constructor Summary
MondrianGuiDef.Cube()
           
MondrianGuiDef.Cube(DOMWrapper _def)
           
 
Method Summary
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
 boolean equals(Object o)
           
(package private)  MondrianGuiDef.Dimension getDimension(MondrianGuiDef.Schema xmlSchema, String dimensionName)
           
 String getName()
           
 boolean isEnabled()
           
 
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, getChildren, getElementChildren, getElementClass, getMixedChildren_new, getMixedChildren, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name

caption

public String caption

cache

public Boolean cache

enabled

public Boolean enabled

fact

public MondrianGuiDef.Relation fact
The fact table is the source of all measures in this cube. If this is a Table and the schema name is not present, table name is left unqualified.


dimensions

public MondrianGuiDef.CubeDimension[] dimensions

measures

public MondrianGuiDef.Measure[] measures

calculatedMembers

public MondrianGuiDef.CalculatedMember[] calculatedMembers
Calculated members in this cube.


namedSets

public MondrianGuiDef.NamedSet[] namedSets
Named sets in this cube.

Constructor Detail

MondrianGuiDef.Cube

public MondrianGuiDef.Cube()

MondrianGuiDef.Cube

public MondrianGuiDef.Cube(DOMWrapper _def)
                    throws XOMException
Throws:
XOMException
Method Detail

getName

public String getName()
Specified by:
getName in interface NodeDef
Overrides:
getName in class ElementDef

display

public void display(PrintWriter _out,
                    int _indent)

displayXML

public void displayXML(XMLOutput _out,
                       int _indent)
Specified by:
displayXML in interface NodeDef
Overrides:
displayXML in class ElementDef

displayDiff

public boolean displayDiff(ElementDef _other,
                           PrintWriter _out,
                           int _indent)
Overrides:
displayDiff in class ElementDef

isEnabled

public boolean isEnabled()

getDimension

MondrianGuiDef.Dimension getDimension(MondrianGuiDef.Schema xmlSchema,
                                      String dimensionName)

equals

public boolean equals(Object o)
Overrides:
equals in class ElementDef

SourceForge.net_Logo