Part I. Getting started

Part II. UML modeling

Part III. Project glossary

Part IV. BPMN toolset

Part V. Project management

Part VI. Modeling toolset

Part VII. ArchiMate tools

Part VIII. Team collaboration

Part IX. Code engineering

Part X. Database design and engineering

Part XI. Advanced modeling toolset

Part XII. Document production

Part XIII. Business modeling

Part XIV. Business rule

Part XV. Agile development

Part XVI. Wireframe

Part XVII. Impact analysis

Part XVIII. CMMN toolset

Part XIX. SoaML modeling

Part XX. Design animation

Part XXI. IDE Integration

Part XXII. Interoperability and integration

Part XXIII. Process simulation

Part XXIV. Zachman and BMM

Part XXV. Appendix A - Application Options

Part XXVI. Appendix B - Project Options

Part XXVII. Appendix C

 

How to Generate Java from UML in IntelliJ IDEA?

Code generation creates and updates source files in a Java project from UML models. You can select to update the whole project, package(s) and class(es) from Visual Paradigm to IntelliJ IDEA. Before updating source files, you must open the UML project from the Java project.

Project Based Code Generation

You can generate and update source files from the whole UML project. Packages and classes will be created (if not already exists) or updated. To generate/update source files from UML project, perform any of the steps below:

  • Click  in IntelliJ IDEA toolbar.
  • Click at the top of Diagram Navigator.
  • Right click on the root node of Diagram Navigator and select Update Project to Code from the popup menu.
    Update the whole Java project from UML project
    Update the whole Java project from UML project

Package Based Code Generation

You can generate and update package and its containing source file(s) from a UML package. Package and classes will be created (if not already exists) or updated. To generate/update source files from UML package, perform any of the steps below:

  • Right click on the package in any diagram and select Update to Code from the popup menu.
    Update source files from UML package
    Update source files from UML package
  • Right click on the package under Diagram Navigator/Model Explorer/Class Repository and select Update to Code from the popup menu.

Class Based Code Generation

You can generate and update source file from a UML class. Class will be created (if not already exists) or updated. To generate/update source file from UML class, perform any of the steps below:

  • Right click on the class in any diagram and select Update to Code from the popup menu.
    Update source file from UML class
    Update source file from UML class
  • Right click on the class under Diagram Navigator/Model Explorer/Class Repository and select Update to Code from the popup menu.

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

 
4. Reverse Engineering in IntelliJ IDEA Table of Contents 6. Selecting UML Class from Source File in IntelliJ IDEA

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK