- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
UML基本架构建模-关联的术语和概念(二)
Associations
联合
An association is a structural relationship that specifies that objects of one thing are connected to objects of another. Given an association connecting two classes, you can relate objects of one class to objects of the other class. It’s quite legal to have both ends of an association circle back to the same class. This means that, given an object of the class, you can link to link to other objects of the same class. An association that connects exactly two classes is called a binary association. Although it’s not as common, you can have associations that connect more than two classes; these are called n-ary associations. Graphically, an association is rendered as a solid line connecting the same or different classes. Use associations when you want to show structural relationships. Beyond this basic form, there are four adornments that apply to associations.
联合是一个结构关系,它描述一个事物的对象连接另一个事物的对象.给定一个关联连接两个类,你能建立一个类的对象和另一个类的对象之间的联系.一个联合的一端从一个类出发而另一端又回到这个类的关联是符合规则的.连接两个类的联合被称为二元联合.尽管不是很常见,但是可以有连接超过两个类的联合;这被称为n级联合.图形显示上,联合表现为一条连接相同或不同的类的实线.在你想显示结构关系时使用联合.除了基本形式,还有四个修饰适用于联合.
Name An association can have a name, and you use that name to describe the nature of the relationship. So that there is no ambiguity about its meaning, you can give a direction to the name by providing a direction triangle that points in the direction you intend to read the name, as shown in Figure 5-4.
名称:一个联合可以有名称.使用这个名称以描述关系的特征,以便对它的含义没有歧义.你能通过带有方向的三角形给名称提供方向,以指出从哪边开始读名称,如图5-4显示的.
Note: Although an association may have a name, you typically don’t need to include one if you explicitly provide end names for the association. If you have more than one association connecting the same classes, it is necessary to use either association names or association end names to distinguish them. If an association has more than one end on the same class, it is necessary to use association end names to distinguish the ends. If there is only one association between a pair of classes, some modelers omit th
您可能关注的文档
- REUSE_ALVGRID_DISPLAY超详细讲解.doc
- RFC1055_在行线路上传输IP数据报的非标准协议.doc
- Renesas R78L1C 16位MCU开发方案.docx
- RF+jenkin+svn自动化持续集成环境搭建.doc
- RFID技术在广东网固定资产管理中的应用.doc
- RJ必修2化学第四~学业测评(孔诗韵)知识点.docx
- ROUTE Chater 1 6.0 .doc
- RL-QP-01 件控制程序 -6修改.doc
- ROS ADSL双负载均衡+PPPOE服务器教程图文详解.doc
- RouterOS 3.24版本PCC多线负载均衡设置例程.doc
- UML面向对象分析设计教程课后习题答案(胡荷芬 高斐)选择题部分.doc
- UG10.0草绘新能-拟合样条使用教程.doc
- Unit 1 Hw can we become good learners重点短语句型解析.doc
- unit 1 I aughed till I cried!第一课时教案.doc
- Unit 21 Lesson 1,2 Power学案.doc
- Unit 3 Cold you please tell me where the restrooms are教案.doc
- Unit 7 Smking and health.doc
- Unit 9 I ike music that I can dance to(第5课时).doc
- Unit11 A卷人教新目标)(附答案).doc
- Unit13 A卷人教新目标)(附答案).doc
文档评论(0)