|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eevolution.tools.GenerateModel
public class GenerateModel
Generate Model Classes extending PO. Base class for CMP interface - will be extended to create byte code directly
| Field Summary | |
|---|---|
static String |
COPY
File Header |
| Constructor Summary | |
|---|---|
GenerateModel(int AD_Table_ID,
String directory,
String packageName)
Generate PO Class |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Generate PO Model Class. |
String |
toString()
String representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String COPY
| Constructor Detail |
|---|
public GenerateModel(int AD_Table_ID,
String directory,
String packageName)
AD_Table_ID - table iddirectory - directory with \ or / at the end.packageName - package name| Method Detail |
|---|
public String toString()
toString in class Objectpublic static void main(String[] args)
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'
args - directory package entityType
- directory where to save the generated file
- package of the classes to be generated
- entityType to be generated
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||