Product Manager Essential Skills | UML from entry to the master (a) - The Basics

1.UML Introduction

What is 1.1 UML

UML is the Unified Modeling Language abbreviation (UnifiedModelingLanguage), which was published in 1997, is a support system modeling and software development graphical language, modeling and visualization to provide support for all phases of software development.

1.2 UML Features

UML use unified, standardized marking and definition, which combines the best of today's object-oriented software modeling.

1.3 UML role

UML object-oriented software system of description and modeling .

1.4 UML difference between programming languages

UML is a follow precise grammar graphic language , unlike Java, to build a model of the system.

UML supports both forward engineering, reverse engineering is also supported.
Here Insert Picture Description

2.UML structure

  • The basic building blocks: modeling elements i.e., the main body model.

  • UML rules: govern the rules on how the basic building blocks together.

  • Common mechanism: the mechanism used in common throughout the UML model, extension mechanism.

Here Insert Picture Description

3.UML basic building blocks

3.1 things, relationships, chart
  • Things and clearance system known as model elements

  • A model with a different element can be used in the UML diagram

The figure below shows the basic building blocks part
Here Insert Picture Description

3.2 UML basic building blocks - things

Building blocks is an abstract object model component representative of the most

  • Structure of things: UML terms, the model of the static part
  • Behavior things: dynamic part of the UML verb, model
  • Packet things: UML container, used to organize model
  • Notes things: explain part of the UML, the model used to describe the
3.2.1 structure of things
  • 1. classes and objects
    class is a group set with the same attributes and behavior of
    a particular object is an instance of the class
    Here Insert Picture Description
  • 2. Interface
    is used to describe a class of a service or set of actions to build
    Here Insert Picture Description
  • 3. Activity class
    object activity class at least have a thread or process
    outermost border activity class with a thick line
    Here Insert Picture Description
  • 4. Use Example
    to visualize the system requirements outlined
    Here Insert Picture Description
  • 5. collaboration
    by a group work together to provide collaborative role and behavior of elements that make up
    Here Insert Picture Description
  • 6. The assembly
    is used to represent a large class of software entities than
    Here Insert Picture Description
  • 7. node
    physical elements present in the system at runtime
    Here Insert Picture Description
3.2.2 behavior of things
  • Interaction: represented by the directional arrow with a name or content
    Here Insert Picture Description
  • State Machine: The state of drawing a rounded rectangle, and write the state name and name inside the rectangular sub-state
    Here Insert Picture Description
3.2.3 Packet things
  • Package: a large number of medium and large class group management software
    Here Insert Picture Description
3.2.4 Notes things
  • Notes: simple symbols for the elements of interpretation
    Here Insert Picture Description
3.3 UML basic building blocks - Relationship

1. Dependencies

  • One thing changes, it will affect the semantics of the other things
    Here Insert Picture Description

2. relationship

  • Contact between objects a thing of the object and another thingHere Insert Picture Description

3. Generalization

  • It can be seen as inheritanceHere Insert Picture Description

4. Implement relations

  • One class specified by another class element to ensure the implementation of the contractHere Insert Picture Description
3.4 UML basic building blocks - FIG.
3.4.1UML classification model diagram

As shown below
static FIG divided into: use case diagram, class diagram, an object diagram, package diagram, FIG member, deployment FIG. Dynamic FIG divided into: a state diagram, an activity diagram, a collaboration diagram, a sequence diagram.
Here Insert Picture Description

3.4.2UML nine kinds of map
  • FIG using Example: Description System From a user perspective, the model is a function diagram of a system user can observe
  • FIG class: class structure described static system
  • FIG Object: describes the state of each object involved in the interaction at some point during the interaction of
  • FIG member: description of the physical structure of the member, and the dependence of each component
  • FIG Deployment: definition of the physical system architecture of the hardware and software described arrangement member is located on the node instances running instance
  • FIG sequence: display the dynamic relationship between objects, the order messages sent between the stressed object
  • FIG Collaboration: presentation connection and information exchange between a set of objects
  • FIG Status: The status of the nodes, all show the status of a particular object, an object instance described lifecycle
  • FIG Activities: Activities described workflow execution algorithms involved, emphasizes controlling the flow between objects
Figure 3.4.1UML nine kinds of integrated application

Here Insert Picture Description

UML own summary notes, hoping small partners can pick a like oh, is not easy hand to play, thanks for the support Oh! ! ! !

Released seven original articles · won praise 20 · views 1102

Guess you like

Origin blog.csdn.net/m0_46350041/article/details/105006865