Package mondrian.gui
Class MondrianGuiDef.Closure
- java.lang.Object
-
- org.eigenbase.xom.ElementDef
-
- mondrian.gui.MondrianGuiDef.Closure
-
- All Implemented Interfaces:
Serializable,Cloneable,NodeDef
- Enclosing class:
- MondrianGuiDef
public static class MondrianGuiDef.Closure extends ElementDef
Specifies the transitive closure of a parent-child hierarchy. Optional, but recommended for better performance. The closure is provided as a set of (parent/child) pairs: since it is the transitive closure these are actually (ancestor/descendant) pairs.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StringchildColumnStringparentColumnMondrianGuiDef.Tabletable
-
Constructor Summary
Constructors Constructor Description Closure()Closure(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)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
-
parentColumn
public String parentColumn
-
childColumn
public String childColumn
-
table
public MondrianGuiDef.Table table
-
-
Constructor Detail
-
Closure
public Closure()
-
Closure
public Closure(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
-
-