other employee.
3. object diagrams in UML:The instance mark is the same as the class, but it replaces the only class name in the top area. Its name is spliced:
Instance Name: Class Name such as Donald: Person
Because the purpose of displaying instances is to display noteworthy or related information, it is not necessary to include the entire object attribute and
Choose a few UML common diagram, tidy up, convenient for their own inquiries
Most of them are due to the designer exam, the examination is not dedicated to the use of spray;
Class diagram example Class Diagrams:Implementation: Class
Http://www.uml.org.cn/oobject/200901203.asp
UML practice-use case diagram, sequence diagram, state diagram, class diagram, package diagram, and collaboration
collaboration chart is also an interactive chart. They transmit the same information like a sequence chart, but they do not care when the message is transmitted, but only care about the role of the object. In the sequence diagram, the role of the object is placed above, and the message is a connection line.
The class or object name (or both) is attached to the rectangle of the object role ). The
arranged from top to bottom in chronological order.
Collaboration Diagram
A collaboration chart is also an interactive chart. They transmit the same information like a sequence chart, but they do not care when the message is transmitted, but only care about the role of the object. In the sequence diagram, the role of the object is placed above, and the message is a connection line.
The
message to another class instance, draw a line with an open arrow pointing to the receiving class instance and place the name of the message/method on the line. For some particularly important messages, you can draw a dotted line with an open arrow pointing to the launch class instance and mark the return value on the dotted line. As far as I am concerned, I alw
.
Constraints
Specifies one or more rules to satisfy for some classes and interfaces, using free-text identifiers enclosed in curly braces in UML.
Package
Packages in UML correspond directly to packages in Java to represent hierarchies and organizational content. Relationship of Class
This essay is well written, in PHP to explain the UML (or vice versa) can be said to be an innovation, through this article, I also found a good station: www.phppatterns.com. The translation of the UML terms comes from the UML User Guide (the Unified Modeling Language user Guide) that I am looking at.
UML (Unified mod
"; }}/*********************************************************************** * Module:Students.java * Author: Code4android * Purpose:defines the Class Students ****************************************************************** *****/Importjava.util.*;/** @pdOid 6b8ac239-000e-46d3-8233-962a612c12bd * / Public class Students extends person { /** @pdOid 0c7627fd-fa78-4f60-a859-2b90274323e1 * / Private i
In the process of learning UML class diagram, UML class diagram relation is a problem that must be mastered, and there are six kinds of relationships in UML definition: dependency, genu
syntactically, must examine the concrete logical relation."Code embodiment": member variable"Arrows and points": solid lines with hollow diamonds, diamonds pointing to the whole5. Combination (composition)"Combinatorial relationship": the relationship between the whole and the part, but part cannot leave the whole and exist alone. If the company and the Department is a whole and part of the relationship, no company there is no department.A combinatorial relationship is a relationship that is st
Blog Park Flash Home new essay contact management subscribe Essays-295 Articles-111 reviews-6633 STARUML---Recommend a uml tool (very good very strong)
Last week a friend of mine, who is also a colleague of the company, recommended a UML tool for me to start using, but the more I used it, the more I felt good,
I even want to delete the rose on the machine, directly with this software, I heard that this soft
the relationships between classes
Inheritance Relationship
An inheritance relationship is the most understandable relationship. The picture is like this. The object-oriented argument is the is-a relationship. That is to say Class2 is a Class1. In C + + we say that Class2 is a derived class of Class1, or that Class1 is the base class for Class2.
Aggregation and Composition
Start with a relationship that is e
different roles in Figure 14.
Note that you cannot create a class role in a pure class diagram, even if figure 18 shows you can. To use the role mark, you will need to use the internal structure mark discussed below.
Internal StructureOne of the more useful functions of the UML
Online about from C + + code to UML class diagram generation process of things, found a usable, and now turn down, in case of a rainy days.Turn to slightly adjust the next content, only care about the use.Original source http://siulyn.blog.163.com/blog/static/6245583620087252539344Rational Rose 2003 Reverse engineering
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.