| java.lang.Object org.netbeans.modules.jdbcwizard.builder.dbmodel.impl.DatabaseModelImpl
connectionName | protected volatile String connectionName(Code) | | Connection name
|
description | protected volatile String description(Code) | | User-supplied description
|
DatabaseModelImpl | public DatabaseModelImpl(String modelName, DBConnectionDefinition connDef)(Code) | | Constructs a new instance of DatabaseModelImpl using the given name and
DBConnectionDefinition.
Parameters: dName - name of new DBQueryModel Parameters: connDef - DBConnectionInfo for this Data Source |
addTable | public boolean addTable(DBTable table)(Code) | | Adds new DBTable to the model.
Parameters: table - new DBTable to add true if add succeeded, false otherwise |
clone | public Object clone()(Code) | | Clones this object.
shallow copy of this DatabaseModelImpl |
copyFrom | public void copyFrom(DatabaseModel src)(Code) | | Copies member values to those contained in the given DBQueryModel instance.
Parameters: src - DBQueryModel whose contents are to be copied into this instance |
createTable | public DBTable createTable(String tableName, String schemaName, String catalogName)(Code) | | Create DBTable with the given table name, schema name and catalog name.
Parameters: tableName - table name. Parameters: schemaName - schema name; may be null Parameters: catalogName - catalog name; may be null an instance of DBTable if successfull, null if failed. |
deleteAllTables | public boolean deleteAllTables()(Code) | | Deletes all tables associated with this data source.
true if all tables were deleted successfully, false otherwise. |
deleteTable | public boolean deleteTable(String fqTableName)(Code) | | Delete table from the DatabaseModelImpl
Parameters: fqTableName - fully qualified name of table to be deleted. true if successful. false if failed. See Also: com.stc.model.database.DBTable.getFullyQualifiedTableName |
getConnectionDefinition | public DBConnectionDefinition getConnectionDefinition()(Code) | | Gets DBConnectionDefinition of the DatabaseModelImpl object
ConnectionDefinition of the DatabaseModelImpl object |
getConnectionName | public String getConnectionName()(Code) | | See Also: com.stc.model.database.DBQueryModel.getConnectionName |
getFullyQualifiedTableName | public String getFullyQualifiedTableName(DBTable tbl)(Code) | | See Also: com.stc.model.database.DBQueryModel.getFullyQualifiedTableName(DBTable) |
getFullyQualifiedTableName | public String getFullyQualifiedTableName(String tblName, String schName, String catName)(Code) | | See Also: com.stc.model.database.DBQueryModel.getFullyQualifiedTableName(StringStringString) |
getModelDescription | public String getModelDescription()(Code) | | See Also: com.stc.model.database.DBQueryModel.getModelDescription |
getModelName | public String getModelName()(Code) | | See Also: com.stc.model.database.DBQueryModel.getModelName |
getTable | public DBTable getTable(String tableName, String schemaName, String catalogName)(Code) | | See Also: com.stc.model.database.DBQueryModel.getTable(StringStringString) |
getTable | public DBTable getTable(String fqTableName)(Code) | | See Also: com.stc.model.database.DBQueryModel.getTable(String) |
getTableMap | public Map getTableMap()(Code) | | Gets a read-only Map of table names to available DBTable instances in this model.
readonly Map of table names to DBTable instances |
getTables | public List getTables()(Code) | | See Also: com.stc.model.database.DBQueryModel.getTables |
hashCode | public int hashCode()(Code) | | Overrides default implementation to compute hashCode value for those members used in equals()
for comparison.
hash code for this object See Also: java.lang.Object.hashCode |
setConnectionName | public void setConnectionName(String theConName)(Code) | | Sets the Connection Name associated with connection name
Parameters: theConName - associated with this DataSource |
setDescription | public void setDescription(String newDesc)(Code) | | Sets the description string of this DBQueryModel
Parameters: newDesc - new description string |
toString | public String toString()(Code) | | Overrides default implementation to return name of this DBQueryModel.
model name. |
|
|