Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To generate Java code for our library model, right click on the root element in the editor for the .genmodel file and select Generate Model Code.

When the code generation completes successfully, you will be able to see Java code in terms of Interfaces and Classes for our library example in the package explorer:

Image Added

By double clicking on the BookCategory.java file you see a enum implementation where Computer Science (the modification we made to the domain model) is added as a literal object:

Image Added