|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.sqlbuilder.views.source.ConnectionContext
public class ConnectionContext
Constructor Summary | |
---|---|
ConnectionContext()
ConnectionContext constructor comment. |
Method Summary | |
---|---|
boolean |
canConnect()
Insert the method's description here. |
void |
connect()
Insert the method's description here. |
void |
executeStatement(java.lang.String statement)
Insert the method's description here. |
void |
executeStatements(java.lang.String[] statements)
Insert the method's description here. |
java.lang.String |
getDatabaseName()
Insert the method's description here. |
SQLBuilderDBProposalsService |
getDBProposalsService()
Gets the DB proposals service associated with the connection. |
SQLDomainModel |
getDomainModel()
Gets the domain model for the current SQL statement. |
java.lang.String[] |
getQualifiedColumnNames()
Insert the method's description here. |
java.lang.String[] |
getQualifiedTableNames()
Insert the method's description here. |
java.lang.String[] |
getSchemaTableNames(java.lang.String tableName)
Insert the method's description here. |
java.lang.String[] |
getSchemataNames()
Insert the method's description here. |
java.lang.String[] |
getTableColumnNames(java.lang.String tableName)
Insert the method's description here. |
boolean |
isConnected()
Insert the method's description here. |
void |
setDBProposalsService(SQLBuilderDBProposalsService dbProposalsService)
Sets the DB proposals service associated with the connection to the given object. |
void |
setDomainModel(SQLDomainModel domainModel)
Sets the domain model for the current SQL statement. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionContext()
Method Detail |
---|
public boolean canConnect()
canConnect
in interface IDBContext
public void connect()
connect
in interface IDBContext
public void executeStatement(java.lang.String statement)
executeStatement
in interface IDBContext
statement
- java.lang.Stringpublic void executeStatements(java.lang.String[] statements)
executeStatements
in interface IDBContext
statements
- java.lang.String[]public java.lang.String getDatabaseName()
getDatabaseName
in interface IDBContext
public java.lang.String[] getQualifiedColumnNames()
getQualifiedColumnNames
in interface IDBContext
public java.lang.String[] getQualifiedTableNames()
getQualifiedTableNames
in interface IDBContext
public java.lang.String[] getSchemaTableNames(java.lang.String tableName)
getSchemaTableNames
in interface IDBContext
public java.lang.String[] getSchemataNames()
getSchemataNames
in interface IDBContext
public java.lang.String[] getTableColumnNames(java.lang.String tableName)
getTableColumnNames
in interface IDBContext
tableName
- java.lang.String
public boolean isConnected()
isConnected
in interface IDBContext
public SQLBuilderDBProposalsService getDBProposalsService()
getDBProposalsService
in interface IDBContext
public void setDBProposalsService(SQLBuilderDBProposalsService dbProposalsService)
dbProposalsService
- the SQLDBProposalsService object to usepublic SQLDomainModel getDomainModel()
getDomainModel
in interface IDBContext
public void setDomainModel(SQLDomainModel domainModel)
domainModel
- the statement domain model
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |