| java.lang.Object org.netbeans.modules.jdbcwizard.builder.dbmodel.impl.DBConnectionDefinitionImpl
DBConnectionDefinitionImpl | public class DBConnectionDefinitionImpl implements DBConnectionDefinition(Code) | | Implements DBConnectionDefinition interface for JDBC Database OTD.
|
DBConnectionDefinitionImpl | public DBConnectionDefinitionImpl(String connName, String driverName, String connUrl, String uname, String passwd, String desc, String type)(Code) | | Creates a new instance of DBConnectionDefinitionImpl with the given attributes.
Parameters: connName - connection name Parameters: driverName - driver name Parameters: connUrl - JDBC URL for this connection Parameters: uname - username used to establish connection Parameters: passwd - password used to establish connection Parameters: desc - description of connection Parameters: type - String concatenation of vendor and version number of source DB (e.g., "Oracle9","JDBC11") |
DBConnectionDefinitionImpl | public DBConnectionDefinitionImpl(DBConnectionDefinition connectionDefn)(Code) | | Creates a new instance of DBConnectionDefinitionImpl using the values in the given
DBConnectionDefinition.
Parameters: connectionDefn - DBConnectionDefinition to be copied |
copyFrom | public synchronized void copyFrom(DBConnectionDefinition source)(Code) | | Copies member values to those contained in the given DBConnectionDefinition instance. Does
shallow copy of properties and flatfiles collections.
Parameters: source - DBConnectionDefinition whose contents are to be copied into this instance |
getConnectionURL | public String getConnectionURL()(Code) | | See Also: com.stc.model.database.DBConnectionDefinition.getConnectionURL |
getDBType | public String getDBType()(Code) | | See Also: com.stc.model.database.DBConnectionDefinition.getDBType |
getDescription | public String getDescription()(Code) | | Gets user-defined description, if any, for this DBConnectionDefinition.
user-defined description, possibly null if none was defined |
getDriverClass | public String getDriverClass()(Code) | | See Also: com.stc.model.database.DatabaseModel.getDriverClass |
getName | public String getName()(Code) | | See Also: com.stc.model.database.DatabaseModel.getName |
getPassword | public String getPassword()(Code) | | See Also: com.stc.model.database.DatabaseModel.getPassword |
getUserName | public String getUserName()(Code) | | See Also: com.stc.model.database.DatabaseModel.getUserName |
setConnectionURL | public void setConnectionURL(String newUrl)(Code) | | Sets URL used to reference and establish a connection to the data source referenced in this
object.
Parameters: newUrl - URL pointing to the data source |
setDriverClass | public void setDriverClass(String newClass)(Code) | | Sets fully-qualified class name of driver used to establish a connection to the data source
referenced in this object
Parameters: newClass - new fully-qualified driver class name |
setName | public void setName(String newName)(Code) | | Sets new name for this DBConnectionDefinition.
Parameters: newName - new name for DBConnectionDefinition |
setPassword | public void setPassword(String newPw)(Code) | | Sets password used in authenticating a connection to the data source referenced in this
object.
Parameters: newPw - new password, if any, used for authentication purposes |
setType | public void setType(String newType)(Code) | | Sets descriptive name of dbType of DB data source from which this metadata content was
derived, e.g., "Oracle9" for an Oracle 9i database, etc. Returns null if content was derived
from a non-DB source, such such as a flatfile.
Parameters: newType - vendor name of source database; null if derived from non-DB source |
setUserName | public void setUserName(String newName)(Code) | | Sets username used in authenticating a connection to the data source referenced in this
object.
Parameters: newName - new username, if any, to use for authentication purposes; may be null |
|
|