UML 2.2 RTF Avatar
  1. OMG Issue

UML22 — StateMachine - Constraints

  • Key: UML22-33
  • Legacy Issue Number: 7051
  • Status: closed  
  • Source: PostFinance ( Karl Guggisberg)
  • Summary:

    "[1] The classifier context of a state machine cannot be an interface"

    should be:

    [1] The context classifier of a state machine cannot be an interface. not redefinitionContext.oclIsKindOf(Interface)

    "[2] The context classifier of the method state machine of a behavioral feature must be the classifier that owns the behavioral feature."

    should be:

    [2] The context classifier of the method state machine of a behavioral feature must be one of the classifier that features the behavioral feature

    – note that a behavorial feature can be associated with 1..* – classifiers if self.specification->notEmpty() then self.specification.featuringClassifier->includes(redefinitionContext) endif

    "[3] The connection points of a state machine are pseudostates of kind entry point or exit point."

    should be:

    [3] The connection points of a state machine are pseudostates of kind entry point or exit point. connectionPoint->forAll(cp | cp.kind = #entryPoint or cp.kind = #exitPoint )

    "[4] A state machine as the method for a behavioral feature cannot have entry/exit connection points."

    should be:

    [4] A state machine as the method for a behavioral feature cannot have entry/exit connection points. self.specification->notEmpty() implies ( self.connectionPoint->forAll(cp | not (cp.kind = #entryPoint or cp.kind = #exitPoint) ) )

  • Reported: UML 2.0 — Sun, 29 Feb 2004 05:00 GMT
  • Disposition: Resolved — UML 2.2
  • Disposition Summary:

    Discussion
    In UML 2.5, all of the above have been rewritten and corresponding OCL inserted.
    Disposition: Closed - No Change

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