UML 1.4 NO IDEA Avatar
  1. OMG Issue

UML14 — UML 1.4: State containment problem

  • Key: UML14-75
  • Legacy Issue Number: 4729
  • Status: closed  
  • Source: Anonymous
  • Summary:

    According to the UML 1.4 metamodel, a State can either be contained as a
    "subvertex" in a CompositeState [UML 1.4, pp. 2-147], as the "top" state in
    a StateMachine [UML 1.4, pp. 2-147], or as an "ownedElement" [UML 1.4, pp.
    2-13] in a Model, Package, Artifact, Node or ClassifierRole (all other
    concrete subclasses of Namespace restrict their owned elements to exclude
    State). The latter containment does not seem to make a lot of sense.

    Fortunately, the description of a StateMachine states that "This means that
    a state machine owns its transitions and its top state. All remaining states
    are transitively owned through the state containment hierarchy rooted in the
    top state." [UML 1.4, pp. 2-153].

    The question is: does this mean that a State is restricted to being
    contained in a CompositeState or a StateMachine? If not, please explain the
    meaning of e.g. a State contained directly in an otherwise empty Package?

    If the mentioned restriction is intended, it should be stated
    unambiguously so in the wellformedness rules for State:

  • Reported: XMI 1.3 — Wed, 5 Dec 2001 05:00 GMT
  • Disposition: Resolved — UML 1.4.2
  • Disposition Summary:

    No Data Available

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