以美萍服装管理软件为例的UML建模

编号: 19757

软件框架文档

Software Frame Documents

for

[美萍服装销售管理系统]

[mpfz]

 

Version [3.4] approved

Prepared by [让炜]

[上海电力学院]

[CORPORATION NAME]

 

[日期]2005.12.10


 

文档变更信息:

A:增加  M:修改 D:删除

版本号

日期

作者

A/M/D

变更主要原因描述

0.1

2002-00-00

让炜

 

修改

0.2

2002-00-00

让炜

 

修改

0.3

2002-00-00

让炜

 

修改

1.0

2002-00-00

让炜

 

修改

2.0

2002-00-00

让炜

 

修改

3.0

2002-00-00

让炜

 

修改

作者名前建议加上岗位描述

验证签名(Signature)

主要作者:

让炜

主要作者:

让炜

Author

让炜

Author

让炜

日期

2005.12.10

日期

2005.12.10

Date

2005.12.10

Date

2005.12.10


 

1.介绍(Introduction)           ................................................................................................................................................ 3

1.1 目的(Puopose).................................................................................................................................................................... 3

1.2 范围(Scope)........................................................................................................................................................................ 3

1.3 文档约定(Standard of Documents)................................................................................................................................. 3

1.4 预期的读者和阅读建议(Expected Reader & Reading Advice)................................................................................. 3

1.5 参考文档(Reference)......................................................................................................................................................... 3

2.指南(Guideline)                  ................................................................................................................................................ 3

_Toc194892.1框架的表示方式(Denotation Method) ...................................................................................................... 3

2.2框架目标与约束(Objective and Stipulation) ................................................................................................................ 4

2.3用例视图(Usecase View) ................................................................................................................................................. 4

2.4用例实现(Usecase Realization) ...................................................................................................................................... 8

2.5进程视图(Process View).................................................................................................................................................... 8

2.6布署视图(Array View)........................................................................................................................................................ 9

2.7实施视图(Implement View).............................................................................................................................................. 10

2.8性能和质量(Capability&Quality)................................................................................................................................... 15

附录A(AppendixA) 术语表(Terms)                   ........................................................................................................... 15

_Toc23032

1.介绍(Introduction)                                                                                       

1.1 目的(Puopose)

UML Unified Modeling Language )是基于面向对象技术的标准建模语言,它融合了 Booch OMT OOSE 方法中的基本概念,把这些先进的面向对象思想统一起来并对其做了发展,并得到了工业界广泛支持,由 OMG 组织采纳作为业界的标准。

    本项目的目的是为美萍服装管理软件3.3UML语言建模.使Java程序员能够很好的开展编写程序的工作.

1.2 范围(Scope)

逻辑视图( logical view )用来展现系统的静态或结构组件及特征。显示的是系统内部的功能是怎样设计的,利用系统的静态结构和动态行为来刻划系统的功能

用例视图( use case view )用于描述系统应该具有的功能集,强调从用户的角度看到的或需要的系统功能,是对系统的抽象表示。

活动图 (activity diagram) 描述了系统元素的活动,反映一个连续的活动流。

展开视图( deployment view )用来显示系统的物理架构,即系统的物理展开,体现了系统实现环境的结构和行为特征。

1.3 文档约定(Standard of Documents)

采用标准的文档书写约定,章标题使用粗体的小四号宋体,小节标题采用粗体的五号字体,正文采用正常的五号宋体。术语解释时术语部分加以下划线表示。

1.4 预期的读者和阅读建议(Expected Reader & Reading Advice)

描述内容。

1.5 参考文档(Reference)

列举了编写此文档时所参考的资料或其他资源。采用以下格式书写:作者,书名,出版社,时间。其中书名用斜体。

JavaUML交互图

UML描述Java

UML 在商业活动建模中的应用》等

UML项目组织www.uml.org.cn

 

2.指南(Guideline)                                                                                            

 

2.1框架的表示方式(Denotation Method)

2.2框架目标与约束(Objective and Stipulation)

逻辑框架将系统的几大功能部分表示出来,框架有助于更清楚地了解系统的结构.

本软件主要分为4大功能部分:UI界面部分,业务对象部分,数据库部分,功能部分.

2.3用例视图(Usecase View)

进货管理的用例视图

销售管理的用户视图

库存管理的用户视图

统计报表的用户视图

 

2.5进程视图(Process View)

2.6布署视图(Array View)

2.7实施视图(Implement View)

interface Ware {

  // Attributes

 

  // Associations

 

  // Operations

 

  setPrice(in price : void) : void;

  setColor(in color : String) : void;

  getPrice() : double;

  getColor() : String;

  setName(in name : void) : void;

} /* end interface Ware */

 

 

Public class SomeWare {

  // Attributes

 

  price : double;

  color : String;

  newAttr : int;

 

  // Associations

 

  // Operations

 

  setPrice(in price : int) : void {

  }

  setColor(in color : String) : void {

  }

  getPrice() : double {

  }

  getColor() : String {

  }

  setName(in name : void) : void {

  }

 

} /* end class SomeWare */

 

 

Public class Clothes {

 

  // Attributes

 

  // Associations

 

  // Operations

 

} /* end class Clothes */

 

Public class Trousers {

 

  // Attributes

 

  // Associations

 

  // Operations

 

} /* end class Trousers */

 

Public class Chemise {

 

  // Attributes

 

  // Associations

 

  // Operations

 

} /* end class Chemise */

 

 

Public class Jace {

 

  // Attributes

 

  // Associations

 

  // Operations

 

} /* end class Jace */

interface Dialog {

 

  // Attributes

 

  // Associations

 

  // Operations

  ProjectDialog(in owner : void,in title : void,in model : void) : void;

  getFileName() : void;

  getSaveFileName() : void;

 

} /* end interface Dialog */

 

Public class ProjectDialog {

 

  // Attributes

  FileName : String;

  height : int;

  wide : int;

 

  // Associations

 

  // Operations

  ProjectDialog(in owner : void,in title : void,in model : void) : void {

  }

  SetFileName(in FileName : void) : void {

  }

  getFileName() : String {

  }

  getTextFieldValues() : String[] {

  }

} /* end class ProjectDialog */

2.8性能和质量(Capability&Quality)

UML是一种定义良好、功能强大且普遍适用的可视化建模语言.

UML建摸主要是来了解软件开发的每一个具体部分的实现过程.而且可以检视软件的外在实体,是如何与业务逻辑互动的,运用UML建模,可以帮助我们了解软件开发的整个流程,同时了解如何组织完成此目标.

附录A(AppendixA) 术语表(Terms)                                                              

我们软件工程课的作业,我是以美萍服装管理软件标准版3.4为例子的一个UML建模项目.做完了顺便放到网上来了:)

我用的软件:ArgoUML
ArgoUML is the leading open source UML modelling tool.
网址:http://argouml.tigris.org/


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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值