textmaven.dictionaries
Interface IDatabaseServer

All Superinterfaces:
IServer
All Known Implementing Classes:
Server, ServerProxy

public interface IDatabaseServer
extends IServer

Author:
krebtho

Method Summary
 java.sql.Connection getConnection()
          Returns connection to database server
 java.lang.String getHost()
           
 java.lang.String getJdbcDriver()
           
 java.lang.String getJdbcDSN()
           
 java.lang.String getPassword()
           
 java.lang.String getPort()
           
 java.lang.String getStartCommand()
           
 java.lang.String getStopCommand()
           
 java.lang.String getUser()
           
 void setHost(java.lang.String host)
           
 void setJdbcDriver(java.lang.String driver)
           
 void setJdbcDSN(java.lang.String jdbcDSN)
           
 void setPassword(java.lang.String password)
           
 void setPort(java.lang.String port)
           
 void setStartCommand(java.lang.String startCommand)
           
 void setStopCommand(java.lang.String stopCommand)
           
 void setUser(java.lang.String user)
           
 
Methods inherited from interface textmaven.dictionaries.IServer
getDescription, getId, getStatementFactory, getStatementFactory, setDescription, setId, setStatementFactory, start, stop
 

Method Detail

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Returns connection to database server

Returns:
Connection to database server
Throws:
java.sql.SQLException

getJdbcDriver

public java.lang.String getJdbcDriver()
Returns:
Returns the driver.

setJdbcDriver

public void setJdbcDriver(java.lang.String driver)
Parameters:
driver - The driver to set.

getHost

public java.lang.String getHost()
Returns:
Returns the host.

setHost

public void setHost(java.lang.String host)
Parameters:
host - The host to set.

getJdbcDSN

public java.lang.String getJdbcDSN()
Returns:
Returns the jdbcDSN.

setJdbcDSN

public void setJdbcDSN(java.lang.String jdbcDSN)
Parameters:
jdbcDSN - The jdbcDSN to set.

getPassword

public java.lang.String getPassword()
Returns:
Returns the password.

setPassword

public void setPassword(java.lang.String password)
Parameters:
password - The password to set.

getPort

public java.lang.String getPort()
Returns:
Returns the port.

setPort

public void setPort(java.lang.String port)
Parameters:
port - The port to set.

getStartCommand

public java.lang.String getStartCommand()
Returns:
Returns the startCommand.

setStartCommand

public void setStartCommand(java.lang.String startCommand)
Parameters:
startCommand - The startCommand to set.

getStopCommand

public java.lang.String getStopCommand()
Returns:
Returns the stopCommand.

setStopCommand

public void setStopCommand(java.lang.String stopCommand)
Parameters:
stopCommand - The stopCommand to set.

getUser

public java.lang.String getUser()
Returns:
Returns the user.

setUser

public void setUser(java.lang.String user)
Parameters:
user - The user to set.


Copyright © 2002-2005 Sourceforge. All Rights Reserved.