- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * Another example Class diagrams The UML does not include a specific notation for this database modeling as it assumes an object-oriented development process and models data using objects and their relationships. When showing the associations between classes, it is convenient to represent these classes in the simplest possible way. Information about attributes and operations are added to define class in detail. As illustrated in the previous page: The name of the object class is in the top section. The class attributes are in the middle section. The operations (called methods in Java and other OO programming languages) associated with the object class are in the lower section of the rectangle. 5.3.2 Generalization Generalization is an everyday technique that we use to manage complexity. The UML has a specific type of association to denote generalization. The generalization is shown as an arrowhead pointing up to the more general class. In a generalization, the lower-level classes are subclasses inherit the attributes and operations from their superclasses. These lower-level classes then add more specific attributes and operations. A generalization hierarchy example: Generalization A generalization hierarchy with added detail 5.3.2 Aggregation A special type of association between classes called aggregation in UML to describe one object (the whole) is composed of other objects (the parts). To show this, we use a diamond shape next to the class that represents the whole. A aggregation example: 5.4 Behavioral models Behavioral models are models of the dynamic behavior of the system as it is executing. What happens or what is supposed to happen when a system responds to a stimulus from its environment are shown here. These stimuli as being of two types: Data Some data arrives that has to be processed by the system. Events Some event happens that triggers system processing. Events may have associated data but this
文档评论(0)