zoukankan      html  css  js  c++  java
  • UML summarize

    一. Three main elements in UML

    1. basic build block: thing, relationship, diagram

    2. rule: name, scope, visibility, integrity, execution

    3. common mechanism: specification, adornment, common division, extensiblity mechanism(stereotype, tag value, constraint)

    二. Relationship: dependency, association, generalization, realization

    三. 9 diagrams: use case, sequence, collaboration, class, object, statechart, activity, component, deployment.

    四. Relationship between actor and use case :

    1.assocation, demonstration sign: line, actor and use case

    2.generalization, demonstration sign: line and clockwise triangle, actor and actor, use case and use case

    3.include, demonstration sign: << include>> and broken line, use case and use case

    4.extend, demonstration sign: <<extend>> and broken line, use case and use case

    五. Relationship between class

    1.association,uni-directional association 、bi-directional association、qualified association、reflexive、binary、N-ary, association class, constraint can be on association.

    2.aggregation(聚集),demonstration sign: diamond and line, Circle and Style, circle disappears, but style still exists. Has-A

    composition(组合), demonstraion sign: solid diamond and line, Circle and Point, circle disappears, then Point(圆心)也就不存在了。Contains-A

    3. generalization,

    4. Dependency,

    六. StateChart vs. Activity vs. Sequence

    StateChart diagram describes the behavior about one object in its life cycle, that is, Object state's Transfer.

    Activity diagram describes the control flow from activity to activity, application scenario - multi-thread, analysis of work flow, and concrete algorithm of one operation.

    Sequence diagram describes the communication among multi-objects.

    七. Component vs. Deployment

    They are both diagrams about physical modeling for OO system.

    Component diagram can be used for the relationship between original code, execute files.

    Deployment diagram is used for understanding distributed system. It's described by Architecuture、Network Engineer, System engineer. Node and Connection are basic concept for deployment diagram. Node comprises processor and device:no computing ability.

    Process schedule, preemptive(抢占式), non-preemptive(非抢占式),cyclic(循环式),executive(算法控制方式)and manual(外部用户控制方式)。

  • 相关阅读:
    mdx中nonempty 和 non empty的区别
    shrink log和查询数据库 backup,restore,shrink 进度 和 还原历史 的sql (for sqlserver)re
    方差分析 概述
    从 高斯 到 正态分布 到 Z分布 到 t分布
    数据集市 数据仓库 Immon Kimball模型的概念说明
    【React Native 实战】微信登录
    【React Native 实战】商品分类
    一步步学习PHP笔记(李炎恢瓢城web俱乐部-多用户留言系统)01
    wampserver下打开phpMyAdmin出现403错误的问题解决方法
    windows 支持curl命令
  • 原文地址:https://www.cnblogs.com/qingxia/p/1979564.html
Copyright © 2011-2022 走看看