Previous UML Classes Table of Contents UML Packages Next


11.3.32 ReadIsClassifiedObjectAction

CompleteActions


   ReadIsClassifiedObjectAction is an action that determines whether a runtime object is classified by a given classifier.

*Generalizations

   

    Action (from BasicActions ) on page 247

*Description

   This action tests the classification of an object against a given class. It can be restricted to testing direct instances.

*Attributes

   • isDirect : Boolean [1..1] Indicates whether the classifier must directly classify the input object. The default value is false.

*Associations

*Constraints

   [1] The multiplicity of the input pin is 1..1.

   self.object.multiplicity.is(1,1)

   [2] The input pin has no type.

   self.object.type->isEmpty()

   [3] The multiplicity of the output pin is 1..1.

   self.result.multiplicity.is(1,1)

   [4] The type of the output pin is Boolean.

   self.result.type = Boolean

*Semantics

   The action returns true if the input object is classified by the specified classifier. It returns true if the isDirect attribute is false and the input object is classified by the specified classifier, or by one of its (direct or indirect) descendents. Otherwise, the action returns false.

*Notation

   No specific notation

   ReadisClassifiedObjectAction is introduced for run-time type identification.

*Changes from previous UML

   ReadisClassifiedObjectAction is unchanged from UML 1.5.