Class GenerateModel


  • public class GenerateModel
    extends Object
    Generate Model Classes extending PO. Base class for CMP interface - will be extended to create byte code directly
    Version:
    $Id: GenerateModel.java,v 1.42 2005/05/08 15:16:56 jjanke Exp $
    Author:
    Jorg Janke, Teo Sarca, teo.sarca@gmail.com
  • BF [ 3020640 ] GenerateModel is failing when we provide a list of tables https://sourceforge.net/p/adempiere/bugs/2447/
    • Constructor Detail

      • GenerateModel

        public GenerateModel()
    • Method Detail

      • toString

        public String toString()
        String representation
        Overrides:
        toString in class Object
        Returns:
        string representation
      • main

        public 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:\Compiere\compiere-all\extend\src\compiere\model\ compiere.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