Roundtripping properties
IBM® Engineering Systems Design Rhapsody® includes
many properties to control roundtripping. They are specified in
<lang>_Roundtrip
, where
<lang>
is the programming language. For example, in Rhapsody
Developer for C, these properties are in C_Roundtrip
; in Rhapsody
Developer for C++, they are in CPP_Roundtrip
.
A definition for each property is provided on the applicable Properties tab of the Features window. The following table lists the properties that control roundtripping.
Property | Description |
---|---|
General::NotifyOnInvalidatedModel |
Determines whether a warning window is displayed during roundtrip. This warning is displayed
when information might get lost because the model was changed between the last code generation and
the roundtrip operation. This property is available only in Rhapsody Developer for C and Rhapsody Developer for C++. |
General::ParserErrors |
Specifies the behavior of roundtrip when a parser error is encountered. |
General::PredefineIncludes |
Specifies the predefined include path for roundtripping. This property is available only in Rhapsody Developer for C, C++, and Java. |
General::PredefineMacros |
Specifies the predefined macros for roundtripping. This property is available only in Rhapsody Developer for C and Rhapsody Developer for C++. |
General::ReportChanges |
Defines which changes are reported (and displayed) by the roundtrip operation. This property is available only in Rhapsody Developer for C, C++, and Java. |
General::RestrictedMode |
The RestrictedMode property is a Boolean value (Checked or
Cleared ) that specifies whether restricted-mode roundtripping is available. This
property can be modified on the configuration level. (Default = Cleared ) Restricted mode of Advanced (Full) roundtrip enables you to roundtrip unusual usage of Rhapsody elements, such as a class declaration in a user-defined type. Restricted mode has more restrictions, but preserves the model from unexpected changes. The additional conditions for restricted mode are as follows:
This property is available only in Rhapsody Developer for C and Rhapsody Developer for C++. |
General::RoundtripScheme |
Specifies whether to perform a Basic , Advanced (for C, C++,
and Java only ), or Respect (for C and C++
only) roundtrip.
|
Update::AcceptChanges |
The AcceptChanges property is an enumerated type that specifies which
changes are applied to each code generation element (attribute, operation, type, class, or package).
You can apply separate properties to each type of code generation element. The possible values are as follows:
The value of the property is propagated to all the aggregates of an element.
Therefore, if a package has the property value This property is available only in Rhapsody Developer for C, C++, and Java. |