In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is about what UML class diagram dependencies are about. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
UML class diagram dependencies
Relationships between classes: dependency on Dependency, generalization of Generalization, and structural relationship relationship between objects (Association), representing the implementation relationship between specification and implementation in a class (Realization)
Using dependent Usage
First take a look at the dependency relationships used in the UML class diagram. Using: Use, declaring that using one model element requires the use of another existing model element, so that the consumer's functions (including invocation, instantiation, parameters, and sending) can be properly implemented.
Call call: declare a method by which one class invokes the operations of another class.
Parameter parameter: declares the relationship between an operation and its parameters
Send send: declare the relationship between the sender and the receiver of the signal
Instantiate instantiate: declares that an instance of one class is created with the method of another class
Abstract dependency Abstraction:
Trace trace: declare that there are some connections between elements in different models, but not as accurate as mapping
Refined refine: declares mappings between elements at two different semantic levels
Derived derive: declares that one instance can be exported from another instance. At the end of the introduction to abstract dependencies, let's take a look at authorization dependencies in UML class diagrams.
Authorization depends on Permission:
Access access: allow one package to access the contents of another package
Import import: allow one package to access the contents of another package and add aliases to the components of the accessed package
Friend friend: allows one element to access another element, regardless of whether the accessed element is visible or not
Binding depends on Binding:
Bind bind: specify a value for the template parameter to generate a new model element.
Thank you for reading! This is the end of this article on "what are the dependencies of UML class diagrams?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.