mondrian.olap
Class MondrianDef.Schema

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

public static class MondrianDef.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
 MondrianDef.Cube[] cubes
          Cubes in this schema.
 String defaultRole
           
 MondrianDef.Dimension[] dimensions
          Shared dimensions in this schema.
 String measuresCaption
           
 String name
           
 MondrianDef.NamedSet[] namedSets
          Named sets in this schema.
 MondrianDef.Parameter[] parameters
          This schema's parameter definitions.
 MondrianDef.Role[] roles
          Roles in this schema.
 MondrianDef.UserDefinedFunction[] userDefinedFunctions
          Declarations of user-defined functions in this schema.
 MondrianDef.VirtualCube[] virtualCubes
          Virtual cubes in this schema.
 
Constructor Summary
MondrianDef.Schema()
           
MondrianDef.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)  MondrianDef.Cube getCube(String cubeName)
           
 String getName()
           
(package private)  MondrianDef.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 MondrianDef.Parameter[] parameters
This schema's parameter definitions.


dimensions

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


cubes

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


virtualCubes

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


namedSets

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


roles

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


userDefinedFunctions

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

Constructor Detail

MondrianDef.Schema

public MondrianDef.Schema()

MondrianDef.Schema

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

MondrianDef.Cube getCube(String cubeName)

getPublicDimension

MondrianDef.Dimension getPublicDimension(String dimensionName)

SourceForge.net_Logo