UML 2.3 RTF Avatar
  1. OMG Issue

UML23 — UML 2: conflicting specifications for how to calculate context for a Behavior

  • Key: UML23-17
  • Legacy Issue Number: 13476
  • Status: closed  
  • Source: Model Driven Solutions ( Steve Cook)
  • Summary:

    According to 13.3.2 context is calculated as follows: “If the behavior is owned by a BehavioredClassifier, that classifier is the context; otherwise, the context is the first BehavioredClassifier reached by following the chain of owner relationships.” Also according to 13.3.2 ”When a behavior is instantiated as an object, it is its own context.” These two statements are contradictory.

  • Reported: UML 2.2 — Mon, 9 Feb 2009 05:00 GMT
  • Disposition: Resolved — UML 2.3
  • Disposition Summary:

    The second quoted sentence is confusing, though the intended meaning is not contradictory with the calculation of the context classifier. The intent is that, when a Behavior without a context classifier is instantiated then, at runtime, the behavior instance acts as its own context object, even though it is not its own context classifier.

  • Updated: Fri, 6 Mar 2015 20:58 GMT