|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Field Summary | |
|---|---|
static java.util.Comparator<DatabaseObject> |
DEFAULT_COMPARATOR
|
static org.eclipse.jpt.utility.internal.Transformer<DatabaseObject,java.lang.String> |
IDENTIFIER_TRANSFORMER
|
static org.eclipse.jpt.utility.internal.Transformer<DatabaseObject,java.lang.String> |
NAME_TRANSFORMER
|
| 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. |
| Field Detail |
|---|
static final java.util.Comparator<DatabaseObject> DEFAULT_COMPARATOR
static final org.eclipse.jpt.utility.internal.Transformer<DatabaseObject,java.lang.String> NAME_TRANSFORMER
static final org.eclipse.jpt.utility.internal.Transformer<DatabaseObject,java.lang.String> IDENTIFIER_TRANSFORMER
| Method Detail |
|---|
java.lang.String getName()
java.lang.String getIdentifier(java.lang.String defaultName)
This is used by the old entity generation code to determine whether a generated annotation must explicitly identify a database object (e.g. a table) or the specified default adequately identifies the database object (taking into consideration case-sensitivity and special characters).
java.lang.String getIdentifier()
Database getDatabase()
ConnectionProfile getConnectionProfile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||