You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Timur Sağlam edited this page Feb 26, 2017
·
3 revisions
Ecore Model Code Generation
The class GenModelGenerator allows creating GenModels with the method generate(). The method takes a GeneratedEcoreMetamodel as the parameter. A GenModelGenerator can be initialized with default values and with custom
values. The values affect the GenModel configuration. The default values are:
The class ModelCodeGenerator generates code from an existing GenModel. To do this, one has to call generate(GenModel genModel) with a valid GenModel as parameter. The class utilizes the class MonitorToLoggerAdapter to feed the output stream of the code generation into a log4j logger. This allows to receive information about the generation process.