`
baiguomeng
  • 浏览: 954978 次
文章分类
社区版块
存档分类
最新评论

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

 
阅读更多

<wrap anchorx="page" anchory="page"></wrap><shapetype coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe" id="_x0000_t202"><stroke joinstyle="miter"></stroke><path gradientshapeok="t" o:connecttype="rect"></path></shapetype><shape filled="f" strokecolor="#8080ff" strokeweight=".2mm" type="#_x0000_t202" style="margin-top: 357.4pt; z-index: 2; left: 0px; margin-left: 71.7pt; width: 226.2pt; position: absolute; height: 119.65pt; text-align: left;" id="_x0000_s1027"><stroke dashstyle="3 1 1 1"></stroke><textbox inset="3mm,3mm,3mm,3mm"></textbox></shape>

编号: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)
<shapetype o:preferrelative="t" stroked="f" filled="f" coordsize="21600,21600" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" id="_x0000_t75"><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></path><lock v:ext="edit" aspectratio="t"></lock></shapetype><shape type="#_x0000_t75" style="width: 293.25pt; height: 111pt;" id="_x0000_i1025"><imagedata src="file:///C:/DOCUME~1/Rey/LOCALS~1/Temp/msohtml1/01/clip_image003.jpg" o:title="name"></imagedata></shape>

主要作者:

让炜

主要作者:

让炜

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)

<shape type="#_x0000_t75" style="width: 433.5pt; height: 399.75pt;" id="_x0000_i1026"><imagedata src="file:///C:/DOCUME~1/Rey/LOCALS~1/Temp/msohtml1/01/clip_image004.jpg" o:title="软件逻辑架构"><font face="Times New Roman"></font></imagedata></shape>

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

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

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

2.3用例视图(Usecase View)

进货管理的用例视图

<shape type="#_x0000_t75" style="width: 686.25pt; height: 366pt;" id="_x0000_i1027"><imagedata src="file:///C:/DOCUME~1/Rey/LOCALS~1/Temp/msohtml1/01/clip_image005.jpg" o:title="进货管理"></imagedata></shape>

销售管理的用户视图

<shape type="#_x0000_t75" style="width: 668.25pt; height: 371.25pt;" id="_x0000_i1028"><imagedata src="file:///C:/DOCUME~1/Rey/LOCALS~1/Temp/msohtml1/01/clip_image006.jpg" o:title="销售管理"></imagedata></shape>

库存管理的用户视图

<shape type="#_x0000_t75" style="width: 668.25pt; height: 344.25pt;" id="_x0000_i1029"><imagedata src="file:///C:/DOCUME~1/Rey/LOCALS~1/Temp/msohtml1/01/clip_image007.jpg" o:title="库存管理"></imagedata></shape>

统计报表的用户视图

<shape type="#_x0000_t75" style="width: 695.25pt; height: 396pt;" id="_x0000_i1030"><imagedata src="file:///C:/DOCUME~1/Rey/LOCALS~1/Temp/msohtml1/01/clip_image008.jpg" o:title="统计报表"></imagedata></shape>

2.5进程视图(Process View)

<shape type="#_x0000_t75" style="width: 650.25pt; height: 400.5pt;" id="_x0000_i1031"><imagedata src="file:///C:/DOCUME~1/Rey/LOCALS~1/Temp/msohtml1/01/clip_image009.jpg" o:title="活动图"></imagedata></shape>

2.6布署视图(Array View)

<shape type="#_x0000_t75" style="width: 654pt; height: 302.25pt;" id="_x0000_i1032"><imagedata src="file:///C:/DOCUME~1/Rey/LOCALS~1/Temp/msohtml1/01/clip_image010.jpg" o:title="组件"></imagedata></shape>

2.7实施视图(Implement View)

<shape type="#_x0000_t75" style="width: 448.5pt; height: 485.25pt;" id="_x0000_i1033"><imagedata src="file:///C:/DOCUME~1/Rey/LOCALS~1/Temp/msohtml1/01/clip_image011.jpg" o:title="ware"></imagedata></shape>

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 */

<shape type="#_x0000_t75" style="width: 571.5pt; height: 568.5pt;" id="_x0000_i1034"><imagedata src="file:///C:/DOCUME~1/Rey/LOCALS~1/Temp/msohtml1/01/clip_image012.jpg" o:title="ui"></imagedata></shape>

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/


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics