|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hardcode.gdbms.engine.data.AbstractDataSourceDefinition com.hardcode.gdbms.engine.data.db.DBTableSourceDefinition
public class DBTableSourceDefinition
Field Summary | |
---|---|
protected DBSource |
def
|
protected java.lang.String |
driverName
|
Constructor Summary | |
---|---|
DBTableSourceDefinition(java.lang.String name,
DBSource def,
java.lang.String driverName)
Creates a new DBTableSourceDefinition |
Method Summary | |
---|---|
DataSource |
createDataSource(java.lang.String tableName,
java.lang.String tableAlias)
Creates a DataSource with the information of this object |
DBSource |
getSourceDefinition()
|
Methods inherited from class com.hardcode.gdbms.engine.data.AbstractDataSourceDefinition |
---|
freeResources, getDataSourceFactory, getName, setDataSourceFactory, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DBSource def
protected java.lang.String driverName
Constructor Detail |
---|
public DBTableSourceDefinition(java.lang.String name, DBSource def, java.lang.String driverName)
name
- Name of the data source in this systemhost
- host where the dbms isport
- port where the dbms is listening atuser
- user to connectpassword
- password to connectdbName
- name of the databasetableName
- Name of the table or view where the data is storeddriverName
- Name of the driver used to access the dataMethod Detail |
---|
public DataSource createDataSource(java.lang.String tableName, java.lang.String tableAlias) throws DataSourceCreationException
DataSourceDefinition
tableName
- name of the DataSourcetableAlias
- alias of the DataSource
DataSourceCreationException
public DBSource getSourceDefinition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |