Java

Java generator produces .java files including class defintions: class names, inheritance and its type, attribute and method definitions together with data types, access levels etc.

The report specification links below are direct links to the .rep files, which are ASCII files that MetaEdit+ can read with its 'Read from File' function in the Report Browser. Download the report specifications by selecting first the report type and then the appropriate modeling language (report specifications are typically dependent on the language used, and thus for example Java generator from OMT is not workable with Fusion). To download use 'Save' function in your browser.

All report files are supplied 'as is', with no guarantees, and no liability for any damages is accepted by MetaCase Consulting.

Coad/Yourdon OOAD; Object Diagram

Example

// From MetaEdit+, graph: Ball game - Design
// (.java file)

abstract class CompositeObj extends GameObject {
       collection parts;

       // Initializes the whole system.
       void initialize (  ) {
       }

       // Removes given part from the part collection.
       void removePart ( part ) {
       }

} // end of class CompositeObj

abstract class GameObject {

} // end of class GameObject

abstract class MovingObj extends GameObject {
       // please specify data type                     position;