Several relationships and representations in UML

xiaoxiao2021-03-06  42

1. Association Description: It is a structural relationship that indicates the connection between an object of one thing and another thing of another thing. A link to two classes can be given, and can navigate to another class from a class object and vice versa. Graphics: A solid line, you can take an arrow. Properties: Name, Role (Relationship in the class of classes close to its class to the class presentation), multiple sex. 2, aggregation () description: A special association, representing the "overall / part" relationship, one of which describes a larger thing, which consists of smaller things. Graphics: One end of the whole is expressed in a hollow rhombus. 3, combination () description: It is a stronger form of associations, which combines combinations with management components, such as their allocation and release. Graphics: One end of the combination is represented by a solid rhizome. 4, Generalization Description: It is a general matter (super class) and a more special type (subclass) of the matter. Graphics: A directional line with hollow big arrows, pointing to the parent class. 5. Dependency Description: A change in a thing (such as a class Event) specification may affect another thing (such as class window), but it doesn't matter. Graphics: A dashed line that points to the dependence. 6. Implementation () Description: Connect a model element to another model element that provides behavioral description without structural or implementation, such as an interface. Graphics: A dashed line with hollow big arrows, points to implementation classes.

转载请注明原文地址:https://www.9cbs.com/read-71440.html

New Post(0)