In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what is the concept of UML object graph". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "what is the concept of UML object graph"?
Brief introduction of UML object Graph
An object graph (ObjectDiagram) shows a set of objects and their relationships. Use object diagrams to illustrate data structures, static snapshots of instances of classes or components in class diagrams, and so on. The object diagram reflects the static process of the system like the class diagram, but it is expressed in terms of actual or prototyped scenarios.
The object graph shows the relationship between objects and objects at a certain time. An object diagram can be seen as a special use case of a class diagram in which instances and classes can be displayed. The object is also associated with the cooperation graph, which shows the object prototype (meta-role) in the context.
The UML object diagram is an instance of the class diagram, using almost the same identity as the class diagram. The difference between them is that the UML object graph shows multiple object instances of the class, not the actual class. An object diagram is an instance of a class diagram. Because the object has a life cycle, the object graph can only exist for a certain period of time in the system.
Representation method
There is no need to provide a separate form for UML object graphs. The class diagram contains objects, so a class diagram with only objects but no classes is an "object diagram". However, the phrase "object graph" is very useful in depicting specific uses in all aspects.
Discuss
The object graph shows the set of objects and their relationships, representing the state of the system at a certain time. It contains objects with values, not descriptors, and, of course, in many cases, objects can be prototypes. A cooperation diagram can be used to show an overall model of an object and its relationships that can be instantiated many times. The cooperation diagram contains descriptors of objects and chains (class meta-roles and contact roles). If the collaboration graph is instantiated, an object graph is generated.
The UML object graph does not show the evolution of the system. For this purpose, a collaboration diagram with a message or a sequence diagram can be used to represent an interaction.
Graphical description of object graph
The purpose of UML object Graph
Capture instances and connections
Created during the analysis and design phase
Capture the static part of the interaction
Give examples to illustrate the data / object structure
Describe the transient diagram in detail
Developed by analysts, designers, and code implementers
At this point, I believe you have a deeper understanding of "what is the concept of UML object graph". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.