- 5
- 0
- 约1.4万字
- 约 44页
- 2016-11-24 发布于浙江
- 举报
* UML Lecture, Author: NK Jiang */46 导航性 Navigability Navigability is shown by an arrowhead on the end of the relationship. If a relationship has no arrowhead, then it is bidirectional. Navigability indicates that you can traverse the relationship in the direction of the arrow; May also be able to traverse back the other way, but it will be computationally expensive to do so. Order Product navigable Not navigable navigability * UML Lecture, Author: NK Jiang */46 关联类 Association Class Problem: some attributes are not easily be accommodated in either of the classes with many-to-many relationship. Example: Each Person has a salary with each Company Each Company employs many persons with different salary Can not make the Person salary an attribute of the Person class. Because each Person instance may work for many companies and may have a different salary with each Company. Can not make the Person salary an attribute of Company, because each Company instance employs many Persons all with potentially different salaries. Company Person * * Solution: use “Association Class” * UML Lecture, Author: NK Jiang */46 Association class is an association that is also a class, and consists of the class, association and the dashed line. It may have attributes, operations and relationships You can use an association class when there is exactly one unique link between any pair of objects at any point in time If a pair of objects may have many links to each other at a given point in time, then you reify the relationship by replacing it with a normal class. Company Person Job salary: Double 关联类 Association Class * UML Lecture, Author: NK Jiang */46 关系建模 为简单依赖建模 两个类之间的连接,其中的一个类使用另一个类作为它的操作参数 other dependency: this one not involving classes in operations but rather modeling a common C++ idiom. The dependency from Iterator shows that the Iterator uses the CourseSchedule; the CourseSchedule knows nothing about the Iterator. The dependency is marked with the stereotype ?permit?, which i
您可能关注的文档
- UML_Lec01_a3_UML工具.ppt
- UML_Lec02_b1_UML引言.ppt
- UML_Lec02_b2_面向对象基础.ppt
- UML_Lec04_公共机制_图.ppt
- UML_Lec05_用例_用例图.ppt
- 2026及未来5年中国汽车机油行业发展前景预测及投资战略研究报告.docx
- 2026及未来5年中国电磁铁行业市场发展监测及投资战略咨询报告.docx
- 2026及未来5年中国建筑工程机械行业市场发展监测及投资战略规划报告.docx
- 2026及未来5年中国硫化镍行业市场调研分析及投资战略规划报告.docx
- 2026及未来5年中国烷化剂市场运营态势及发展前景预测报告.docx
- 2026年及未来5年内中国液体氩气行业投资前景及策略咨询研究报告.docx
- 2026年及未来5年内中国黄铜合页行业投资前景及策略咨询研究报告.docx
- 2026年及未来5年内中国竹工艺家具行业投资前景及策略咨询研究报告.docx
- 2025年中国微机数显自动分析仪市场调查研究报告.docx
- 2026年及未来5年内中国微尘白色粉笔行业投资前景及策略咨询研究报告.docx
- 2025年中国微电脑型压胶机市场调查研究报告.docx
- 2026年及未来5年内中国数字化等功游泳训练测试系统行业投资前景及策略咨询研究报告.docx
- 2025年中国圆形花瓶市场调查研究报告.docx
- 2026年及未来5年内中国植物纤维静淀过滤器行业投资前景及策略咨询研究报告.docx
- 2025年中国超音波手套机市场调查研究报告.docx
最近下载
- 四川省2025年中考数学真题试卷十五套附答案.pdf VIP
- 《数据库原理与应用》课程标准.pdf VIP
- 本科论文毕设-基于JAVA酒店管理系统毕业设计论文.doc VIP
- 2025年德州职业技术学院单招笔试数学试题库含答案解析.docx VIP
- 氟化物微纳复合玻璃与透明陶瓷:设计原理、制备工艺与性能研究.docx VIP
- 2025海上风电系统智能运维的数字孪生技术(英文).pdf VIP
- 2025年德州职业技术学院单招《数学》真题(重点)附答案详解.docx VIP
- 牵引供电变电所-分区所-AT所.pdf VIP
- 投标产品质量、供货、售后服务、残次品退换承诺方案.docx VIP
- 子宫肌瘤的诊治中国专家共识解读.docx VIP
原创力文档

文档评论(0)