setting macro() Macro
Frequently, it is necessary to store literals global to an xUML service. In the Bridge context, it is possible to define name value pairs that are configurable by the administration interface.
This can be achieved by using the settings macro function or by defining initial values of attributes as overridable. This is done by setting the tagged value setting to true. For an example, see the class diagram Initial Values in the example model.
Syntax |
NONE
| |
---|---|---|
Semantics | The name-value pair can be overridden on the Bridge. It is found in the settings tab. There, the name of the setting is given by Sometimes, the setting macro is used to define passwords. In this case, there is a third parameter: the literal "password". It causes the Bridge to hide the value of this setting. | |
Substitutables |
| String literal. |
| A literal value of base type. | |
Examples | By default, y is assigned to x. However, on the Settings tab of the xUML service in the Bridge, the value of the variable
NONE
|
If you want to define settings that can be used in multiple services, refer to Using Global Setting Variables.
Example File (Builder project E2E Action Language/Operating):
<your example path>\E2E Action Language\Operating\uml\settings.xml |
Related Pages: