|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.mapping.MappingFactory
public final class MappingFactory
Factory class for creating Mapping instances. This is called to generate field mappings for the classes to be persisted.
| Method Summary | |
|---|---|
static JavaTypeMapping |
createMapping(java.lang.Class mappingClass,
DatastoreAdapter dba,
AbstractPropertyMetaData fmd,
DatastoreContainerObject datastoreContainer,
ClassLoaderResolver clr)
Get a new instance of the Mapping using the the DBA, field metadata, and the table managing the field. |
static JavaTypeMapping |
createMapping(java.lang.Class mappingClass,
DatastoreAdapter dba,
java.lang.String type)
Get a new instance of the Mapping using the DBA and type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JavaTypeMapping createMapping(java.lang.Class mappingClass,
DatastoreAdapter dba,
java.lang.String type)
mappingClass - the Mapping class to be createddba - The Database Adaptertype - The type
public static JavaTypeMapping createMapping(java.lang.Class mappingClass,
DatastoreAdapter dba,
AbstractPropertyMetaData fmd,
DatastoreContainerObject datastoreContainer,
ClassLoaderResolver clr)
mappingClass - the Mapping class to be createddba - Datastore Adapterfmd - FieldMetaData for the field to be mappeddatastoreContainer - The Tableclr - The ClassLoaderResolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||