org.eclipse.jpt.core.context.orm
Interface PersistenceUnitMetadata
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, XmlContextNode
public interface PersistenceUnitMetadata
- extends XmlContextNode
Context orm.xml persistence unit metadata.
Context model corresponding to the
XML resource model XmlPersistenceUnitMetadata,
which corresponds to the persistence-unit-metadata element
in the 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:
- 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 |
XML_MAPPING_METADATA_COMPLETE_PROPERTY
static final java.lang.String XML_MAPPING_METADATA_COMPLETE_PROPERTY
- See Also:
- Constant Field Values
getParent
EntityMappings getParent()
- Description copied from interface:
JpaNode
- Return the JPA node's parent. The JPA project will not have a parent.
- Specified by:
getParent in interface JpaNode
getXmlEntityMappings
XmlEntityMappings getXmlEntityMappings()
isXmlMappingMetadataComplete
boolean isXmlMappingMetadataComplete()
setXmlMappingMetadataComplete
void setXmlMappingMetadataComplete(boolean value)
getPersistenceUnitDefaults
OrmPersistenceUnitDefaults getPersistenceUnitDefaults()
getXmlPersistenceUnitMetadata
XmlPersistenceUnitMetadata getXmlPersistenceUnitMetadata()
buildXmlPersistenceUnitMetadata
XmlPersistenceUnitMetadata buildXmlPersistenceUnitMetadata()
update
void update()
- Update the persistence unit metadata context model to match the resource model.
- See Also:
JpaProject.update()