|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JpaDataSource
Interface to the connection profile.
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
JpaModel.JpaVersionIsCompatibleWith |
| Field Summary | |
|---|---|
static String |
CONNECTION_PROFILE_NAME_PROPERTY
ID string used when connectionProfileName property is changed |
static String |
CONNECTION_PROFILE_PROPERTY
ID string used when connectionProfile property is changed |
| Method Summary | |
|---|---|
boolean |
connectionProfileIsActive()
Return whether the profile is either connected to a live database session or working off-line (i.e. it has access to meta-data). |
void |
dispose()
Dispose the data source. |
ConnectionProfile |
getConnectionProfile()
The connection profile is null if the connection profile name is invalid. |
String |
getConnectionProfileName()
Return the data source's connection profile name. |
Database |
getDatabase()
If the connection profile is active, return its database. |
Table |
selectTableForIdentifier(Iterable<Table> tables,
String identifier)
Select and return the table with the specified identifier. |
void |
setConnectionProfileName(String connectionProfileName)
Set the data source's connection profile name. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
getJpaPlatform, getJpaProject, getJpaProjectManager, getParent, getResource, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
static final String CONNECTION_PROFILE_NAME_PROPERTY
Model.addPropertyChangeListener(String, org.eclipse.jpt.common.utility.model.listener.PropertyChangeListener),
Constant Field Valuesstatic final String CONNECTION_PROFILE_PROPERTY
Model.addPropertyChangeListener(String, org.eclipse.jpt.common.utility.model.listener.PropertyChangeListener),
Constant Field Values| Method Detail |
|---|
String getConnectionProfileName()
void setConnectionProfileName(String connectionProfileName)
ConnectionProfile getConnectionProfile()
boolean connectionProfileIsActive()
Database getDatabase()
Table selectTableForIdentifier(Iterable<Table> tables,
String identifier)
TypeMapping.resolveDbTable(String)void dispose()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||