刻板印象的情况重要吗?
Does the case of a stereotype matter?
UML 2.5 使用了很多标准的构造型,并且它们都以某种方式排版(驼峰式大小写似乎是默认的)。但是:它与外壳有关吗? uppercase 和 lowercase 在整个文档中只有两次出现。两者均未提及刻板印象(或关键字)用法。
我在第 260 页的 UML 2.5 规范中找到了它:
Normally a Stereotype’s name starts with an upper-case letter, to
follow the convention for naming Classes. However Profiles may use
different conventions. Matching between the names of Stereotype
definitions and applications is case-insensitive, so naming stereotype
applications with lower-case letters where the stereotypes are defined
using upper-case letters is valid,
although stylistically obsolete. For legacy reasons a tool may display
stereotype names with the initial letter in lower case even when
defined in upper case.
刻板印象是不区分大小写
UML 2.5 使用了很多标准的构造型,并且它们都以某种方式排版(驼峰式大小写似乎是默认的)。但是:它与外壳有关吗? uppercase 和 lowercase 在整个文档中只有两次出现。两者均未提及刻板印象(或关键字)用法。
我在第 260 页的 UML 2.5 规范中找到了它:
Normally a Stereotype’s name starts with an upper-case letter, to follow the convention for naming Classes. However Profiles may use different conventions. Matching between the names of Stereotype definitions and applications is case-insensitive, so naming stereotype applications with lower-case letters where the stereotypes are defined using upper-case letters is valid, although stylistically obsolete. For legacy reasons a tool may display stereotype names with the initial letter in lower case even when defined in upper case.
刻板印象是不区分大小写