RSS

Chapter I – UML & Rational Rose概述

01 Jun

(一)UML包括:事物、关系、图、扩展机制。

1)事物:

l结构 (Structural Thing):类(Class)、接口(Interface)、协作(Collaboration)、用例(Use Case)、主动类(Active Class)、构件(Component)、节点(Node)

l行为 (Behavioral Thing):交互(消息)、状态等

l分组 (Grouping Thing):包(Package)、子系统(Sub-System)

l注释 (Anotaional Thing):注释(Anotation)

2)关系 (Relationship)

l依赖(Dependency)

l关联(Associate)(聚合(Aggregation)、组合(Compose)

l泛化(Generalization)

l实现(Realization)

3) (Diagram)

l类图(Class Diagram)

l用例图(Use Case Diagram)

l交互图(顺序图(Sequence Diagram)

l协作图(Collaboration Diagram)

l类图(Class Diagram)

l活动图(Activity Diagram)

l状态图(Statechart Diagram)

4)扩展机制:

l构造性(Stereotype)

l标记值(Tagged Value)

l约束(Constraint)

 

(二)图的分类:

1)静态建模:

lClass Diagram

2)动态建模:

lSequence Diagram, Collaboration Diagram

lUse Case Diagram

lActivity Diagram

lStatechart Diagram

(三)Rational Rose4中视图模型

1)用例视图(Use Case View) – 需求阶段

l(Package)

l用例(Use Case)

l参与者(Actor)

l(Class)

l用例图(Use Case Diagram)

l类图(Class Diagram)

l协作图(Collaboration Diagram)

l序列图(Sequence Diagram)

l状态图(Statechart Diagram)

l活动图(Activity Diagram)

l文件(File)

lURL地址(URL)

2)逻辑视图(Logical View) – 设计阶段,用例的实现

l(Class)

l工具类(Class Utility)

l用例(Use Case)

l接口(Interface)

l(Package)

l类图(Class Diagram)

l用例图(Use Case Diagram)

l协作图(Collaboration Diagram)

l序列图(Sequence Diagram)

l状态图(Statechart Diagram)

l活动图(Activity Diagram)

l文件(File)

lURL地址(URL)

3)组件(构件视图)(Component View) – 构件表示封装了其内容的系统模块;构建是相对独立的模块

l(Package)

l构件(Component)

l构件图(Component Diagram)

l文件(File)URL地址(URL)

4)部署视图(Deployment View) – 表示软件元素在物理架构上的部署,以及物理元素之间的通信

l处理器(Processor)

l设备(Device)

l文件(File)

lURL地址(URL)

Advertisements
 
Leave a comment

Posted by on 06/01/2010 in UML

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: