mondrian.gui
Class MondrianGuiDef.HierarchyGrant

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

public static class MondrianGuiDef.HierarchyGrant
extends MondrianGuiDef.Grant

Grants (or denies) this role access to a hierarchy. access may be "all", "custom" or "none". If access is "custom", you may also specify the attributes topLevel, bottomLevel, and the member grants. See mondrian.olap.Role#grant(mondrian.olap.Hierarchy, int, mondrian.olap.Level).

See Also:
Serialized Form
 

Field Summary
 String bottomLevel
           
 String hierarchy
           
 MondrianGuiDef.MemberGrant[] memberGrants
           
 String topLevel
           
 
Fields inherited from class mondrian.gui.MondrianGuiDef.Grant
_access_values, access
 
Constructor Summary
MondrianGuiDef.HierarchyGrant()
           
MondrianGuiDef.HierarchyGrant(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

hierarchy

public String hierarchy

topLevel

public String topLevel

bottomLevel

public String bottomLevel

memberGrants

public MondrianGuiDef.MemberGrant[] memberGrants
Constructor Detail

MondrianGuiDef.HierarchyGrant

public MondrianGuiDef.HierarchyGrant()

MondrianGuiDef.HierarchyGrant

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

getName

public String getName()
Specified by:
getName in interface NodeDef
Overrides:
getName in class MondrianGuiDef.Grant

display

public void display(PrintWriter _out,
                    int _indent)
Specified by:
display in interface NodeDef
Overrides:
display in class MondrianGuiDef.Grant

displayXML

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

displayDiff

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

SourceForge.net_Logo