| workbench.db.DbObject
All known Subclasses: workbench.db.TableIdentifier, workbench.db.IndexDefinition, workbench.db.DummyInsert, workbench.db.TriggerDefinition, workbench.db.ColumnIdentifier, workbench.db.DummySelect, workbench.db.ProcedureDefinition, workbench.db.SequenceDefinition,
DbObject | public interface DbObject (Code) | | author: support@sql-workbench.net |
getObjectExpression | String getObjectExpression(WbConnection conn)(Code) | | Get a fully qualified name of the object.
Parameters: conn - The connection for which the qualified name should be createdd the qualified name including catalog and schema if applicable |
getObjectName | String getObjectName()(Code) | | Return the name of the object as it should be displayed to the end-user
(without quoting or catalog/schema prefix).
the object's name |
getObjectName | String getObjectName(WbConnection conn)(Code) | | Return the name of the version to be used in SQL Statements.
This will consider quoting of special characters if necessary.
Parameters: conn - The connection for which the correct name should be returned the name of the object, quoted with respect to the passed connection |
getObjectType | String getObjectType()(Code) | | Returns the name of the object (e.g. TABLE, PROCEDURE, ...)
the object's type |
getSource | CharSequence getSource(WbConnection con) throws SQLException(Code) | | Return the SQL source for this object. This is not necessariyl
a valid SQL Statement that can be run (e.g. for a column definition)
Parameters: con - the connection for which to create the source the course to re-create this object throws: java.sql.SQLException - |
|
|