Package org.adempiere.util
Class GenerateModelJPA
- java.lang.Object
- 
- org.adempiere.util.GenerateModelJPA
 
- 
 public class GenerateModelJPA extends Object Generate Model Classes extending PO. Base class for CMP interface - will be extended to create byte code directly- Version:
- $Id$
- Author:
- Jorg Janke, Victor Perez (JPA variation)
 
- 
- 
Constructor SummaryConstructors Constructor Description GenerateModelJPA(int AD_Table_ID, String directory, String packageName)Generate PO Class
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Generate PO Model Class.StringtoString()String representation
 
- 
- 
- 
Field Detail- 
COPYpublic static final String COPY File Header- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
toStringpublic String toString() String representation
 - 
mainpublic static void main(String[] args) Generate PO Model Class.Example: java GenerateModel.class mydirectory myPackage 'U','A' would generate entity type User and Application classes into mydirectory. Without parameters, the default is used: C:\Adempiere\adempiere-all\extend\src\adempiere\model\ adempiere.model 'U','A'- Parameters:
- args- directory package entityType - directory where to save the generated file - package of the classes to be generated - entityType to be generated
 
 
- 
 
-