org.objectweb.jorm.mapper.rdb.metainfo
Class RdbMappingFactory

java.lang.Object
  |
  +--org.objectweb.jorm.mapper.rdb.metainfo.RdbMappingFactory
All Implemented Interfaces:
MappingFactory, java.io.Serializable

public class RdbMappingFactory
extends java.lang.Object
implements MappingFactory

Implementation of the RdbMappingFactory interface.

Author:
C. Hamon
See Also:
Serialized Form

Constructor Summary
RdbMappingFactory()
           
 
Method Summary
 Mapping createMapping(java.lang.String mapperName, MetaObject parent)
          Creates a new BasicRdbMapping object.
 MappingPrinter createMappingPrinter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdbMappingFactory

public RdbMappingFactory()
Method Detail

createMapping

public Mapping createMapping(java.lang.String mapperName,
                             MetaObject parent)
Creates a new BasicRdbMapping object.

Specified by:
createMapping in interface MappingFactory
Parameters:
mapperName - the name of the mapper, parent the parent object.
parent - the parent MO of the mapping
Returns:
a new RdbMapping object.

createMappingPrinter

public MappingPrinter createMappingPrinter()
Specified by:
createMappingPrinter in interface MappingFactory