In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "what is the meaning of UML package map". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the meaning of UML package map".
1. What is a bag?
Packages can be directly understood as namespaces and folders, which are used to organize graphics, and package diagrams can be used to express the organizational level of functional group namespaces.
From the perspective of object-oriented software development, classes are obviously the basic building blocks for building the whole system. However, for a huge application system, the classes it contains will be hundreds of thousands, coupled with the correlation and multiplicity of the "buildings", which must be much more complex than people can deal with. This is the introduction of the "package" as a grouped transaction building block.
The purpose of the 2.UML package diagram is:
1) grouping semantically related elements
2) define the "semantic boundary" in the model
3) provide configuration management unit
4) provide units that work in parallel at design time
5) provide encapsulated namespaces in which all names must be unique
Visibility of 3.UML package diagrams:
Use "+" to indicate "public"
Use "#" to represent "protected"
Use "-" to mean "private"
Instructions for using 4.UML package diagrams
Modeling group elements
Each package of ◆ should be composed of elements that are conceptually and semantically close to each other.
◆ finds elements for each package that should be marked as public, but should be as few as possible
◆ generally uses the default "use" stereotype, and the explicit "import" stereotype is considered when mapping to programming
◆ considers generalization to model special packages.
When representing this model, ◆ should be careful to indicate only the elements that play a core role in each package; you can also identify the document tag value of each package to make it clearer
Modeling the architecture
◆ modeling the architecture (program layering) is a more meaningful use of UML package diagrams. Architecture is the core logical structure of a software system.
The common architecture patterns of ◆ include layering, MVC, pipeline, blackboard, microkernel, etc., while in application software, layering and MVC
Thank you for your reading, the above is the content of "what is the meaning of UML package map", after the study of this article, I believe you have a deeper understanding of what the meaning of UML package map is, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.