Page 1 of 1

constraint names

PostPosted: Tue Jan 09, 2001 8:15 am
by Neil Dyer
There does not appear to be a way to suppress the display of the name of
a constraint, or to have a constraint with no name. I believe UML does
not require constraints to have names. I tend to only have one
constraint per class or association, its invariant, and I use OCL. I
find that the display of the constraint name followed by a '=' can be
confusing because the '=' is a common OCL operator. If a name must be
displayed, perhaps the suffixed '=' could be changed to some other
symbol, say ':'.



Re: constraint names

PostPosted: Wed Jan 10, 2001 3:54 am
by Nerijus Jankevicius
Neil,

Thanks for remarks.
We have checked UML specification and have not found requirements for
constraint name.
We will fix it in next version.

Regards,
--
Nerijus Jankevicius
Senior Programmer
No Magic
Lithuania
e-mail: nerijus
WWW: http://www.nomagic.com



"Neil Dyer" <neildyer> wrote in message
news:3A5B1CFE.B621D242...
> There does not appear to be a way to suppress the display of the name of
> a constraint, or to have a constraint with no name. I believe UML does
> not require constraints to have names. I tend to only have one
> constraint per class or association, its invariant, and I use OCL. I
> find that the display of the constraint name followed by a '=' can be
> confusing because the '=' is a common OCL operator. If a name must be
> displayed, perhaps the suffixed '=' could be changed to some other
> symbol, say ':'.
>
>