|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JpaContextNode
Common protocol for JPA objects that have a context, as opposed to resource 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
RESOURCE_TYPE_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 node is within a mapping file. |
JpaContextNode |
getParent()
Return the JPA node's parent. |
PersistenceUnit |
getPersistenceUnit()
Return the persistence unit if the context node 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 parts of the context node that are dependent on yet other parts of the node's JPA project. |
void |
validate(List<IMessage> messages,
IReporter reporter)
Add to the list of current validation messages |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode |
|---|
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()
JpaContextNode getParent()
JpaNode
getParent in interface JpaNodeSchemaContainer 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 | ||||||||||