

For example, a navigation from an object across an association can require several API calls.Īlf, on the other hand, was designed as a Java-like scripting language that is fully integrated with the enclosing UML model. While such languages benefit from being already well-known, they do not, however, naturally integrate with the UML model in which they are embedded. It is possible to do this using activity diagrams, but creating explicit activity models at this level of detail is tedious and error prone.Īlternatively, Cameo Simulation Toolkit provides a rich capability for using scripting languages (such as Javascript) within executable UML models. In order for a model to be fully executable, it has to specify all the detailed behavior to be executed during a simulation run. Compiles to executable UML activity models.Provides a syntax aware editor for Alf bodies of activities, opaque behavior, opaque expressions and opaque actions.Supports the Alf 1.1 action language at the “Full Conformance” level.it provides a complete action language for representing behavior within a UML model created in the usual way in MagicDraw.

The Alf Plugin supports the Alf language at the “Full Conformance” level, i.e. When used with Cameo Simulation Toolkit, behavioral specifications written using Alf code are fully executable in the context of class, activity and state machine models.

The Alf Plugin provides both a syntax-aware editor for entering and updating Alf code, and a compiler for translating Alf code into fUML activity models. The Alf Plugin for MagicDraw allows you to use the Alf language within MagicDraw.

Alf is one of a suite of OMG specifications related to defining precise execution semantics for UML, building on the original Foundational UML (fUML) specification. Alf is a standard of the Object Management Group (OMG), which is also the organization that maintains the UML specification. Alf (the Action Language for Foundation UML) is a textual language for coding detailed, executable behavior within an overall UML model.
