|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.core.SQLDevToolsConfiguration
public class SQLDevToolsConfiguration
This class bundles the configuration space for a particular database. Instances of
this class can be accessed through the SQLToolsFacade
class.
Each instance of this class is associated with a DatabaseVendorDefinitionId
for which it
should provide a particular configuration service such as a connection service. Based on its specific knowledge about the returned object, the
configuration might share such objects or compute them according to some
rules.
Clients should subclass and override just those methods which must be specific to their needs.
DatabaseVendorDefinitionId
Method Summary | |
---|---|
ActionService |
getActionService()
Returns the Action service |
java.lang.Object |
getAdapter(java.lang.Class adapter)
Returns an object which is an instance of the given class associated with this object. |
java.lang.String[] |
getAssociatedConnectionProfileType()
Returns the connection profile types associated with this configuration. |
ConnectionService |
getConnectionService()
Returns the connection service associated with this database definition |
IDatabaseSetting |
getDatabaseSetting(DatabaseIdentifier databaseIdentifier)
Return an IDatabaseSetting object which can be used to query database properties such as "case sensitive". |
DatabaseVendorDefinitionId |
getDatabaseVendorDefinitionId()
Returns the associated DatabaseVendorDefinitionId object. |
DBHelper |
getDBHelper()
Return a database-specific utility class. |
static SQLDevToolsConfiguration |
getDefaultInstance()
|
ExecutionService |
getExecutionService()
Returns the SQL execution service associated with this database definition |
IPlanService |
getPlanService()
Returns the query execution plan service associated with this database definition |
SQLDataService |
getSQLDataService()
Returns the SQL data service associated with this database definition |
SQLEditorService |
getSQLEditorService()
Returns the SQL Editor service associated with this database definition |
SQLService |
getSQLService()
Returns the SQL service associated with this database definition |
ITemplateService |
getTemplateService()
|
UIComponentService |
getUIComponentService()
Returns the SQL execution service associated with this database definition |
boolean |
recognize(java.lang.String product,
java.lang.String version)
Returns true if the given product name and version is recognized by this SQLDevToolsConfiguration. |
void |
setDatabaseVendorDefinitionId(DatabaseVendorDefinitionId dbdefinitionId)
Associcates this factory with a particular DatabaseVendorDefinitionId . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SQLDevToolsConfiguration getDefaultInstance()
public DatabaseVendorDefinitionId getDatabaseVendorDefinitionId()
DatabaseVendorDefinitionId
object.
A SQLDevToolsConfiguration
is attached to a certain
DatabaseVendorDefinitionId
.
DatabaseVendorDefinitionId
specifies the database specific
capabilities, while a SQLDevToolsConfiguration
encapsulates database specific algorithms.
DatabaseDefinition
object.public void setDatabaseVendorDefinitionId(DatabaseVendorDefinitionId dbdefinitionId)
DatabaseVendorDefinitionId
. This method should only be
called once by the SQLDevToolsConfigRegistry
.
dbdefinition
- the associated DatabaseDefinition
object.public ConnectionService getConnectionService()
public SQLService getSQLService()
public IPlanService getPlanService()
public SQLEditorService getSQLEditorService()
public SQLDataService getSQLDataService()
public ExecutionService getExecutionService()
public UIComponentService getUIComponentService()
public IDatabaseSetting getDatabaseSetting(DatabaseIdentifier databaseIdentifier)
databaseIdentifier
- uniquely identifies a databasepublic DBHelper getDBHelper()
public ActionService getActionService()
public java.lang.Object getAdapter(java.lang.Class adapter)
null
if
no such object can be found.
This can be used by subclasses to create extensions not covered by above services.
adapter
- the adapter class to look up
null
if this object does not
have an adapter for the given classpublic boolean recognize(java.lang.String product, java.lang.String version)
product
- version
-
public java.lang.String[] getAssociatedConnectionProfileType()
point: org.eclipse.datatools.connectivity.connectionProfile
public ITemplateService getTemplateService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |