UML Designer User's Guide

Java versus Smalltalk conventions

In the system settings, you can specify that you want to generate Java code instead of Smalltalk classes. If you select this option, UML Designer uses different conventions when generating accessor messages from a responsibility.

The differences between the Smalltalk conventions and the Java conventions are as follows:

Smalltalk conventions Java conventions
  • add and remove messages specifications return the added or removed object
  • colons are used to indicate keyword parameter positions

  • add and remove message specifications do not return the added or removed element
  • colons are not used to indicate keyword parameter positions


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]