RAD Studio (Common)
ContentsIndex
PreviousUpNext
Synchronization Between Models and Source Code

The feature providing real time synchronization between models and source code is the key feature that keeps your model and source code synchronized. That is why it applies to implementation projects only. 

When a Class diagram is created in an implementation project, it is immediately synchronized with the implementation code. When you change a Class diagram, the UML modeling feature updates the corresponding source code. 

UML modeling allows you to synchronize different aspects of your project in several ways. 

Use the Reload command to refresh the UML model from the source code.

The modeling feature supports the OMG’s Model Driven Architecture (MDA) initiative. 

MDA is an evolving conceptual architecture for a set of industry-wide technology specifications that will support a model-driven approach to software development.  

MDA is supported by UML, XMI, and other technologies.

Some properties that are defined for the model elements and members in the Object Inspector - Properties Window, 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.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!