| org.netbeans.modules.jdbcwizard.builder.dbmodel.DatabaseModel
All known Subclasses: org.netbeans.modules.jdbcwizard.builder.dbmodel.impl.DatabaseModelImpl,
DatabaseModel | public interface DatabaseModel extends Cloneable(Code) | | Root interface to be implemented by data sources that provide information in a database or
database-like format. Implementing classes must support the Cloneable interface.
|
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 |
getConnectionDefinition | public DBConnectionDefinition getConnectionDefinition()(Code) | | Gets associated DBConnectionDefinition
DBConnectionDefinition |
getFullyQualifiedTableName | public String getFullyQualifiedTableName(DBTable tbl)(Code) | | Constructs a fully qualified name that uniquely identifies the given DBTable instance from
among the available tables in this model The format of this string is implementation-specific
and useful only within the context of retrieving tables from this model.
Parameters: tbl - DBTable whose fully-qualified name is to be generated. fully qualified table name for tbl |
getFullyQualifiedTableName | public String getFullyQualifiedTableName(String table, String schema, String catalog)(Code) | | Constructs a fully qualified name that uniquely identifies a table with the given plain
table, schema and catalog names. The format of this string is implementation-specific and
useful only within the context of retrieving tables from this model.
Parameters: table - plain (unqualified) table name - mandatory Parameters: schema - schema name - may be null Parameters: catalog - catalog name - may be null fully qualified table name based on above parameters |
getModelDescription | public String getModelDescription()(Code) | | Gets the user-defined description string, if any, for this DBQueryModel.
String description, or null if none was defined |
getModelName | public String getModelName()(Code) | | Gets the name of this DBQueryModel.
model name |
getTable | public DBTable getTable(String fqTableName)(Code) | | Gets the table, if any, associated with the given tuple (table name, schema name, catalog
name)
Parameters: fqTableName - Fully qualified table name (implementation-specific) The table value |
getTable | public DBTable getTable(String tableName, String schemaName, String catalogName)(Code) | | Gets the table, if any, associated with the given tuple (table name, schema name, catalog
name)
Parameters: tableName - Table name Parameters: schemaName - Schema name; may be null Parameters: catalogName - Catalog name; may be null The table value |
getTables | public List getTables()(Code) | | Gets List of DBTables contained in this DBQueryModel
List of DBTable instances |
|
|