mondrian.xmla
Class DataSourcesConfig.Catalog

java.lang.Object
  extended by org.eigenbase.xom.ElementDef
      extended by mondrian.xmla.DataSourcesConfig.Catalog
All Implemented Interfaces:
Serializable, Cloneable, NodeDef
Enclosing class:
DataSourcesConfig

public static class DataSourcesConfig.Catalog
extends ElementDef

See Also:
Serialized Form
 

Field Summary
 String dataSourceInfo
          ConnectString of Mondrian (minus the catalog entry).
 String definition
          URI of the schema definition file, for example "/WEB-INF/schema/Marketing.xml".
 String name
           
 
Constructor Summary
DataSourcesConfig.Catalog()
           
DataSourcesConfig.Catalog(DOMWrapper _def)
           
 
Method Summary
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
 DataSourcesConfig.DataSource getDataSource()
          Returns this catalog's parent data source.
 String getDataSourceInfo()
          Returns this catalog's connect string, or its parent's connect string if not set.
 String getName()
           
 void setDataSource(DataSourcesConfig.DataSource dataSource)
          Sets this catalog's parent data source, so that the data source's definition can be inherited.
 
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

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".

Constructor Detail

DataSourcesConfig.Catalog

public DataSourcesConfig.Catalog()

DataSourcesConfig.Catalog

public DataSourcesConfig.Catalog(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

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.


SourceForge.net_Logo