public interface

RepositorySettings

com.microstrategy.web.objects.admin.serverconfig.RepositorySettings

Class Overview

An object of type RepositorySettings should be used to fill up the information required to connect to a data source for repository initialization using RepositorySource.

Summary

Public Methods
abstract String getDSN()
Returns the Data Source Name.
abstract int getDatabaseType()
Returns the database type set.
abstract String getLogin()
Returns the Login set
abstract String getMDTablePrefix()
Returns the Metadata Table Prefix.
abstract String getMDTempTablePrefix()
Returns the Metadata Temp Table Prefix.
abstract String getODBCSettings()
Returns the ODBC Settings.
abstract void setDSN(String DSN)
Sets the Data Source Name.
abstract void setDatabaseType(int databaseType)
Sets the database type.
abstract void setLogin(String login)
Sets the Login..
abstract void setMDTablePrefix(String MDTablePrefix)
Sets the Metadata Table Prefix.
abstract void setMDTempTablePrefix(String MDTablePrefix)
Sets the Metadata Temp Table Prefix.
abstract void setODBCSettings(String ODBCParams)
Sets the ODBC Settings.
abstract void setPassword(String password)
Sets the Password

Public Methods

public abstract String getDSN ()

Returns the Data Source Name.

Returns
  • The data source name set.

public abstract int getDatabaseType ()

Returns the database type set. This will be a value from the enumeration EnumDSSXMLDatabaseType.

Returns
  • The databasetype set.

public abstract String getLogin ()

Returns the Login set

Returns
  • The login set.

public abstract String getMDTablePrefix ()

Returns the Metadata Table Prefix.

Returns
  • The Metadata Table Prefix set.

public abstract String getMDTempTablePrefix ()

Returns the Metadata Temp Table Prefix.

Returns
  • The Metadata Temp Table Prefix set.

public abstract String getODBCSettings ()

Returns the ODBC Settings.

Returns
  • The ODBC settings set.

public abstract void setDSN (String DSN)

Sets the Data Source Name.

Parameters
DSN The data source name to be set.

public abstract void setDatabaseType (int databaseType)

Sets the database type. This should be a value from the enumeration EnumDSSXMLDatabaseType.

Parameters
databaseType The database type.

public abstract void setLogin (String login)

Sets the Login..

Parameters
login The login for the data source.

public abstract void setMDTablePrefix (String MDTablePrefix)

Sets the Metadata Table Prefix.

Parameters
MDTablePrefix The Metadata Table Prefix to be set.

public abstract void setMDTempTablePrefix (String MDTablePrefix)

Sets the Metadata Temp Table Prefix.

Parameters
MDTablePrefix The Metadata Temp Table Prefix to be set.

public abstract void setODBCSettings (String ODBCParams)

Sets the ODBC Settings. If connecting to data source requires any ODBC Settings, then only this is needed.

Parameters
ODBCParams The ODBC Settings.

public abstract void setPassword (String password)

Sets the Password

Parameters
password The password for the data source.