Generated Files - Java

Default File Locations

  • src/main/java for Java source code

You can change the default directories by setting generator options.

Files

Modeling File Naming Description
type [name] [Name].java a simple Java bean with fields, getters, setters and constructors
enumeration [name] [Name].java a Java enum
exception [name] [Name].java when [Name] ends with ‘exception’ (case-independent check)
[Name]Exception.java otherwise
The class is an exception class that inherits from RuntimeException or from Exception, depending on a generator option