Date: Fri, 29 Mar 2024 01:20:31 +0100 (CET)
Message-ID: <729585566.1305.1711671631862@nm-docs>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_1304_2141759479.1711671631861"
------=_Part_1304_2141759479.1711671631861
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
The Round Trip feature keeps your code and model synchronized. B=
ecause Round Trip traces all model and code changes, you can freely change =
entity specifications without discarding code changes made outside the tool=
.
For example, Round Trip prevents a job from being damaged by code editio=
ns or changes when the following steps are performed:
- A Class Base is created within the tool.
- The Operation getInstance is added to the Class.
- Code is generated.
- With an external tool, a programmer adds some code to that operation.=
li>
- With a modeling tool, a name of the operation is changed to Instanc=
e.
- Code is generated.
If the tool rewrites the whole code, these changes are made without corr=
upting the programmer=E2=80=99s job. The name of the operation is changed, =
but the internals remain the same.
Round Trip catches all changes in your project and controls the followin=
g actions:
- If the source code is not changed, you are not allowed to refresh the U=
ML model. The Refresh command from the set short=
cut menu is unavailable.
- If the model is changed but the code remains the same (new members were=
added or their headers were changed), refresh is not allowed, and the =
;Refresh command from the set shortcut menu is unavai=
lable. When generating code according to changes, all changes in the model =
are written to the signatures of class members, leaving the old implementat=
ion in place.
- If the code is changed but the model remains the same, refresh can be e=
xecuted; code will reverse to the UML models. If the Code Gene=
ration Options dialog box appears when you attempt to generat=
e code, you can select a code action that differs from the UML model.
- If the code and model ar=
e changed while refreshing, all changes in the code are treated as new item=
s and added to the model.
- If data in the model file is deleted, it will be restored while refresh=
ing, even when the code has not been changed or the data itself is unimport=
ant.
Related Pages:
------=_Part_1304_2141759479.1711671631861--