| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISQLEditorConnectionInfo
This interface defines all the connection information require by a SQLEditor.
| Method Summary | |
|---|---|
|  java.lang.String | encode()Encodes the given ISQLEditorConnectionInfoobject for persistency. | 
|  IConnectionProfile | getConnectionProfile()Gets the IConnectionProfileobject associated with this input. | 
|  java.lang.String | getConnectionProfileName()Gets the IConnectionProfilename associated with this input. | 
|  Database | getDatabase()Gets the Databaseobject associated with this input. | 
|  java.lang.String | getDatabaseName()Gets the database name associated with this input. | 
|  org.eclipse.datatools.modelbase.dbdefinition.DatabaseVendorDefinition | getDatabaseVendorDefinition()Gets the DatabaseVendorDefinitionobject associated with this input. | 
|  org.eclipse.datatools.sqltools.core.DatabaseVendorDefinitionId | getDatabaseVendorDefinitionId()Gets the DatabaseVendorDefinitionIdobject associated with this input. | 
|  java.lang.String | getDefaultSchemaName()Gets the default schema name to use with the connection or database associated with this input. | 
|  java.lang.String | getName()Gets a String representing this object. | 
|  int | getProfileStatus() | 
|  java.sql.Connection | getSharedConnection()Retrieves the shared connection. | 
|  boolean | isConnected() | 
|  void | setConnectionProfileName(java.lang.String profileName)Sets the IConnectionProfilename associated with this input to the given 
 object. | 
|  void | setDatabase(Database database)Sets the Databaseobject associated with this input to the
 given object. | 
|  void | setDatabaseVendorDefinitionId(org.eclipse.datatools.sqltools.core.DatabaseVendorDefinitionId dbVendorDefId)Sets the DatabaseVendorDefinitionIdassociated with this input to the given 
 object. | 
|  void | setDefaultSchemaName(java.lang.String schemaName)Sets the default schema name to use with the connection or database associated with this input. | 
|  void | setProfileStatus(int status) | 
| Method Detail | 
|---|
java.lang.String getName()
org.eclipse.datatools.modelbase.dbdefinition.DatabaseVendorDefinition getDatabaseVendorDefinition()
DatabaseVendorDefinition object associated with this input.
 The DatabaseVendorDefinition object contains the information needed
 to do parsing, syntax highlighting, and syntax validation.
DatabaseVendorDefinition object associated with this input, can never be null.
 A default DatabaseVendorDefinition object will be return if not specified.org.eclipse.datatools.sqltools.core.DatabaseVendorDefinitionId getDatabaseVendorDefinitionId()
DatabaseVendorDefinitionId object associated with this input.
 The DatabaseVendorDefinitionId object identifies a DatabaseVendorDefinition object
DatabaseVendorDefinitionId object associated with this input, can never be null.
 A default DatabaseVendorDefinitionId object will be return if not specified.IConnectionProfile getConnectionProfile()
IConnectionProfile object associated with this input.
 The IConnectionProfile object contains the information needed
 to connect to a database.
IConnectionProfile object associated with this input
 or null if none or profile name is invalidjava.lang.String getConnectionProfileName()
IConnectionProfile name associated with this input.
 The IConnectionProfile object contains the information needed
 to connect to a database.
IConnectionProfile name associated with this input
 or null if noneDatabase getDatabase()
Database object associated with this input.  The
 Database object provides access to database metadata (catalog)
 information.
Database object associated with this input, or
 null if nonejava.lang.String getDatabaseName()
null if nonegetDatabase()java.lang.String getDefaultSchemaName()
void setConnectionProfileName(java.lang.String profileName)
IConnectionProfile name associated with this input to the given 
 object.
profileName - the IConnectionProfile name to setvoid setDatabase(Database database)
Database object associated with this input to the
 given object.
database - the Database object to setvoid setDefaultSchemaName(java.lang.String schemaName)
schemaname - the default schema name to setvoid setDatabaseVendorDefinitionId(org.eclipse.datatools.sqltools.core.DatabaseVendorDefinitionId dbVendorDefId)
DatabaseVendorDefinitionId associated with this input to the given 
 object.
dbVendorDefId - the DatabaseVendorDefinitionId object to setjava.sql.Connection getSharedConnection()
java.lang.String encode()
ISQLEditorConnectionInfo object for persistency.
info - 
decode()int getProfileStatus()
void setProfileStatus(int status)
boolean isConnected()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||