OCL 2.5 RTF Avatar
  1. OMG Issue

OCL25 — Why OCL does not have "super" reference?

  • Key: OCL25-125
  • Legacy Issue Number: 15249
  • Status: open  
  • Source: NASA ( Maged Elaasar)
  • Summary:

    I hope someone can explain to me why OCL does not have a reference to "super" (similar to the existing reference to "self"). Wouldn't you want to sometimes call the redefined version of an operation from an OCL exrpression, similar to how you can do that in Java?

    From my limited knowledge of ALF (the action language), I understand it supports the "super" reference, so this tells me there is no semantic restriction there?

  • Reported: OCL 2.1 — Tue, 20 Apr 2010 04:00 GMT
  • Updated: Thu, 8 Oct 2015 14:12 GMT