UML学习笔记(一)

  2005年7月27日,周三。今天有兴趣拜读了一下《OMG Unified Modeling Language Specification》。在看的过程中,感觉有些东西需要做一下笔记,以便以后学习、研究。

   1、UML的定义

       The Unified Modeling Language (UML) is a language for specifying, visualizing, constructing,
and documenting
the artifacts of software systems, as well as for business modeling and other
non-software systems.

 2、UML所包括的graphcial digrams

       In terms of the views of a model, the UML defines the following graphical diagrams:
      • use case diagram
      • class diagram
      • behavior diagrams:
              • statechart diagram
              • activity diagram
               • interaction diagrams:
                      • sequence diagram
                      • collaboration diagram
     • implementation diagrams:
     • component diagram
     • deployment diagram

     以上的8个模型图,是OMG的标准名称。这些 图提供了系统的多个视角。 (These diagrams provide multiple perspectives of the system under analysis or development.)

     这些模型图是建模者能看见的主要产物,虽然UML以及UML的支持工具还提供了很多其他的不同视图。(These diagrams, along with supporting documentation, are the primary artifacts that a modeler sees, although the UML and supporting tools will provide for a number
of derivative views.)

      很多人会问,我们以前经常用的数据流图(DFD),为什么没有在UML包括进去? 这主要是因为,DFD以及其他没有被包括进UML的图表,不满足纯OO的模型图的要求。其实UML中的活动图和协作图完成了大部分DFD的功能。活动图对于工作流的建模也是很有用处的。(A frequently asked question has been: Why doesn’t UML support data-flow diagrams? Simply put, data-flow and other diagram types that were not included in the UML do not fit as cleanly into a consistent object-oriented paradigm. Activity diagrams and collaboration iagrams
accomplish much of what people want from DFDs, and then some. Activity diagrams are alsouseful for modeling workflow.)

    

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值