association | | sufficient names to make the association clear and unambiguous | legitimate only if its links will survive beyond the execution of any particular operation | a model unless it is relevant to the application - it will be needed to implement some requirement | data abstraction | 5.3 - Associations and Multiplicity | class Person in a business application might have the following relationships supervisor (association to class Manager) and tasksToDo (association to class Task) | a relationship that will exist between instances at run time | | "has" if it has neither an association name nor a role name | a class possesses, controls, is connected to, is related to, is a part of, has as parts, is a member of, or has as members, some class in your model | instance variables in Java: you divide each two-way association into two one-way associations - so each associated class has an instance variable | role name | several ways in Java | A relationship between two classes that represents the existence of a set of links between objects of the two classes | all the links between two classes that may ever exist | a line, or set of connected lines, between two classes in a UML class diagram | how two classes are related to each other |
link | two objects - an instance of each of the two classes involved in the association | multiplicity symbols | legitimate only if its links will survive beyond the execution of any particular operation | a model unless it is relevant to the application - it will be needed to implement some requirement | data abstraction | 5.3 - Associations and Multiplicity | class Person in a business application might have the following relationships supervisor (association to class Manager) and tasksToDo (association to class Task) | a relationship that will exist between instances at run time | association | "has" if it has neither an association name nor a role name | a class possesses, controls, is connected to, is related to, is a part of, has as parts, is a member of, or has as members, some class in your model | instance variables in Java: you divide each two-way association into two one-way associations - so each associated class has an instance variable | role name | several ways in Java | A reference from one object to another | all the links between two classes that may ever exist | a line connecting two objects in a UML instance diagram | how two classes are related to each other |