The aim of this project is to create a tool by which i) Use Case, ii) Class and ii) Sequence diagrams can be drawn on the screen and printed on as few pages as possible (while keeping them readable), and from which Java “code skeletons” (as described below) can be created.
The Use Case diagrams allow an analyst to indicate the users (actors) of a software system and their actions. A use case can later be represented by a single class, with as many subclasses as needed (as shown in the class diagram).
The Class Diagram embodies the classes, their attributes and methods (with return and parameter types, if entered), and their associations with other classes, including multiplicities. Indications of special associations like “ISA”(subclass) , “HAS” (aggregation), uni-direction (arrowhead) are required. Showing rolenames is not required.
The Sequence Diagram shows the sequence of interactions among objects of the classes shown in the Class diagram.
Details are available in the book, in internet sources and books on UML. OCL is not required.
The Code Generation System will create Java class code skeletons corresponding to the classes and calls to other classes as shown in the sequence diagram. It will permit placement of links to as many objects as indicated by the multiplicities.