Appendix UML element model

zhaozj2021-02-16  50

1.UML Definition Document UML is defined by a series of documents published by a series of Object Management Group [UML-98]. These documents are included in the CD attached to this book. This chapter explains the structure of the UML semantic model described in these documents. UML is formally defined by the meta-model - that is, the model of the composition in the UML. The meta model itself is expressed in UML. This is an example of a meta-cycle interpretation - that is, a language defined by itself. Things are not completely cycled. Only a small subset of UML is used to define a meta-model. In principle, the defined fixed point can be guided from a more basic definition. In practice, there is no need to be so hard. Each section of the semantic document contains a class diagram that displays some metamodes; defines a text description of the metamodes of each part, and their attributes and contacts; a series of functions on the elements and OCL language limits The text description of the dynamic semantics defined in each portion of the UML composition. Therefore, dynamic semantics is unfair, but a completely formal description is not feasible and is not readable. The representation is described in a separate chapter that references a semantic chapter and maps the symbol to the meta-mode class. 2. Metamodel structure element model is divided into three basic packages (Fig. A-1). * Define the UML Static Semantic Basic Package * Defines the UML Dynamic Semantic Behaviors Pack * Defines the model management package diagram A-1 of the organizational structure of the UML model. Package structure of the UML meta model 3. Basic package (Foundation package) Basic package contains four subcles. The core core package describes the main static components of UML. Including the class, their content and their content. They include attributes, operations, methods, and parameters. Their linkages include generalization, correlation, and dependence. Several abstract metaccies are also defined, such as generalized elements, namespaces, and model elements. This package also defines templates and various dependent subclasses, as well as components, contacts, and comments. Data Type Data Type Package defines data types for meta. The extended mechanism expansion mechanism describes constraints, constructors, and tag value. 4. Behavioral Elements Package behavior package The behavior structure of three main views provides a sub-package, which also provides a sub-package for each primary view. Public behavior public behavior package describes signals, operations, and actions. It also describes examples corresponding to various descriptions. Cooperative partnership package describes cooperation, interaction, messaging, class elements, and associations. Participants and use cases are described with example examples. The state machine state machine describes the state machine structure, including status, and various pseudo-state, events, signals, conversion, and monitoring conditions. It also describes the additional structures of the active model, such as action status, active status, and object flow state. 5. Model Management Package Model Management Pack describes packets, models, and subsystems. It also describes the visibility properties of relationships and namespaces and packages. It has no subclap.

转载请注明原文地址:https://www.9cbs.com/read-25101.html

New Post(0)