Previous UML Classes Table of Contents UML Packages Next

11.3.48 TestIdentityAction


   TestIdentifyAction is an action that tests if two values are identical objects.



    Action (from BasicActions ) on page 247


   This action returns true if the two input values are the same identity, false if they are not.


   No additional attributes



   [1] The input pins have no type.

   self.first.type->size() = 0

   and self.second.type->size() = 0

   [2] The multiplicity of the input pins is 1..1.,1)


   [3] The type of the result is Boolean.



   When all the prerequisites of the action have been satisfied, the input values are obtained from the input pins and made available to the computation. If the two input values represent the same object (regardless of any implementation-level encoding), the value true is placed on the output pin of the action execution, otherwise the value false is placed on the output pin. The execution of the action is complete.


   No specific notation

   TestIdentityAction is introduced to tell when two values refer to the same object.

*Changes from previous UML

   TestIdentityAction is unchanged from UML 1.5.