mondrian.olap
Class MondrianDef.Cube

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

public static class MondrianDef.Cube
extends ElementDef

Definition of a cube.

See Also:
Serialized Form
 

Field Summary
 Boolean cache
           
 MondrianDef.CalculatedMember[] calculatedMembers
          Calculated members in this cube.
 String caption
           
 String defaultMeasure
           
 MondrianDef.CubeDimension[] dimensions
           
 Boolean enabled
           
 MondrianDef.Relation fact
          The fact table is the source of all measures in this cube.
 MondrianDef.Measure[] measures
           
 String name
           
 MondrianDef.NamedSet[] namedSets
          Named sets in this cube.
 
Constructor Summary
MondrianDef.Cube()
           
MondrianDef.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)
           
(package private)  MondrianDef.Dimension getDimension(MondrianDef.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, equals, 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

defaultMeasure

public String defaultMeasure

cache

public Boolean cache

enabled

public Boolean enabled

fact

public MondrianDef.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 MondrianDef.CubeDimension[] dimensions

measures

public MondrianDef.Measure[] measures

calculatedMembers

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


namedSets

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

Constructor Detail

MondrianDef.Cube

public MondrianDef.Cube()

MondrianDef.Cube

public MondrianDef.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

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

SourceForge.net_Logo