MARTE 1.0b2 FTF Avatar
  1. OMG Issue

MARTE — Consider adding a new attribute to «boundedSubtype»

  • Key: MARTE-2
  • Legacy Issue Number: 11163
  • Status: closed  
  • Source: The MathWorks ( Alan Moore)
  • Summary:

    Consider adding a new attribute to «boundedSubtype» to specify what the default value for the new type is. Something like <<boundedSubtype>>.defaultValue

  • Reported: MARTE 1.0b1 — Thu, 19 Jul 2007 04:00 GMT
  • Disposition: Resolved — MARTE 1.0b2
  • Disposition Summary:

    A BoundedSubtype, as other data types, defines a space of valid values. However, it doesn't describe any particular value property. Specifying a default value is to be done at property declaration level, and it's already supported by UML itself. This approach is natural from a pragmatic viewpoint (different properties typed by the proposed BoundedSubtypes could have different default values), and from the general practice in (modeling, programming) languages.

    For these reasons, we don't add default values for BoundedSubtype, or whatever data types.

    Disposition: Closed, no change

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