QVT 1.4 RTF Avatar
  1. OMG Issue

QVT14 — QVTr : Redundant opposite notation

  • Key: QVT14-36
  • Status: open  
  • Source: Model Driven Solutions ( Dr. Edward Willink)
  • Summary:

    QVT 1.1 introduced an opposite syntax to support inverse navigation. e.g.
    in 7.3 "opposite(Class.attribute)".

    This is not needed since the OCL implicit opposite role name supports "Class" when there is no ambiguity, and "Class[attribute]" when an ambiguity needs resolution.

    The OCL syntax is shorter and reads forwards, unlike the redundant opposite syntax. Suggest deprecation.

  • Reported: QVT 1.3 — Fri, 15 Apr 2016 10:30 GMT
  • Updated: Fri, 15 Apr 2016 10:30 GMT