org.objectweb.jorm.mapper.mem.generator
Class MemMOPFactory

java.lang.Object
  extended byorg.objectweb.jorm.mapper.mem.generator.MemMOPFactory
All Implemented Interfaces:
MOPFactory

public class MemMOPFactory
extends java.lang.Object
implements MOPFactory

Author:
P. Dechamboux

Constructor Summary
MemMOPFactory()
           
 
Method Summary
 MOP createBindingMOP(JormCompilerParameter cp, java.lang.String mappername)
          This method must return a new instance of a BindingMOP
 java.lang.Object createClassGenerationContext(Mapping mo)
          Creates a generation context that can be shared between binding and mapping generation for a particular class.
 MOP createMappingMOP(JormCompilerParameter cp, java.lang.String mappername)
          This method must return a new instance of a MappingMOP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemMOPFactory

public MemMOPFactory()
Method Detail

createMappingMOP

public MOP createMappingMOP(JormCompilerParameter cp,
                            java.lang.String mappername)
                     throws PException
This method must return a new instance of a MappingMOP

Specified by:
createMappingMOP in interface MOPFactory
Throws:
PException

createBindingMOP

public MOP createBindingMOP(JormCompilerParameter cp,
                            java.lang.String mappername)
                     throws PException
This method must return a new instance of a BindingMOP

Specified by:
createBindingMOP in interface MOPFactory
Throws:
PException

createClassGenerationContext

public java.lang.Object createClassGenerationContext(Mapping mo)
                                              throws PException
Creates a generation context that can be shared between binding and mapping generation for a particular class.

Specified by:
createClassGenerationContext in interface MOPFactory
Throws:
PException