org.eclipse.jpt.core.context
Interface MappingFile
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, JpaStructureNode, Model, PersistentTypeContainer, XmlContextNode, XmlFile
- All Known Subinterfaces:
- OrmXml
public interface MappingFile
- extends XmlFile, PersistentTypeContainer
JPA mapping file (typically orm.xml).
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.
- Since:
- 2.1
- Version:
- 2.3
| Methods inherited from interface org.eclipse.jpt.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 |
getParent
MappingFileRef getParent()
- covariant override
- Specified by:
getParent in interface JpaNode
getRoot
MappingFileRoot getRoot()
- Return the mapping file's root.
getPersistentType
PersistentType getPersistentType(java.lang.String name)
- Return the specified persistent type if it is listed in the mapping file;
otherwise return null.
update
void update()
- Update the context mapping file to match its resource mapping file.
- See Also:
JpaProject.update()