org.objectweb.jorm.generator.api

Interface MOPFactory

public interface MOPFactory

This interface is used to specify Meta Object Protocol must be used to specialize the the generation of mapping objects and binding objects.

Method Summary

MOP
createBindingMOP(JormCompilerParameter cp, String mappername)
This method must return a new instance of a BindingMOP.
MOP
createMappingMOP(JormCompilerParameter cp, String mappername)
This method must return a new instance of a MappingMOP.

Method Details

createBindingMOP

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


createMappingMOP

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