org.datanucleus.store.mapped.mapping
Class DatastoreMappingFactory

java.lang.Object
  extended by org.datanucleus.store.mapped.mapping.DatastoreMappingFactory

public final class DatastoreMappingFactory
extends java.lang.Object

Factory class for creating Mapping instances.


Method Summary
static DatastoreMapping createMapping(java.lang.Class mappingClass, JavaTypeMapping mapping, MappedStoreManager storeMgr, DatastoreField column)
          Get a new instance of the Mapping using the Store Manager, type and field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createMapping

public static DatastoreMapping createMapping(java.lang.Class mappingClass,
                                             JavaTypeMapping mapping,
                                             MappedStoreManager storeMgr,
                                             DatastoreField column)
Get a new instance of the Mapping using the Store Manager, type and field.

Parameters:
mappingClass - the Mapping class to be created
mapping - The java mapping type
storeMgr - The Store Manager
column - The column to map
Returns:
The Mapping


Copyright © 2011. All Rights Reserved.