Synchronization Between Models and Source Code
Go Up to Introductory Modeling Concepts
The real time synchronization between models and source code is the key feature of implementation projects.
When a Class diagram is created in an implementation project, it is immediately synchronized with the existing source code. When you change a Class diagram, Modeling updates the corresponding source code.
Modeling allows you to synchronize different aspects of your project in several ways.
Use the Reload command (in the Model View) to refresh the UML model from the source code.
Doc comment properties
Some properties that are defined for the model elements and members in the Object Inspector, are presented in the source code as language-specific doc comments. In particular, these properties are: author, since, version, stereotype, associates, and so on. When such comments are encountered in the source code, they are reverse engineered to model properties.