Style Intelligence v12.0

inetsoft.uql.xmla
Class XMLADataSource

java.lang.Object
  extended by inetsoft.uql.XDataSource
      extended by inetsoft.uql.xmla.XMLADataSource
All Implemented Interfaces:
inetsoft.util.XMLSerializable, Serializable, Cloneable

public class XMLADataSource
extends XDataSource

XMLA data source records URL and catalog information.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class inetsoft.uql.XDataSource
CORBA, DOMAIN_DB2, DOMAIN_NONE, DOMAIN_ORACLE, DOMAIN_SQL, DOMAIN_SQLSERVER, EJB, JDBC, OBJECT, SAP, SOAP, TEXT, XML, XMLA
 
Constructor Summary
XMLADataSource()
          Create an XMLA data source.
 
Method Summary
 String getCatalogName()
          Get the data source catalog name.
 String getDataSource()
          Get the name of the data source to which this domain is associated.
 String getDatasourceInfo()
          Get the data source info.
 String getDatasourceName()
          Get the data source server side name.
 UserVariable[] getParameters()
          Get the data source connection parameters.
 String getPassword()
          Get the used user password.
 String getURL()
          Get the data source url.
 String getUser()
          Get the used user id.
 boolean isRequireLogin()
          Check if this data soure requires user login.
 void parseXML(Element root)
          Parse the XML element that contains information on this data source.
 void setCatalogName(String catalogName)
          Set the data source catalog name.
 void setDataSource(String datasource)
          Set the name of the data source to which this domain is associated.
 void setDatasourceInfo(String datasourceInfo)
          Set the data source info.
 void setDatasourceName(String datasourceName)
          Set the data source server side name.
 void setPassword(String password)
          Set the user password.
 void setRequireLogin(boolean login)
          Set whether this data source requires user login during connection.
 void setURL(String url)
          Set the data source url.
 void setUser(String user)
          Set the user id.
 void writeXML(PrintWriter writer)
          Generate the XML segment to represent this data source.
 
Methods inherited from class inetsoft.uql.XDataSource
addFolder, clone, equals, getDescription, getDomainType, getFolders, getFullName, getName, getRuntimeValue, getType, hashCode, isMVEnabled, removeFolder, removeFolders, setDescription, setName, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLADataSource

public XMLADataSource()
Create an XMLA data source.

Method Detail

getParameters

public UserVariable[] getParameters()
Get the data source connection parameters.

Specified by:
getParameters in class XDataSource

getDataSource

public String getDataSource()
Get the name of the data source to which this domain is associated.

Returns:
the name of the associated data source.

setDataSource

public void setDataSource(String datasource)
Set the name of the data source to which this domain is associated.

Parameters:
datasource - the name of the associated data source.

getDatasourceName

public String getDatasourceName()
Get the data source server side name.

Returns:
the associated data source server side name.

setDatasourceName

public void setDatasourceName(String datasourceName)
Set the data source server side name.


getDatasourceInfo

public String getDatasourceInfo()
Get the data source info.

Returns:
the associated data source info.

setDatasourceInfo

public void setDatasourceInfo(String datasourceInfo)
Set the data source info.


getCatalogName

public String getCatalogName()
Get the data source catalog name.

Returns:
the associated data source catalog name.

setCatalogName

public void setCatalogName(String catalogName)
Set the data source catalog name.


getURL

public String getURL()
Get the data source url.

Returns:
the associated data source url.

setURL

public void setURL(String url)
Set the data source url.


setRequireLogin

public void setRequireLogin(boolean login)
Set whether this data source requires user login during connection.


isRequireLogin

public boolean isRequireLogin()
Check if this data soure requires user login.


setUser

public void setUser(String user)
Set the user id.


getUser

public String getUser()
Get the used user id.


setPassword

public void setPassword(String password)
Set the user password.


getPassword

public String getPassword()
Get the used user password.


writeXML

public void writeXML(PrintWriter writer)
Generate the XML segment to represent this data source.

Specified by:
writeXML in interface inetsoft.util.XMLSerializable
Overrides:
writeXML in class XDataSource

parseXML

public void parseXML(Element root)
              throws Exception
Parse the XML element that contains information on this data source.

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Overrides:
parseXML in class XDataSource
Throws:
Exception

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.