mondrian.gui
Class MondrianGuiDef.Schema

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

public static class MondrianGuiDef.Schema
extends ElementDef

A schema is a collection of cubes and virtual cubes. It can also contain shared dimensions (for use by those cubes), named sets, roles, and declarations of user-defined functions.

See Also:
Serialized Form
 

Field Summary
 MondrianGuiDef.Cube[] cubes
          Cubes in this schema.
 String defaultRole
           
 MondrianGuiDef.Dimension[] dimensions
          Shared dimensions in this schema.
 String measuresCaption
           
 String name
           
 MondrianGuiDef.NamedSet[] namedSets
          Named sets in this schema.
 MondrianGuiDef.Parameter[] parameters
          This schema's parameter definitions.
 MondrianGuiDef.Role[] roles
          Roles in this schema.
 MondrianGuiDef.UserDefinedFunction[] userDefinedFunctions
          Declarations of user-defined functions in this schema.
 MondrianGuiDef.VirtualCube[] virtualCubes
          Virtual cubes in this schema.
 
Constructor Summary
MondrianGuiDef.Schema()
           
MondrianGuiDef.Schema(DOMWrapper _def)
           
 
Method Summary
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
(package private)  MondrianGuiDef.Cube getCube(String cubeName)
           
 String getName()
           
(package private)  MondrianGuiDef.Dimension getPublicDimension(String dimensionName)
           
 
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

measuresCaption

public String measuresCaption

defaultRole

public String defaultRole

parameters

public MondrianGuiDef.Parameter[] parameters
This schema's parameter definitions.


dimensions

public MondrianGuiDef.Dimension[] dimensions
Shared dimensions in this schema.


cubes

public MondrianGuiDef.Cube[] cubes
Cubes in this schema.


virtualCubes

public MondrianGuiDef.VirtualCube[] virtualCubes
Virtual cubes in this schema.


namedSets

public MondrianGuiDef.NamedSet[] namedSets
Named sets in this schema.


roles

public MondrianGuiDef.Role[] roles
Roles in this schema.


userDefinedFunctions

public MondrianGuiDef.UserDefinedFunction[] userDefinedFunctions
Declarations of user-defined functions in this schema.

Constructor Detail

MondrianGuiDef.Schema

public MondrianGuiDef.Schema()

MondrianGuiDef.Schema

public MondrianGuiDef.Schema(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

getCube

MondrianGuiDef.Cube getCube(String cubeName)

getPublicDimension

MondrianGuiDef.Dimension getPublicDimension(String dimensionName)

SourceForge.net_Logo