Basic Structural Modeling
(continued)
C. Common Mechanisms
A note is a graphical symbol for rendering constraints or comments attached to an element or a collection of elements.
A stereotype is an extension of the vocabulary of the UML, to allow creating new kinds of building blocks.
A tagged value is en extension of the properties of a UML element to allow creating new information in the specification of that element.
A tagged value is metadata.
A constraint is an extension of the semantics of a UML element to allow adding or modifying rules.
element using dependency.
Using stereotypes, and tagged values
D. UML Diagrams
For illustrating the static design view of a system.
For illustrating data structures, the static snapshots of class instances.
For illustrating the static implementation view of a system
For illustrating the static deployment view of an architecture.
For illustrating the static use case view of a system.
For illustrating the dynamic view of a system
For illustrating the dynamic view of a system
For illustrating the dynamic view of a system
For illustrating the dynamic view of a system
Use case view:
The use of use cases that describe the behavior of the system as seen by its end users, analysts, and testers.
Design View:
The classes, interfaces, and collaborations that form the vocabulary of the problem and its solution.
Supporting the functional requirements of the system.
Process View:
The threads and processes that form the concurrency and synchronization of the system.
Addressing the performance, scalability, and throughput of the system.
Implementation View
:The components and files that are used to assemble and release the physical system
Addressing the configuration of the system.
Deployment View:
The nodes that form the hardware topology of the system on which the system executes
Addressing the distribution, delivery, and installation of parts that make up the physical system.
Use case view:
Use case diagrams, interaction diagrams, activity diagrams
Design view:
Class diagrams, interaction diagrams, statechart diagrams
Process view:
Class diagrams (with active classes), interaction diagrams
Implementation view:
Component diagrams
Deployment view
Deployment diagram
Use case view, design view
Use case view, design view, component view, deployment view
E. Class Diagrams
Mechanism represents some function or behavior of the part of the system from interaction of classes, interfaces, and others.
The process of transforming a model into code through a mapping to an implementation language.
Result in a loss of information (structural and behavioral features)
Forward engineering a class diagram:
The process of transforming code into a model through a mapping from the implementation language.
Result in a flood of low-level information.