org.objectweb.jorm.metainfo.api
Interface MappingFactory

All Superinterfaces:
java.io.Serializable

public interface MappingFactory
extends java.io.Serializable

MappingFactory defines amethod through which Mapping objects will be created.


Method Summary
 Mapping createMapping(java.lang.String mapperName, MetaObject parent)
          Creates a Mapping object from the current factory.
 MappingPrinter createMappingPrinter()
           
 

Method Detail

createMapping

public Mapping createMapping(java.lang.String mapperName,
                             MetaObject parent)
Creates a Mapping object from the current factory.

Parameters:
mapperName - the name of the mapper
parent - the parent MO of the mapping
Returns:
a Mapping object

createMappingPrinter

public MappingPrinter createMappingPrinter()