Fornax-Platform View a printable version of the current page. Export Page as PDF
  JavaBasic (CJB)
 
 Browse Space
General


Projects


Latest News
Latest News
(The 15 most recent blogposts in space Fornax-Platform.)


Global Reports
Find all pages that arent linked from anywhere.
Find all undefined pages.
Feed for new pages.
Added by Thorsten Kamann, last edited by AndrĂ© Neumann on Mar 04, 2009  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

JavaBasic-Cartridge

Current version is 2.1.0.
To view the changes please refer the Issue-Tracker page.

 

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