详细的图书馆管理系统UML图终极版

上传人:re****.1 文档编号:469762727 上传时间:2023-07-06 格式:DOC 页数:15 大小:262KB
返回 下载 相关 举报
详细的图书馆管理系统UML图终极版_第1页
第1页 / 共15页
详细的图书馆管理系统UML图终极版_第2页
第2页 / 共15页
详细的图书馆管理系统UML图终极版_第3页
第3页 / 共15页
详细的图书馆管理系统UML图终极版_第4页
第4页 / 共15页
详细的图书馆管理系统UML图终极版_第5页
第5页 / 共15页
点击查看更多>>
资源描述

《详细的图书馆管理系统UML图终极版》由会员分享,可在线阅读,更多相关《详细的图书馆管理系统UML图终极版(15页珍藏版)》请在金锄头文库上搜索。

1、The library management system UML diagrams1需求(Requirements)典型地,由系统最终用户的代表写出文本形式的需求规范文档。对于该图书馆应用程序来说,需求规范文档应该类似于这样:1.这是一个图书馆支持系统;2.图书馆将图书和杂志借给借书者。借书者已经预先注册,图书和杂志也预先注册;3.图书馆负责新书的购买。每一本图书都购进多本书。当旧书超期或破旧不堪时,从图书馆中去掉。4.图书管理员是图书馆的员工。他们的工作就是和读者打交道并在软件系统的支持下工作。5.借阅人可以预定当前没有的图书和杂志。这样,当他所预定的图书和杂志归还回来或购进时,就通知预定

2、人。当预定了某书的借书者借阅了该书后,预定就取消。或者通过显式的取消过程强行取消预定。6.图书馆能够容易地建立、修改和删除标题、借书者、借阅信息和预定信息。7.系统能够运行在所有流行的技术环境中,包括Unix, Windows和OS/2,并应有一个现代的图形用户界面 (GUI)。8.系统容易扩展新功能。系统的第一版不必考虑预定的图书到达后通知预定人的功能,也不必检查借书过期的情况。Typically, the end users representative by system of regulating write text document demand. For the library

3、application, it should be similar to the standard document demand so:1. This is a library support system;2. The library will lend books and magazines JieShuZhe. JieShuZhe has register in advance, books and magazines will register in advance;3. New book purchase for library. The book is more than buy

4、ing every book. When old books extended or worn out, removing from the library.4. The librarian is the library staff. Their job is to deal with the reader in software support system work.5. Borrowing people can be scheduled have no current of books and magazines. So, when his book of books and magaz

5、ines returned back or purchase, confirmation. When booked MouShu JieShuZhe borrowing of the reservation is cancelled after. Or by explicit cancel process forcibly cancellation of reservation.6. The library can easily establish, modify and delete title, JieShuZhe, borrowing information and booking in

6、formation.7. System can run on all popular technology environment, including Unix, Windows and OS / 2, and should have a modern graphical user interface (GUI).8. The system is easy to expand new functions.The first edition of need not consider booking system of books after confirmation of arrive, do

7、nt check function of books expired.2分析(Analysis)系统分析的目的是捕获和描述所有的系统需求,并且建立一个模型来定义系统中主要的域类。通过系统分析达到开发者和需求者的理解和沟通。因此,分析一般都是分析员和用户协作的产物。在这个阶段,程序开发者不应该考虑代码或程序的问题;它只是理解需求和实现系统的第一步。21需求分析(Requirements Analysis)分析的第一步是确定系统能够做什么?谁来使用这个系统?这些分别叫角色(actors)和用例(use cases)。用例描述了系统提供什么样的功能。通过阅读和分析文档,以及和潜在的用户讨论系统来分析

8、用例。图书馆的角色定为图书管理员和借书人。图书管理员是软件系统的用户;而借书者则是来借阅或预定图书杂志的客户。偶尔,图书管理员或图书馆的其他工作人员也可能是一个借书者。借书者不直接和系统交互,借书人的功能由图书管理员代为执行。System analysis purpose is to capture and describe all of the system requirements, and to establish a model to define the domain in the system of. Through systematic analysis to developer

9、s and demanders understanding and communication. Thus, the analysis are generally analyst and user collaborative product.At this stage, the programs developers should not consider code or program problem; It just understand demand and realize system that first step.图书馆系统中的用例有:1. 借书2. 还书3. 预定4. 取消预定5

10、. 增加标题6. 修改或删除标题7. 增加书目8. 删除书目9. 增加借书者10. 修改或删除借书者由于一本书通常有多个备份,因此系统必须将书的标题和书目的概念区分开。图书馆系统分析的结果写在UML 用例图中,如图1所示。每一个用例都附带有文本文档,描述用例和客户交互的细节。文本是通过与客户讨论得到的。用例“借书”描述如下:1如果借阅者没有预定:h 确定标题h 确定该标题下有效的书目h 确定借书者h 图书馆将书借出h 登记一个新的借阅2如果借阅者有预定:h 确定借书人h 确定标题h 确定该标题下有效的书目h 图书馆将相应的书目借出h 登记一个新的借阅h 取消预定除了定义系统的功能需求之外,在分

11、析过程中用例用于检查是否有相应的域类已经被定义,然后他们可以被用在设计阶段,确保解决方案可以有效地处理系统功能。可以在顺序图中可视化实现细节。The library system of cases are:1. Borrow books2. Also books3. Reservation4. Cancellations5. Add title6. Revise or delete title7. Increase bibliography8. Delete bibliography9. Increase JieShuZhe10. JieShuZhe modified or deletedDu

12、e to a book often have multiple backup, therefore system must will book title and bibliography concept separate.The library system analysis results written in UML use case diagram, as shown in figure 1 below. Every cases are cluttered with text documents, describe cases and customer interaction deta

13、ils. Text is discussed with customers get. Cases borrow description as follows:1. If borrowed no reservation: sure titleh sure this title valid under the bibliographyh sure JieShuZheh library will book outh register a new lendingh2. If borrowed a book: determinehBooks sure titleh sure this title val

14、id under the bibliographyh library will corresponding bibliography outh register a new lendingh cancellation of reservationhIn addition to defining of the functional requirements of the system used in analyzing process outside, used to check whether corresponding example of domain classes have been

15、defined, then they can be used in the design phase, ensure solution can effectively processing system function. Can in sequence diagram visualization implementation details. 图1:角色和用例。分析中的第一步就是指出系统能被用来做什么,谁将去使用它。它们分别就是用例和角色。所有的用例必须始于角色,而且有些用例也结束于角色。角色是位于你所工作的系统外部的人或其他系统。一台打印机或一个数据库都可能是一个角色。本系统有两个角色:借阅者和图书管理员。通过与用户或客户的讨论,可以将每一个用例用文字进行说明。 22域分析(Domain Analysis)系统分析也详细地列出了域(系统中的关键类)。为了导出一个域分析,可以阅读规范文档(specifications)和用例,查找哪一些概念应该被系统处理。或者组织一个集体讨论,在用户及领域专家共同的参与下指出系统中必须处理的关键概念,以及它们之间的关系。图书馆系统中的域类如下:borrowerinformation(如此命名是为了

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > PPT模板库 > 总结/计划/报告

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号