Page History
Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
...
Hint_designer |
---|
...
Class | e2e-refDiv |
---|
...
Otp | ||
---|---|---|
|
Rp |
---|
|
Parameters of Action "read"
Multiexcerpt include | ||||
---|---|---|---|---|
|
Defining a "read" Action
To read a file with the file system adapter, you need to define a read action on an action having the stereotype <<FileSystemAdapter>>. You can do this manually or with the help of the xUML Action Wizard (see context menu of the action node).
Figure: Reading a File
Image Modified
The file content is of base type Blob and can be stored either in an output object buffer, as in the above diagram, or in an output pin; in both cases the output must be named data.
The path and file name of the file you want to access are defined in the component diagram.
Multiexcerpt | ||
---|---|---|
| ||
The link from the activity diagram to the physical information is established by an alias (in the present example: FileAlias). See File System Components for more information on file system aliases. For information on how to access a file or directory dynamically refer to Dynamic File Access. |
Properties of the File System Adapter Action
To specify the action of reading a file open the specification dialog of the file system adapter and choose the corresponding item from the list of Action entries:
Figure: The Specification Dialog of the File System Adapter
Image Modified
Alternatively, you also could use the xUML Action Wizard (see context menu of the action node).
Otp | ||
---|---|---|
|
Rp |
---|