|
||||||||||
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 ISQLEditorConnectionInfo object for persistency. |
IConnectionProfile |
getConnectionProfile()
Gets the IConnectionProfile object associated with this input. |
java.lang.String |
getConnectionProfileName()
Gets the IConnectionProfile name associated with this input. |
Database |
getDatabase()
Gets the Database object associated with this input. |
java.lang.String |
getDatabaseName()
Gets the database name associated with this input. |
DatabaseVendorDefinition |
getDatabaseVendorDefinition()
Gets the DatabaseVendorDefinition object associated with this input. |
DatabaseVendorDefinitionId |
getDatabaseVendorDefinitionId()
Gets the DatabaseVendorDefinitionId object 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 IConnectionProfile name associated with this input to the given
object. |
void |
setDatabase(Database database)
Sets the Database object associated with this input to the
given object. |
void |
setDatabaseVendorDefinitionId(DatabaseVendorDefinitionId dbVendorDefId)
Sets the DatabaseVendorDefinitionId associated 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()
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.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(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 |