org.objectweb.jorm.metainfo.api
Interface MappingFactory
- public interface MappingFactory
A MappingFactory is an object able to create (return) MetaObject which are
objects able to map other objects.
- Author:
- X. Spengler
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.
- 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.
- Parameters:
mapperName - the name of the mappermappingName - the name of the mapping- Returns:
- a ClassMapping object
init
public void init()
- Initializes the current factory.