org.eclipse.jpt.jpa.core.context.orm
Interface OrmXmlDefinition

All Superinterfaces:
MappingFileDefinition, ResourceDefinition

public interface OrmXmlDefinition
extends MappingFileDefinition

orm.xml definition

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.3
Version:
2.3

Method Summary
 OrmAttributeMappingDefinition getAttributeMappingDefinition(java.lang.String mappingKey)
          Return an attribute mapping definiton for the specified mapping key.
 OrmXmlContextNodeFactory getContextNodeFactory()
          Return the factory for building XML context nodes.
 org.eclipse.emf.ecore.EFactory getResourceNodeFactory()
          Return the factory for building XML resource nodes.
 OrmTypeMappingDefinition getTypeMappingDefinition(java.lang.String mappingKey)
          Return a type mapping definiton for the specified mapping key.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.ResourceDefinition
getResourceType
 

Method Detail

getResourceNodeFactory

org.eclipse.emf.ecore.EFactory getResourceNodeFactory()
Return the factory for building XML resource nodes.


getContextNodeFactory

OrmXmlContextNodeFactory getContextNodeFactory()
Return the factory for building XML context nodes.


getTypeMappingDefinition

OrmTypeMappingDefinition getTypeMappingDefinition(java.lang.String mappingKey)
Return a type mapping definiton for the specified mapping key.

Throws:
java.lang.IllegalArgumentException - if the mapping key is not supported

getAttributeMappingDefinition

OrmAttributeMappingDefinition getAttributeMappingDefinition(java.lang.String mappingKey)
Return an attribute mapping definiton for the specified mapping key. Never return null.