mondrian.olap
Class MondrianDef.SchemaGrant

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

public static class MondrianDef.SchemaGrant
extends MondrianDef.Grant

Grants (or denies) this role access to this schema. access may be "all", "all_dimensions", or "none". If access is "all_dimensions", the role has access to all dimensions but still needs explicit access to cubes. See mondrian.olap.Role#grant(mondrian.olap.Schema,int).

See Also:
Serialized Form
 

Field Summary
 MondrianDef.CubeGrant[] cubeGrants
           
 
Fields inherited from class mondrian.olap.MondrianDef.Grant
_access_values, access
 
Constructor Summary
MondrianDef.SchemaGrant()
           
MondrianDef.SchemaGrant(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

cubeGrants

public MondrianDef.CubeGrant[] cubeGrants
Constructor Detail

MondrianDef.SchemaGrant

public MondrianDef.SchemaGrant()

MondrianDef.SchemaGrant

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