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
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.persistence.PersistentTypeContainer
TRANSFORMER
 
Method Summary
 OrmPersistentType getPersistentType(java.lang.String name)
          Return the persistent type with the specified name.
 EntityMappings getRoot()
          Covariant override.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.MappingFile
createDeleteTypeEdits, createMoveTypeEdits, createRenamePackageEdits, createRenameTypeEdits, getParent, isIn
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.XmlFile
getXmlResource
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.XmlContextNode
getValidationTextRange, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaProject, 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
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode
dispose, getId, getResourceType, getSelectionTextRange, getStructureNode
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.persistence.PersistentTypeContainer
getPersistentTypes
 

Field Detail

ROOT_PROPERTY

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

See Also:
Constant Field Values
Method Detail

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:

Specified by:
getPersistentType in interface PersistentTypeContainer