Chapter 5 Building Dynamic Diagrams
Variables hold temporary values that can be passed between activities. You can create and access variables using the Write Variable and Read Variables action types
To create a variable:
To write to an existing variable:
To read from a variable:
Variables can have the following properties:
Property | Description |
---|---|
Name | Specifies the name of the item, which should be clear and meaningful, and should convey the item's purpose to non-technical users. |
Code | Specifies the technical name of the object, which is used for generating code or scripts. |
Comment | Descriptive comment for the object. |
Stereotype | Extends the semantics of the object beyond the core UML definition. |
Data type | Specifies the data type of the variable. You can choose a standard data type or specify a classifier. You can use the tools to the right of the list to create a classifier, browse the available classifiers or view the properties of the currently selected classifier. |
Multiplicity | Specifies the number of instances of the variable. If the multiplicity is a range of values, it means that the number of variables can vary at run time.
You can choose between:
|
Copyright (C) 2008. Sybase Inc. All rights reserved. |
![]() |