org.eclipse.jpt.core.context.orm
Interface OrmAttributeMappingDefinition

All Known Implementing Classes:
NullOrmAttributeMappingDefinition, UnsupportedOrmAttributeMappingDefinition

public interface OrmAttributeMappingDefinition

Part of mechanism to extend the types of ORM attribute mappings. 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
 OrmAttributeMapping buildContextMapping(OrmPersistentAttribute parent, XmlAttributeMapping resourceMapping, OrmXmlContextNodeFactory factory)
          Build a context mapping
 XmlAttributeMapping buildResourceMapping(org.eclipse.emf.ecore.EFactory factory)
          Build a resource mapping
 XmlAttributeMapping buildVirtualResourceMapping(OrmTypeMapping ormTypeMapping, JavaAttributeMapping javaAttributeMapping, OrmXmlContextNodeFactory factory)
          Build a virtual resource mapping
 java.lang.String getKey()
          Return the mapping key associated with this provider
 

Method Detail

getKey

java.lang.String getKey()
Return the mapping key associated with this provider

See Also:
MappingKeys}

buildResourceMapping

XmlAttributeMapping buildResourceMapping(org.eclipse.emf.ecore.EFactory factory)
Build a resource mapping


buildVirtualResourceMapping

XmlAttributeMapping buildVirtualResourceMapping(OrmTypeMapping ormTypeMapping,
                                                JavaAttributeMapping javaAttributeMapping,
                                                OrmXmlContextNodeFactory factory)
Build a virtual resource mapping


buildContextMapping

OrmAttributeMapping buildContextMapping(OrmPersistentAttribute parent,
                                        XmlAttributeMapping resourceMapping,
                                        OrmXmlContextNodeFactory factory)
Build a context mapping