UML review materials [1]

xiaoxiao2021-03-06  104

One .uml concept model

Three basic texture blocks of UML: things, relationships, and charts.

UML's four relationships: dependence, generalization, correlation, and implementation.

- Dependence: A class uses another class, usually the dependency is a definition of another class in a class operation. The figure is a arrow with a broken line.

- Generalization: The relationship between classes and its subclasses. It is called generalization, which is inherited. The illustration is: hollow triangles and solid lines.

- Association: There is a relationship between the examples of the class, the illustration as: the unidirectional line, can have a solid arrow representation direction. It can have a number of correspondence, such as 1: *, etc.

- Implementation: The relationship between classes and interfaces. Use between two places: interface and implementation between the class and builds, use cases and achieve their collaboration. The figure is shown as a dashed hollow triangle.

UML map

Type diagram

Class diagrams show a set of classes, interfaces, and collaboration and their relationships. The system can have multiple class diagrams, and a single class diagram represents an aspect of the system, and the class diagram contains the properties and operations of the class.

2. Object map

Object charts show a set of objects and their relationships. Object diagram illustrates the data structure and static snapshot of the instance reacted in the class diagram. Object charts express static design views and static processes views in the system.

3. Conditional

The status diagram shows a set of things, participants, and the relationship between them.

4. Interaction

The interaction showing a set of interactions in a context and interactive information between a context. Can be used to describe a behavior, sequence diagrams, and collaboration diagrams are interactive.

5. Sequence diagram

The sequence diagram showcases a set of messages sent and received by this group of objects for a dynamic view of the control flow mode, sequential diagram as a system.

6. Collaboration map

Collaborative diagrams show a set of objects, the connection between this group of objects and the message sent and received by the object. Emphasize the structural organization of sending and receiving message objects.

7. Status diagram

The state diagram shows all possible states of a particular object and the state migration generated by the occurrence of various events. Can be used to describe the life cycle of the instance.

8. Event map

The map is a special state diagram, which describes the activities you need, and the order of execution of these activities and workflows. Emphasize the control process of the system.

9. Component diagram

The component diagram shows the tissue and dependencies of a component.

10. Deployment

Deployment Diagram shows the deployment of the runtime, deployment, describes the physical topology of the system hardware, and software executed on this structure.

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

New Post(0)