- 6
- 0
- 约2.47万字
- 约 17页
- 2017-06-07 发布于重庆
- 举报
使用UML进行面向对象分析和设计
使用UML进行面向对象分析和设计 :一个Banking System的示例
作者:unknown 更新时间: 2005-03-13
Introduction
Youre proficient in C++, Java or another OO language, youre designing class hierarchies, using inheritance, and manipulating complex pointer relationships to store the necessary links between your classes. Youve probably drawn blobs (representing classes in some way) on whiteboards, with connecting lines to indicate the relationships between classes (inheritance or other). Perhaps youre feeling the need for a more formal notation to express your designs - using something that is language independent, and that enables you to consider the important aspects of design leaving the detail for later.
Alternatively, perhaps youre a Project Manager, looking to formalise the OO design process a little to make sure youre getting the most from your move to C++/Java or a similar language.
In this paper, I take a look at the UML (Unified Modelling Language) notation for Object Oriented Analysis and Design - the emerging standard designed by Booch, Rumbaugh and Jacobson, each of whom previously had their own notations published independently.
The starting point is Object Modelling, a technique that enables you to focus on class structure, inheritance, etc., whilst avoiding language specifics such as pointer dereferencing.
Object Modelling In UML
Figure 1 - Subset of UML Object Modelling Notation - A Summary
Object Modelling is the central technique in UML. It is a language independent notation allowing the specification of classes, their data or attributes(private) and methods (public), inheritance, and other more general relationships between classes. The notation itself is fairly simple to grasp (see figure 1), however this hides the somewhat more subtle thought processes underlying a good model.
The best way to understand the notation is to look at an example. The following Object Model shows a simple Banking System, containing classes for Head-Office, Branch, Accounts held at that B
您可能关注的文档
最近下载
- CECS304-2011 建筑用金属面绝热夹芯板安装及验收规程.docx VIP
- 基于大数据的电池新材料设计.docx VIP
- XF_T 87-2023 防火刨花板XF_T 87-2023 防火刨花板.docx VIP
- 2026年新能源大数据行业数据安全报告.docx VIP
- 春节加班奖励报告通知模板.docx VIP
- T_SXCAS 043-2025 公路路面基层煤矸石细集料应用技术标准.docx VIP
- DB61_T 2005-2025 道路多孔水泥混凝土路面施工技术规范.docx VIP
- DB11_T 1322.81-2025 安全生产等级评定技术规范 第81部分:歌舞娱乐场所.pdf VIP
- DB51_T 3317-2025 高寒草地生态修复碳汇核算技术规范.pdf VIP
- DB51_T 3312-2025 四川省斜坡地质灾害隐患风险详查技术指南.pdf VIP
原创力文档

文档评论(0)