MOF 2.4 RTF Avatar
  1. OMG Issue

MOF24 — linksOfType needs includeSubtypes parameter

  • Key: MOF24-72
  • Legacy Issue Number: 15661
  • Status: closed  
  • Source: Adaptive ( Pete Rivett)
  • Summary:

    In 13.6, elementsOfType has a parameter includeSubtypes, but linksOfType does not. There is no reason for this disparity – Associations can be generalized.

  • Reported: MOF 2.0 — Tue, 28 Sep 2010 04:00 GMT
  • Disposition: Resolved — MOF 2.4
  • Disposition Summary:

    Clause 13.7 – operation linksOfType()
    Replace the signature:
    linksOfType(type : Association) : Link[0..*]
    by:
    linksOfType(type : Association, includesSubtypes : Boolean) : Link[0..*]
    Perform the same change in the MOF model.
    Replace the explanatory sentence following signature by the following text:
    This returns those links in the extent that are instances of the supplied Association,
    or of any of its specializations if includesSubtypes is true.
    [ the diagram will be updated by resolution of 15608 ]

  • Updated: Mon, 20 Apr 2015 17:34 GMT