ch.sahits.model.db
Interface IDBTable

All Superinterfaces:
IGeneratedObject
All Known Subinterfaces:
IConnectableDataBaseTable, IPHPDBModel
All Known Implementing Classes:
BasicDataBaseTable, DataBaseTable

public interface IDBTable
extends IGeneratedObject

This interface defines the methods that are needed for data to access a database

Since:
0.9.3
Author:
Andi Hotz

Method Summary
 java.lang.String getDbName()
           
 java.lang.String getDbProductName()
           
 java.lang.String getHost()
           
 java.lang.String getPassword()
           
 java.lang.String getPort()
           
 java.lang.String getSchema()
          Retrieve the schema.
 java.lang.String getTableName()
          Retrieve the table name
 java.lang.String getUserName()
           
 void setDbName(java.lang.String _dbName)
           
 void setHost(java.lang.String _host)
           
 void setPassword(java.lang.String _password)
           
 void setPort(java.lang.String _port)
           
 void setSchema(java.lang.String _schema)
          Set the database schema.
 void setTableName(java.lang.String _tableName)
          Set the table name.
 void setUserName(java.lang.String _userName)
           
 

Method Detail

getDbProductName

java.lang.String getDbProductName()
Returns:
the dbProductName

getSchema

java.lang.String getSchema()
Retrieve the schema.

Returns:
database schema

setSchema

void setSchema(java.lang.String _schema)
Set the database schema. Stored in upper-case

Parameters:
_schema -

getTableName

java.lang.String getTableName()
Retrieve the table name

Returns:
table name

setTableName

void setTableName(java.lang.String _tableName)
Set the table name. Stored in upper-case

Parameters:
_tableName -

getHost

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

setHost

void setHost(java.lang.String _host)
Parameters:
_host - the host to set

getPort

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

setPort

void setPort(java.lang.String _port)
Parameters:
_port - the port to set

getUserName

java.lang.String getUserName()
Returns:
the userName

setUserName

void setUserName(java.lang.String _userName)
Parameters:
_userName - the userName to set

getPassword

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

setPassword

void setPassword(java.lang.String _password)
Parameters:
_password - the password to set

getDbName

java.lang.String getDbName()
Returns:
the dbName

setDbName

void setDbName(java.lang.String _dbName)
Parameters:
_dbName - the dbName to set