mondrian.xmla
Class DataSourcesConfig.DataSource

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

public static class DataSourcesConfig.DataSource
extends ElementDef

Definition of a data source.

See Also:
Serialized Form
 

Field Summary
static String AUTH_MODE_AUTHENTICATED
           
static String AUTH_MODE_INTEGRATED
           
static String AUTH_MODE_UNAUTHENTICATED
           
 String authenticationMode
          Ignored.
 DataSourcesConfig.Catalogs catalogs
          One or more Catalogs.
 String dataSourceInfo
          ConnectString of Mondrian (minus the catalog entry).
 String description
          Description.
 String name
          Name.
static String PROVIDER_TYPE_DMP
           
static String PROVIDER_TYPE_MDP
           
static String PROVIDER_TYPE_TDP
           
 String providerName
          Customized Service Provider Name.
 String providerType
          Ignored.
 String url
          URL of Web Services invocation.
 
Constructor Summary
DataSourcesConfig.DataSource()
           
DataSourcesConfig.DataSource(DOMWrapper _def)
           
 
Method Summary
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
 String getAuthenticationMode()
           
 String getDataSourceDescription()
           
 String getDataSourceInfo()
           
 String getDataSourceName()
           
 String getName()
           
 String getProviderName()
           
 String[] getProviderType()
           
 String getURL()
           
 
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
Name.


description

public String description
Description.


url

public String url
URL of Web Services invocation.


dataSourceInfo

public String dataSourceInfo
ConnectString of Mondrian (minus the catalog entry). Required, but catalog may override.


providerName

public String providerName
Customized Service Provider Name.


providerType

public String providerType
Ignored. Only return "MDP" for DISCOVER_DATASOURCES.


authenticationMode

public String authenticationMode
Ignored. Only return "Unauthenticated" for DISCOVER_DATASOURCES.


catalogs

public DataSourcesConfig.Catalogs catalogs
One or more Catalogs.


PROVIDER_TYPE_TDP

public static final String PROVIDER_TYPE_TDP
See Also:
Constant Field Values

PROVIDER_TYPE_MDP

public static final String PROVIDER_TYPE_MDP
See Also:
Constant Field Values

PROVIDER_TYPE_DMP

public static final String PROVIDER_TYPE_DMP
See Also:
Constant Field Values

AUTH_MODE_UNAUTHENTICATED

public static final String AUTH_MODE_UNAUTHENTICATED
See Also:
Constant Field Values

AUTH_MODE_AUTHENTICATED

public static final String AUTH_MODE_AUTHENTICATED
See Also:
Constant Field Values

AUTH_MODE_INTEGRATED

public static final String AUTH_MODE_INTEGRATED
See Also:
Constant Field Values
Constructor Detail

DataSourcesConfig.DataSource

public DataSourcesConfig.DataSource()

DataSourcesConfig.DataSource

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

getDataSourceName

public String getDataSourceName()

getDataSourceDescription

public String getDataSourceDescription()

getURL

public String getURL()

getDataSourceInfo

public String getDataSourceInfo()

getProviderName

public String getProviderName()

getProviderType

public String[] getProviderType()

getAuthenticationMode

public String getAuthenticationMode()

SourceForge.net_Logo