org.objectweb.jorm.mapper.rdb.generator
Class RdbMOPFactory

java.lang.Object
  extended byorg.objectweb.jorm.mapper.rdb.generator.RdbMOPFactory
All Implemented Interfaces:
MOPFactory

public class RdbMOPFactory
extends java.lang.Object
implements MOPFactory


Constructor Summary
RdbMOPFactory()
           
 
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

RdbMOPFactory

public RdbMOPFactory()
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