mondrian.olap
Class MondrianDef.HierarchyGrant

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

public static class MondrianDef.HierarchyGrant
extends MondrianDef.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
           
 MondrianDef.MemberGrant[] memberGrants
           
 String rollupPolicy
           
 String topLevel
           
 
Fields inherited from class mondrian.olap.MondrianDef.Grant
_access_values, access
 
Constructor Summary
MondrianDef.HierarchyGrant()
           
MondrianDef.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

rollupPolicy

public String rollupPolicy

memberGrants

public MondrianDef.MemberGrant[] memberGrants
Constructor Detail

MondrianDef.HierarchyGrant

public MondrianDef.HierarchyGrant()

MondrianDef.HierarchyGrant

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

getName

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

display

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

displayXML

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

displayDiff

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

SourceForge.net_Logo