|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JpaContextModel
Common protocol for JPA models that have a context, as opposed to resource models.
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 |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
TRANSFORMER |
| Method Summary | |
|---|---|
Iterable<String> |
getCompletionProposals(int pos)
Return the content assist proposals for the specified position in the file. |
Catalog |
getContextDefaultDbCatalog()
|
Schema |
getContextDefaultDbSchema()
|
SchemaContainer |
getContextDefaultDbSchemaContainer()
|
MappingFile.Root |
getMappingFileRoot()
Return the mapping file root if the context model is within a mapping file. |
JpaContextModel |
getParent()
Return the JPA node's parent. |
PersistenceUnit |
getPersistenceUnit()
Return the persistence unit if the context model is within a persistence unit. |
TextRange |
getValidationTextRange()
|
void |
synchronizeWithResourceModel()
The resource model has changed; synchronize the context model with it. |
void |
update()
Some non-trivial state in the JPA project has changed; update the state of the context model that is dependent on yet other parts of the model's JPA project. |
void |
validate(List<IMessage> messages,
IReporter reporter)
Add the model's validation messages to the specified "collecting parameter". |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
getJpaPlatform, getJpaProject, getJpaProjectManager, 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 |
| Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
getResourceType |
| Method Detail |
|---|
PersistenceUnit getPersistenceUnit()
MappingFile.Root getMappingFileRoot()
JpaContextModel getParent()
JpaModel
getParent in interface JpaModelSchemaContainer getContextDefaultDbSchemaContainer()
Catalog getContextDefaultDbCatalog()
Schema getContextDefaultDbSchema()
TextRange getValidationTextRange()
void validate(List<IMessage> messages,
IReporter reporter)
Iterable<String> getCompletionProposals(int pos)
void synchronizeWithResourceModel()
update().
void update()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||