org.eclipse.jpt.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:
2.3

Field Summary
static java.lang.String ENTITY_MAPPINGS_PROPERTY
          String constant associated with changes to the entity-mappings property
 
Method Summary
 EntityMappings getEntityMappings()
          Return the content represented by the root of the orm.xml file.
 
Methods inherited from interface org.eclipse.jpt.core.context.MappingFile
getParent, getPersistentType, getRoot, update
 
Methods inherited from interface org.eclipse.jpt.core.context.XmlFile
getXmlResource
 
Methods inherited from interface org.eclipse.jpt.core.context.XmlContextNode
getValidationTextRange, validate
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject
 
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
 
Methods inherited from interface org.eclipse.jpt.core.IResourcePart
getResource
 
Methods inherited from interface org.eclipse.jpt.core.JpaStructureNode
dispose, getId, getResourceType, getSelectionTextRange, getStructureNode
 
Methods inherited from interface org.eclipse.jpt.core.context.persistence.PersistentTypeContainer
getPersistentTypes
 

Field Detail

ENTITY_MAPPINGS_PROPERTY

static final java.lang.String ENTITY_MAPPINGS_PROPERTY
String constant associated with changes to the entity-mappings property

See Also:
Constant Field Values
Method Detail

getEntityMappings

EntityMappings getEntityMappings()
Return the content represented by the root of the orm.xml file. This may be null.