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