org.objectweb.jorm.metainfo.rdb
Class BasicRDBMappingFactory
java.lang.Object
|
+--org.objectweb.jorm.metainfo.rdb.BasicRDBMappingFactory
- All Implemented Interfaces:
- MappingFactory, RDBMappingFactory, java.io.Serializable
- public class BasicRDBMappingFactory
- extends java.lang.Object
- implements RDBMappingFactory, java.io.Serializable
The BasicRDBMappingFactory object defines method to get mapping objects.
Mapping objects are ValueMapping objects and ClassMapping objects.
- Author:
- X. Spengler
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicRDBMappingFactory
public BasicRDBMappingFactory()
init
public void init()
- Initializes the current factory.
- Specified by:
init in interface MappingFactory
createValueMapping
public ValueMapping createValueMapping(java.lang.String mapperName,
java.lang.String mappingName,
MetaObject parent)
- Creates a ValueMapping object from the current factory.
This object is created with a mapper name, a mapping name and its
futur parent.
- Specified by:
createValueMapping in interface MappingFactory
- Parameters:
mapperName - the name of the mappermappingName - the name of the mapping- Returns:
- a ValueMapping object
createClassMapping
public ClassMapping createClassMapping(java.lang.String mapperName,
java.lang.String mappingName,
MetaObject parent)
- Creates a ClassMapping object from the current factory.
This object is created with a mapper name, a mapping name and its
futur parent.
- Specified by:
createClassMapping in interface MappingFactory
- Parameters:
mapperName - the name of the mappermappingName - the name of the mapping- Returns:
- a ClassMapping object