Previous UML Classes Table of Contents UML Packages Next


11.3.28 Pin

BasicActions


*Generalizations

   

    MultiplicityElement (from BasicActions ) on page 273

   

    TypedElement (from Kernel ) on page 138

*Description

Issue 8173 - remove extra ‘provide’ word

   A pin is a typed element and multiplicity element that provides values to actions and accept result values from them.

*Attributes

   No additional attributes

*Associations

   No additional associations

*Constraints

   [1] If the action is an invocation action, the number and types of pins must be the same as the number of parameters and types of the invoked behavior or behavioral feature. Pins are matched to parameters by order.

*Semantics

   A pin represents an input to an action or an output from an action. The definition on an action assumes that pins are ordered.

    Pin multiplicity controls action execution, not the number of tokens in the pin (see upperBound on ObjectNode (from BasicActivities , CompleteActivities ) on page 408). See InputPin (from BasicActions ) and OutputPin (from BasicActions ) for semantics of multiplicity . Pin multiplicity is not unique, because multiple tokens with the same value can reside in an object node.

*Notation

   No specific notation. See extensions in Activities.

   Pins are introduced to model inputs and outputs of actions.

*Changes from previous UML

   Pin is the same concept as in UML 1.5, but modeled independently of the behaviors that use it.