DAM: Only one TOTAL_OVER

Wilson, Peter R peter.r.wilson at boeing.com
Thu May 9 15:00:04 EDT 2002


    The DAM allows a maximum of one TOTAL_OVER constraint in a
SUBTTPE_CONSTRAINT. Is there any good reason why it should not allow
multiple TOTAL_OVERs?

    For example, our old friend person being either male or female and
either alien or citizen. At the moment this has to be done like (ignoring
any syntax errors):
SUBTYPE_CONSTRAINT sc1 FOR person;
  TOTAL_OVER(female, male);
END_SUBTYPE_CONSTRAINT;
SUBTYPE_CONSTRAINT sc2 FOR person;
  TOTAL_OVER(alien, citizen);
END_SUBTYPE_CONSTRAINT;

    Why not allow
SUBTYPE_CONSTRAINT sc12 FOR person;
  TOTAL_OVER(female, male);
  TOTAL_OVER(alien, citizen);
END_SUBTYPE_CONSTRAINT;

Peter W.

Dr Peter R. Wilson
Boeing Commercial Airplanes
PO Box 3707, MS 6H-AF, Seattle, WA 98124-2207
(Package Delivery: MS 6H-AF, 1601 E. Valley Frontage Road, Renton, WA 98055)
Tel: (425) 237-3506, Fax: (425) 237-3428
Email: peter.r.wilson at boeing.com
--------------------------------
Any opinions expressed above are personal;
they shall not be construed as representative of any organisation.
--------------------------------
 



More information about the wg11 mailing list