Package mondrian.gui
Class MondrianGuiDef.Schema
- java.lang.Object
-
- org.eigenbase.xom.ElementDef
-
- 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
Fields Modifier and Type Field Description MondrianGuiDef.AnnotationsannotationsContains values of user-defined properties.MondrianGuiDef.Cube[]cubesCubes in this schema.StringdefaultRoleStringdescriptionMondrianGuiDef.Dimension[]dimensionsShared dimensions in this schema.StringmeasuresCaptionStringnameMondrianGuiDef.NamedSet[]namedSetsNamed sets in this schema.MondrianGuiDef.Parameter[]parametersThis schema's parameter definitions.MondrianGuiDef.Role[]rolesRoles in this schema.MondrianGuiDef.UserDefinedFunction[]userDefinedFunctionsDeclarations of user-defined functions in this schema.MondrianGuiDef.VirtualCube[]virtualCubesVirtual 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 voiddisplay(PrintWriter _out, int _indent)booleandisplayDiff(ElementDef _other, PrintWriter _out, int _indent)voiddisplayXML(XMLOutput _out, int _indent)(package private) MondrianGuiDef.CubegetCube(String cubeName)StringgetName()(package private) MondrianGuiDef.DimensiongetPublicDimension(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 String name
-
description
public String description
-
measuresCaption
public String measuresCaption
-
defaultRole
public String defaultRole
-
annotations
public MondrianGuiDef.Annotations annotations
Contains values of user-defined properties.
-
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
-
Schema
public Schema()
-
Schema
public Schema(DOMWrapper _def) throws XOMException
- Throws:
XOMException
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceNodeDef- Overrides:
getNamein classElementDef
-
display
public void display(PrintWriter _out, int _indent)
-
displayXML
public void displayXML(XMLOutput _out, int _indent)
- Specified by:
displayXMLin interfaceNodeDef- Overrides:
displayXMLin classElementDef
-
displayDiff
public boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiffin classElementDef
-
getCube
MondrianGuiDef.Cube getCube(String cubeName)
-
getPublicDimension
MondrianGuiDef.Dimension getPublicDimension(String dimensionName)
-
-