|Previous||UML Classes||Table of Contents||UML Packages||Next|
ReadIsClassifiedObjectAction is an action that determines whether a runtime object is classified by a given classifier.
Action (from BasicActions ) on page 247
This action tests the classification of an object against a given class. It can be restricted to testing direct instances.
• isDirect : Boolean [1..1] Indicates whether the classifier must directly classify the input object. The default value is
• classifier : Classifier [1..1] The classifier against which the classification of the input object is tested. • object : InputPin [1..1] Holds the object whose classification is to be tested. (Subsets Action.input.)
• result : OutputPin [1..1] After termination of the action, will hold the result of the test. (Subsets Action.output.)
 The multiplicity of the input pin is 1..1.
 The input pin has no type.
 The multiplicity of the output pin is 1..1.
 The type of the output pin is Boolean.
self.result.type = Boolean
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.
No specific notation
ReadisClassifiedObjectAction is introduced for run-time type identification.
ReadisClassifiedObjectAction is unchanged from UML 1.5.