oracle.dmt.odm
Interface Connection

All Known Implementing Classes:
ODMConnection

public interface Connection

The interface Connection defines methods to communicate with a Data Mining Server (DMS) in an Oracle 9i database.


Method Summary
TypeMethod
 java.sql.Connection getDBConnection()
          Returns the database connection from the connection instance.
 java.util.Locale getLocale()
          Returns the locale of the connected Data Mining Server.
 java.lang.String getPassword()
          Returns the login user password.
 oracle.dmt.dmutil.base.Enumerations.TraceSettingType getTraceLevel(oracle.dmt.dmutil.base.Enumerations.MessageSubComponentType componentType)
           
 java.lang.String getURL()
          Returns the URL to the connected Data Mining Server.
 java.lang.String getUser()
          Returns the login user name.
 void setLocale(java.util.Locale locale)
          Sets the locale in the Data Mining Server.
 

Method Detail

getUser

public java.lang.String getUser()
Returns the login user name.
Returns:
String - The name of the login user

getPassword

public java.lang.String getPassword()
Returns the login user password.
Returns:
String - The login password

getDBConnection

public java.sql.Connection getDBConnection()
Returns the database connection from the connection instance.
Returns:
java.sql.Connection - A database connection

getURL

public java.lang.String getURL()
Returns the URL to the connected Data Mining Server.
Returns:
String - The URL of the DMS

setLocale

public void setLocale(java.util.Locale locale)
               throws java.sql.SQLException
Sets the locale in the Data Mining Server.
Parameters:
locale - A new locale
Throws:
java.sql.SQLException - when an error occurs during the execution.

getLocale

public java.util.Locale getLocale()
Returns the locale of the connected Data Mining Server.
Returns:
Locale - The locale of the DMS

getTraceLevel

public oracle.dmt.dmutil.base.Enumerations.TraceSettingType getTraceLevel(oracle.dmt.dmutil.base.Enumerations.MessageSubComponentType componentType)
                                                                   throws oracle.dmt.dmutil.exceptions.MessageLogException