Package org.openbravo.dal.core
Class DalMappingGenerator
- java.lang.Object
-
- org.openbravo.dal.core.DalMappingGenerator
-
- All Implemented Interfaces:
OBProvidable
,OBSingleton
public class DalMappingGenerator extends Object implements OBSingleton
This class is responsible for generating the Hibernate mapping for the tables and entities within OpenBravo. It uses the runtime model provided byModelProvider
.- Author:
- mtaal
-
-
Constructor Summary
Constructors Constructor Description DalMappingGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generateMapping()
Generates the Hibernate mapping forEntities
in the system.static DalMappingGenerator
getInstance()
static void
setInstance(DalMappingGenerator dalMappingGenerator)
-
-
-
Method Detail
-
getInstance
public static DalMappingGenerator getInstance()
-
setInstance
public static void setInstance(DalMappingGenerator dalMappingGenerator)
-
-