词条 | Powertype (UML) |
释义 |
In the Unified Modeling Language 1.x, powertype is a keyword for a specific UML stereotype, and applies to a class or dependency. Powertype shows a classifier whose instances (objects) are children of the given parent. In UML 2.x, a powertype is a metaclass whose instances are subclasses of a given class. The stereotype has been removed and the powertype is now indicated by typing the generalization set. In the UML Superstructure 2.4.1 Specification Document[1] the following definition is given: {{quotation |The notion of power type was inspired by the notion of power set. A power set is defined as a set whose instances are subsets. In essence, then, a power type is a class whose instances are subclasses. }} References1. ^{{cite web|url=http://www.omg.org/spec/UML/2.4.1 |title=OMG Unified Modeling Language (OMG UML), Superstructure. Version 2.4.1 |publisher=Object Management Group |accessdate=2013-09-02}} {{DEFAULTSORT:Powertype (Uml)}}{{uml-stub}} 1 : Unified Modeling Language |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。