UML has four relationships: dependency, association, generalization, and implementation.
(1) dependency is the semantic relationship between two things. Changes in one thing (independent thing) will affect the semantics of the other thing (dependent thing. On the graph, draw a dependency into a dotted line that may have a direction.
(2) Association is a structural relationship that describes a group of links that are links between objects. Aggregation is a special type of association that describes the structural relationship between the whole and the part. Graphical representation of association and aggregation 1 O 1 3 and 1 O 1 4. In Association, you can mark the repeatability and role ).
(3) Generalization is a special/general relationship. Objects of special elements (child elements) can replace objects of general elements (parent elements). In this way, the child element shares the structure and behavior of the parent element. On the graph, draw a generalized relationship into a solid line with a hollow arrow, which points to the parent element, 1 O 1 5.
(4) realization is the semantic relationship between class elements. One Class element specifies the contract that is executed by another class element. There must be an implementation relationship between interfaces and the classes or components that implement them, and between use cases and collaboration that implement them. On the graph, draw an implementation relationship into a dotted line with a hollow arrow.
These four relationships are the basic relational things that can be included in the u ml Model. They also have variants. For example, dependency Variants include refinement, tracing, inclusion, and extension.