UML Basic Architecture Modeling--Correlation overview

Source: Internet
Author: User

Relationships

Association

When you  build abstractions, you ll discover that very few of your classes  stand alone. Instead, most of them collaborate with others  In a number of ways. therefore, when you model a system,  not only must you identify the things that form the  vocabulary of your system, you must also model how these  Things stand in relation to one another.

As you build abstractions, you will find that your classes rarely exist independently. Instead, most of them have many ways of interacting with other classes. So when you model a system, not only do you recognize things from your system vocabulary, but you also model the associations between those things.

in object-oriented modeling, there is three kinds of relationships that is especially important:dependencies, which represent using relationships among classes (including refinement, trace, and bind relationships); Generalizations, which link generalized classes to their specializations;Associations, which represent structural relationships among objects. Each of these relationships provides a different is the combining your abstractions.

in object-oriented modeling, there are three types of associations that are particularly important: Dependent , it represents the use of relationships between classes ( including refinement, tracking, and binding relationships ); General , the generalized class is specialized, and the aggregation represents the structure relationship between the objects. These associations provide different ways of connecting to abstract things.

Building webs of relationships is not unlike creating a balanced distribution of responsibilities among your classes. Over-engineer, and you'll end up withA tangled mess of relationships the Make your model Incomprehens Ible, Under-engineer, andyou'll have missed a lot of therichness of your system embodied in the T Hings collaborate.

Modeling off networking is different from creating a balanced assignment of responsibilities between classes. Redundant designs make relationships like mess, making your models difficult to understand, and you're missing out on a lot of ways to show system interaction.

UML Basic Architecture Modeling-Association Overview

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.