org.eclipse.jpt.jpa.core.context.orm
Interface OrmXml
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, JpaStructureNode, MappingFile, Model, PersistentTypeContainer, XmlContextNode, XmlFile
public interface OrmXml
- extends MappingFile
JPA orm.xml file.
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.0
- Version:
- 3.0
|
Field Summary |
static java.lang.String |
ROOT_PROPERTY
String constant associated with changes to the
entity-mappings property |
| 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 |
ROOT_PROPERTY
static final java.lang.String ROOT_PROPERTY
- String constant associated with changes to the
entity-mappings property
- See Also:
- Constant Field Values
getRoot
EntityMappings getRoot()
- Covariant override.
- Specified by:
getRoot in interface MappingFile
getPersistentType
OrmPersistentType getPersistentType(java.lang.String name)
- Description copied from interface:
PersistentTypeContainer
- Return the persistent type with the specified name.
Return
null if the persistent type is not found.
If the persistent unit has more than one persistent type with the
specified name, return the first one found, using the following
search order:
- mapping files
- classes
- jar files
- Specified by:
getPersistentType in interface PersistentTypeContainer