Suppose I have some Class
(specialization of BehavioredClassifier
) with three operations A()
, B()
and C()
and the operation C
just calls operation A
and then B
. UML's CallOperation
action (see 16.3.3.1 Call Actions) requires target
object which in this case will be a context object in UML parlance as described in section 13.2.3.4 Behaviored Classifiers of UML Specification:
a Behavior that is the ownedBehavior of a BehavioredClassifier has that BehavioredClassifier as its context... If a Behavior has a context , then an execution of the Behavior always has an associated context object that is an instance of the context BehavioredClassifier (as long as that BehavioredClassifier is instantiable)
UML Activity diagram will look rather ugly due to Read self
activity (see 16.4.3.4 Read Self Actions in UML Specification):
I have a feeling that I read somewhere that Read self
can be omitted under some circumstances and target
may be assumed to be context object in that case.
Is there such clause in UML documentation?