Action (UML)

An action ( engl. Action ) is a model element in the Unified Modeling Language ( UML), a language for modeling the structure and behavior of software and other systems.

Description

An action is an abstract model element in the metamodel of UML 2. It represents a fundamental building block for the specification of the behavior of a system.

An action input pin receives input values ​​and produces output values ​​to output pins. The input and output pins are the hinges on which an action with other actions can be combined so that the values ​​at the output pins of an action to the values ​​at the input pins of the other action will be. Behavioral descriptions such as the activity or interaction orchestrate elementary actions to behavioral specifications.

The UML2 defines a set of elementary actions and divides them into several groups.

Call actions

The call actions the action belongs to invoke an operation on a class (call operation action), the action to invoke the behavior of a class ( CallBehaviorAction ), the actions for sending a signal (send signal action and broadcast signal action ) and the action to send an object ( SendObject Action ).

Actions for manipulating objects

Among the actions for the manipulation of objects include actions for creating and destroying an object ( CreateObject Action and Destroy Object Action ) and to test the identity of an object (Test Identity Action ).

Actions for the manipulation of structural features

A set of actions for the manipulation of pre-defined structural features. To this end, an action is one for reading a structural feature (Read Structural Feature Action ), to delete the contents of a structural feature (Clear Structural Feature Action ) and to manipulate the contents of a structural feature ( AddStructuralFeatureValueAction and RemoveStructuralFeatureValueAction ).

Actions for the manipulation of object relations

Among the actions for the manipulation of object relations (left) an action for reading an object relationship (Read Link Action ) and an action that all object relations part of an action for creating and deleting an object relationship (Create Link Action and Destroy Link Action ), to a certain be deleted Association ( ClearAssociationAction ).

Actions on objects

Some actions are provided in the UML2 to get information about objects or nudge the behavior of objects. ReadExtentAction represents the output pin all instances of a particular classifier available. ReadIsClassifiedObjectAction determines whether an object is a direct or indirect instance of a particular classifier. To make an object at runtime instance of a classifier, is the action ReclassifyObjectAction available. StartClassifierBehaviorAction starts the Classifierverhalten one instance.

Actions to receive events

The AcceptEventAction action receives an event AcceptCallAction an event that indicates the invocation of an operation.

Actions for generating a value

The ValueSpecificationAction action generates a certain value according to a value at an output pin specification.

Notation

  • UML language unit
38773
de