事实上,一个UML2.0原型被定义成好像它仅仅只是一个现有uml元类的子集,并带有关联的属性(代表加有标签的值的标签),操作和限制。
In effect, a UML 2.0 stereotype is defined as if it were simply a subclass of an existing UML metaclass, with associated attributes (representing tags for tagged values), operations, and constraints.
然后,还需要在cmdlineparser类上定义一个类级别的变量,定义用于代表选项的实际字符串值。
Second, you need to define a class-level variable on the CmdLineParser class as well that defines the actual string value to represent the option. You can do this by adding this line.
应用推荐