| java.lang.Object org.jpox.store.mapping.MappingFactory
MappingFactory | final public class MappingFactory (Code) | | Factory class for creating Mapping instances.
This is called to generate field mappings for the classes to be persisted.
version: $Revision: 1.18 $ |
createMapping | public static JavaTypeMapping createMapping(Class mappingClass, DatastoreAdapter dba, String type)(Code) | | Get a new instance of the Mapping using the DBA and type.
Parameters: mappingClass - the Mapping class to be created Parameters: dba - The Database Adapter Parameters: type - The type The Mapping |
createMapping | public static JavaTypeMapping createMapping(Class mappingClass, DatastoreAdapter dba, AbstractMemberMetaData fmd, int roleForField, DatastoreContainerObject datastoreContainer, ClassLoaderResolver clr)(Code) | | Get a new instance of the Mapping using the the DBA, field metadata, and the table managing the field.
Parameters: mappingClass - the Mapping class to be created Parameters: dba - Datastore Adapter Parameters: fmd - FieldMetaData for the field to be mapped Parameters: datastoreContainer - The Table Parameters: clr - The ClassLoaderResolver The Mapping |
|
|