Package mondrian.olap
Class MondrianDef.Schema
- java.lang.Object
-
- org.eigenbase.xom.ElementDef
-
- mondrian.olap.MondrianDef.Schema
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.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
Fields Modifier and Type Field Description MondrianDef.Annotations
annotations
Contains values of user-defined properties.MondrianDef.Cube[]
cubes
Cubes in this schema.java.lang.String
defaultRole
java.lang.String
description
MondrianDef.Dimension[]
dimensions
Shared dimensions in this schema.java.lang.String
measuresCaption
java.lang.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
Constructors Constructor Description Schema()
Schema(DOMWrapper _def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
display(java.io.PrintWriter _out, int _indent)
boolean
displayDiff(ElementDef _other, java.io.PrintWriter _out, int _indent)
void
displayXML(XMLOutput _out, int _indent)
(package private) MondrianDef.Cube
getCube(java.lang.String cubeName)
java.lang.String
getName()
(package private) MondrianDef.Dimension
getPublicDimension(java.lang.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, getLocation, getMixedChildren, getMixedChildren_new, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual
-
-
-
-
Field Detail
-
name
public java.lang.String name
-
description
public java.lang.String description
-
measuresCaption
public java.lang.String measuresCaption
-
defaultRole
public java.lang.String defaultRole
-
annotations
public MondrianDef.Annotations annotations
Contains values of user-defined properties.
-
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
-
Schema
public Schema()
-
Schema
public Schema(DOMWrapper _def) throws XOMException
- Throws:
XOMException
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceNodeDef
- Overrides:
getName
in classElementDef
-
display
public void display(java.io.PrintWriter _out, int _indent)
-
displayXML
public void displayXML(XMLOutput _out, int _indent)
- Specified by:
displayXML
in interfaceNodeDef
- Overrides:
displayXML
in classElementDef
-
displayDiff
public boolean displayDiff(ElementDef _other, java.io.PrintWriter _out, int _indent)
- Overrides:
displayDiff
in classElementDef
-
getCube
MondrianDef.Cube getCube(java.lang.String cubeName)
-
getPublicDimension
MondrianDef.Dimension getPublicDimension(java.lang.String dimensionName)
-
-