JavaBasic-Cartridge
The goal of this target is to provide templates and extensions you use to generate Java-Code. There are 2 major Use-Cases for this cartridge:
- You need to generate simple classes and interface (like the most UML-Tools already provide)
- You develop your own cartridge and don't want to create templates for the generation of simple Java stuff
In both cases you can reuse this cartridge. All templates are very modular, so you can use the AOP-Feature of oAW to extend or replace the provided behaviour (e.g. add Annotations to classes, create functionality for operations,...).
Features
- Supports classes without a stereotype
- Supports interfaces
- Support Generalizations and Realisations with unlimited levels
- Support all visibilities of attributes and operations
- Support static attributes and operations
- Support initial values of attributes
- Support the concept of Entities
- Support documentation for classes, interfaces, attributes (getter and setter) and operations
- Support for exceptions
- Support for modelling primitive types in collections (automatically a Wrapper will be generated)
- Support for defining a customizable Header and Footer for every generated artifact