mondrian.xmla
Class DataSourcesConfig.Catalog
java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.xmla.DataSourcesConfig.Catalog
- All Implemented Interfaces:
- Serializable, Cloneable, NodeDef
- Enclosing class:
- DataSourcesConfig
public static class DataSourcesConfig.Catalog
- extends ElementDef
- See Also:
- Serialized Form
-
-
| 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 |
name
public String name
dataSourceInfo
public String dataSourceInfo
- ConnectString of Mondrian (minus the catalog entry).
This entry is optional; if present, it overrides the
DataSourceInfo within the DataSource.
definition
public String definition
- URI of the schema definition file, for example
"/WEB-INF/schema/Marketing.xml".
DataSourcesConfig.Catalog
public DataSourcesConfig.Catalog()
DataSourcesConfig.Catalog
public DataSourcesConfig.Catalog(DOMWrapper _def)
throws XOMException
- Throws:
XOMException
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
setDataSource
public void setDataSource(DataSourcesConfig.DataSource dataSource)
- Sets this catalog's parent data source, so that the data
source's definition can be inherited.
getDataSource
public DataSourcesConfig.DataSource getDataSource()
- Returns this catalog's parent data source.
getDataSourceInfo
public String getDataSourceInfo()
- Returns this catalog's connect string, or its parent's
connect string if not set.