When creating class operations to your own data model in the Implementation folder, you can select from three different types of implementation:
Action Script:The usage of action script is explained on this page.
Mapping Diagram:Refer to Modeling Data Mapping for more information about mapping diagrams.
Activity Diagram: You can implement class operations by a UML activity diagram. Refer to Modeling Activities for more information on activity diagrams.
The xUML Action Language is a script like language that you can use in class operations to implement atomic actions like manipulating strings, arrays, and so forth. Such class operations are called action script.
Refer to xUML Action Language for a comprehensive documentation of all elements of the xUML Action Language.
Creating an Operation Containing Action Script
Via a Quick Action
The fastest way to create an action script operation is via the quick actions of the related class.
Hover over the class you want to add the operation to, and click the Add Action Script Operation quick action ().
Assign a name to your new action script and click Save.
The Action Script Editor opens in a new tab.
You can now add action script.
Expert Advice
Click the help icon () to jump to the documentation of the xUML Action Language for detailed information about the usage of action script. This documentation contains helpful basic information such as