Finally began to refactor, the machine room reconstruction can be said to be a very important at this stage of our small project, because it relates to our time to learn all kinds of knowledge; First we use the knowledge of the soft workers, to do the work of writing documents before development, followed by the UML diagram, and then the main development environment of our refactoring is VS, It involves the
The interaction diagram is used to describe how objects interact in the system, that is, how a group of objects transmit messages.
An interaction diagram consists of a group of objects and their relationships, including: What objects are required, what messages are sent between objects, what roles start a message, and how messages are sent in what order.
Interaction graph classification:
Interaction graphs
own starting and terminating states. Third, the icon of the state diagram(1) Status: Rounded Rectangle(2) Convert: Implement arrows(3) Event: Conversion Description text(4) Starting state: Ball(5) Termination status: Arrow with a circle pointing to the arrow IV, State diagram descriptionState diagrams describe the various states of model elements in the system life cycle, where the model elements contain o
Author: zyl910I. background
Currently, many commonly used UML tools do not support objective-C, which is inconvenient to draw UML. You must manually convert the objective-C syntax parameter list to the UML or C ++ syntax. It is laborious and error-prone.So I want to write a tool that automatically converts the parameter list of objective-C syntax to
understanding of collaboration diagrams, figuring out what the collaboration diagram is capable of, and being able to be an invincible position in the great family of UML, let's take a look at the components of the collaboration diagram and the steps to create a collaboration diagram:
Through the previous study we
operations, no operation implementation. In UML, the interface is represented in a way similar to the class notation, as shown in 3:
Figure 3 UML diagram of the interface
Interfaces can also have inheritance and dependency relationships similar to the relationships between classes, but there is also a realization relationship between interfaces and classes. In
In object-oriented processing. The core of the class diagram, which provides the primary rules for defining and using objects.It is the descriptive description of the class, the interface and the relationship between them, which shows each class in the static structure of the system, the model. First, class diagram1. ClassA class is the basis for a class diagram that defines a set of objects with state and
Use case diagram (Use Case daigrams)
The Use Case view of UML is the view of the external feature description of software products. It describes the demand for software products from the user's perspective rather than the developer's width, and analyzes the functions and dynamic behavior required by the product.
The use case diagram in
After a bit of searching, Android Studio can automatically help us to generate UML class diagram, simply fantastic Http://www.gcssloop.com/course/UsePlantUMLInAS (Win), the specific approach to the blog address. The test is not based on the Java file automatically generated, but need to write their own dot syntax related code, such as, then give up1.UML Plotting
there is no loop in the instance diagram. In other words, it can only be a one-way relationship.
Figure F
Synthesis (composition)
Synthesis ( fig. G) is a special form of aggregation, implying "local" within the "whole" life-cycle responsibility. Synthesis is also not shared. Therefore, while the part does not necessarily have to be destroyed with the destruction of the whole, the whole is either responsible for maintaining a partial survival state o
2016-06-07 22:46:16The following is a brief introduction to UML Class Diagram: (figure is intercepted, you can use the UML tools to draw)1. Class diagram describing classClass: PersonProperty: Name Age SexAccess rights:-Private +: Indicates public protected: representsMethod: GetName (): String SetName (name:string) ge
1. IntroductionIt has been two years since I began to learn programming from a freshman year. From the initial study of the Html,js,javese, to Javaee,android, I can also write some toys. The learning process also unconsciously understood some of the so-called design Patterns , and now intends to learn the system. Learn to book the art of Design mode----------------------the software developer. The so-called design patterns, that is, the predecessors of a similar problem of the abstract solution
The UML activity diagram records the logic of a single operation or method, a single user case, or a single business flow. To create a UML activity diagram, you must perform the following steps repeatedly to modify the sixth chapter of the object entry level 2.
Step 1: define the range of the activity
Original: UML class diagram Knowledge collationUML Class DiagramUML, advanced necessary professional skills, can not understand the UML will not understand those excellent information.Here's a simple arrangementRelationship generalization relationship between classes (generalization)
Generalization (generalize): a line represented by a hollow arrow
I
(Dependency)
definition: for two relatively independent objects, when one object is responsible for constructing an instance of another object, or depending on the service of another object, the two objects are primarily dependencies.
performance: dependencies are expressed in
local variables ,
the parameters of methods , and calls to
static methods .
Example: If you're going to screw the screws, do you want to use (ie rely on) a screwdriver (screwdriver)
) operator to explain that the interactive box will think that this information is unimportant, so ignore them (directly do not draw it out), or you can use the consider (emphasis) operator to explain that the interactive box that only this information is important, and therefore will show them.
Ref (Reference)
Used to point to an interactive situation as defined in another diagram. We'll make it a box that covers the lifeline of th
without an arrow, an arrow pointing to a use case, and an arrow pointing to a role. No matter whether there are arrows or not, these lines are used to connect roles (villains) and use cases (circles), indicating what use cases a role can "do.A line with arrows indicates the flow of data during the interaction between the role and the system. If the arrow points to a use case, the role needs to input data to the system. If the arrow points to the role, the system outputs data to the role.The lin
artifacts must be on the nodes that correspond, rather than being isolated. iv. Explanation of the deployment diagram(1) Node: the common name of the compute resource. Includes processors and devices. Where the processor is the hardware structure that can execute the program, such as computers and servers. A device is a service that is performed externally through an interface, such as a printer. Each node should give the appropriate tag description,
Currently the more popular UML modeling tools include Visio, Rational Rose, PowerDesigner, EA, and so on, basically enterprise-class software, powerful, I have only used Visio, so do not add to their characteristics or similarities and differences. For more formal scenarios, such as graphics as part of a project document, the software listed above is recommended. When we encounter more complex code logic or business logic at work, it is easier to unde
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.