OARIS 1.0 FTF Avatar
  1. OMG Issue

OARIS — Class descriptor contains range attribute (reserved word in Ada)

  • Key: OARIS-26
  • Status: closed  
  • Source: BAE SYSTEMS ( Mr. Simon Mettrick)
  • Summary:

    Class descriptor, supporting use case Manage Subsystem Parameters, contains an attribute called range. This is a reserved word in Ada and leads to compilation errors in code generated from the OARIS model.

  • Reported: OARIS 1.0b1 — Mon, 2 Mar 2015 11:24 GMT
  • Disposition: Resolved — OARIS 1.0
  • Disposition Summary:

    Change name of attribute to parameter_range

    Change name of attribute range in class descriptor in package Domain_Model.Subsystem_Domain.Subsystem_Control to parameter_range.

    Changing the name to parameter_range is both more descriptive and consistent with other attribute names for the type (parameter_name, parameter_type & parameter_unit). It also avoids clashes with names from other language specifications.

  • Updated: Tue, 22 Dec 2015 15:07 GMT