mondrian.olap
Class MondrianDef.Hierarchy

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

public static class MondrianDef.Hierarchy
extends ElementDef

Defines a hierarchy. You must specify at most one or memberReaderClass. If you specify none, the hierarchy is assumed to come from the same fact table of the current cube.

See Also:
Serialized Form
 

Field Summary
 String allLevelName
           
 String allMemberCaption
           
 String allMemberName
           
 String caption
           
 String defaultMember
           
 Boolean hasAll
           
 MondrianDef.Level[] levels
           
 String memberReaderClass
           
 MondrianDef.MemberReaderParameter[] memberReaderParameters
           
 String name
           
 String primaryKey
           
 String primaryKeyTable
           
 MondrianDef.RelationOrJoin relation
          The table, set of tables, SQL statement, or inline table which populates this hierarchy.
 
Constructor Summary
MondrianDef.Hierarchy()
           
MondrianDef.Hierarchy(DOMWrapper _def)
           
 
Method Summary
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
 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, 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

hasAll

public Boolean hasAll

allMemberName

public String allMemberName

allMemberCaption

public String allMemberCaption

allLevelName

public String allLevelName

primaryKey

public String primaryKey

primaryKeyTable

public String primaryKeyTable

defaultMember

public String defaultMember

memberReaderClass

public String memberReaderClass

caption

public String caption

relation

public MondrianDef.RelationOrJoin relation
The table, set of tables, SQL statement, or inline table which populates this hierarchy.


levels

public MondrianDef.Level[] levels

memberReaderParameters

public MondrianDef.MemberReaderParameter[] memberReaderParameters
Constructor Detail

MondrianDef.Hierarchy

public MondrianDef.Hierarchy()

MondrianDef.Hierarchy

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

SourceForge.net_Logo