| org.netbeans.modules.sql.framework.model.DatabaseModel
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.
author: Sudhendra Seshachala, Jonathan Giron |
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 DatabaseModel.
String description, or null if none was defined |
getModelName | public String getModelName()(Code) | | Gets the name of this DatabaseModel.
model name |
getSource | public ETLObject getSource()(Code) | | Gets repository object, if any, providing underlying data for this
DatabaseModel.
ETLObject hosting this object's metadata, or null ifdata are not held by a ETLObject. |
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<DBTable> getTables()(Code) | | Gets List of DBTables contained in this DatabaseModel
List of DBTable instances |
|
|