org.eclipse.jpt.core.context.orm
Class NullOrmAttributeMappingDefinition

java.lang.Object
  extended by org.eclipse.jpt.core.context.orm.NullOrmAttributeMappingDefinition
All Implemented Interfaces:
OrmAttributeMappingDefinition

public class NullOrmAttributeMappingDefinition
extends java.lang.Object
implements OrmAttributeMappingDefinition

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
static OrmAttributeMappingDefinition instance()
          Return the singleton.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static OrmAttributeMappingDefinition instance()
Return the singleton.


getKey

public java.lang.String getKey()
Description copied from interface: OrmAttributeMappingDefinition
Return the mapping key associated with this provider

Specified by:
getKey in interface OrmAttributeMappingDefinition
See Also:
MappingKeys}

buildResourceMapping

public XmlAttributeMapping buildResourceMapping(org.eclipse.emf.ecore.EFactory factory)
Description copied from interface: OrmAttributeMappingDefinition
Build a resource mapping

Specified by:
buildResourceMapping in interface OrmAttributeMappingDefinition

buildContextMapping

public OrmAttributeMapping buildContextMapping(OrmPersistentAttribute parent,
                                               XmlAttributeMapping resourceMapping,
                                               OrmXmlContextNodeFactory factory)
Description copied from interface: OrmAttributeMappingDefinition
Build a context mapping

Specified by:
buildContextMapping in interface OrmAttributeMappingDefinition

buildVirtualResourceMapping

public XmlAttributeMapping buildVirtualResourceMapping(OrmTypeMapping ormTypeMapping,
                                                       JavaAttributeMapping javaAttributeMapping,
                                                       OrmXmlContextNodeFactory factory)
Description copied from interface: OrmAttributeMappingDefinition
Build a virtual resource mapping

Specified by:
buildVirtualResourceMapping in interface OrmAttributeMappingDefinition