|
||||||||||
| 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.
| Method Summary | |
|---|---|
Catalog |
getContextDefaultDbCatalog()
|
Schema |
getContextDefaultDbSchema()
|
SchemaContainer |
getContextDefaultDbSchemaContainer()
|
MappingFileRoot |
getMappingFileRoot()
Return the mapping file root if the context node is within a mapping file. |
PersistenceUnit |
getPersistenceUnit()
Return the persistence unit if the context node is within a persistence unit. |
JptResourceType |
getResourceType()
Return the resource type of the context node's resource. |
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. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode |
|---|
getJpaProject, getParent, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart |
|---|
getResource |
| Method Detail |
|---|
JptResourceType getResourceType()
PersistenceUnit getPersistenceUnit()
MappingFileRoot getMappingFileRoot()
SchemaContainer getContextDefaultDbSchemaContainer()
Catalog getContextDefaultDbCatalog()
Schema getContextDefaultDbSchema()
void synchronizeWithResourceModel()
update().
void update()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||