org.eclipse.jpt.db
Interface DatabaseObject

All Known Subinterfaces:
Catalog, Column, ConnectionProfile, Database, ForeignKey, Schema, SchemaContainer, Sequence, Table

public interface DatabaseObject

Common behavior to all database objects Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. This interface is not intended to be implemented by clients.


Method Summary
 ConnectionProfile getConnectionProfile()
          Return the database object's connection profile.
 Database getDatabase()
          Return the database object's database.
 java.lang.String getIdentifier()
          Return the database object's "identifier", which is the object's name modified so it can be used in an SQL statement (e.g.
 java.lang.String getIdentifier(java.lang.String defaultName)
          Return the database object's "identifier", which is the object's name modified so it can be used in an SQL statement (e.g.
 java.lang.String getName()
          Return the database object's name.
 

Method Detail

getName

java.lang.String getName()
Return the database object's name.


getIdentifier

java.lang.String getIdentifier(java.lang.String defaultName)
Return the database object's "identifier", which is the object's name modified so it can be used in an SQL statement (e.g. if the name contains special characters or is mixed case, it will be delimited, typically by double-quotes). Return null if the database object's identifier matches the specified "default name".


getIdentifier

java.lang.String getIdentifier()
Return the database object's "identifier", which is the object's name modified so it can be used in an SQL statement (e.g. if the name contains special characters or is mixed case, it will be delimited, typically by double-quotes).


getDatabase

Database getDatabase()
Return the database object's database.


getConnectionProfile

ConnectionProfile getConnectionProfile()
Return the database object's connection profile.