-
Key: UMLR-187
-
Legacy Issue Number: 14536
-
Status: open
-
Source: Alion Science and Technology ( Mr. James L. Logan III)
-
Summary:
In the UML 2.2 spec (ptc/2008-05-05), there is no way to show that a constraint on a class has a stereotype or stereotype tags. I would like to see something with nested braces. For example, { <<stereotype>> constraint1: body
{tag1=value, tag2=value}}.
I recommend changing the notation from this:
A Constraint is shown as a text string in braces ({}) according to the following BNF:
<constraint> ::= '
{' [ <name> ':' ] <Boolean-expression> '}'
to this:
A Constraint is shown as a text string in braces ({}) according to the following BNF:
<constraint> ::= '{' [ <stereotypes> ] [ <name> ':' ] <Boolean-expression> [ '
{' <valuestring> '}' ] '}'
The <stereotypes> and <valuestring> use the presentation options described in 18.3.8 (Stereotype).
-
Reported: UML 2.5 — Wed, 7 Oct 2009 04:00 GMT
-
Updated: Fri, 6 Mar 2015 20:57 GMT