Class diagram, the British Civilization Yue: Class diagram, then the class is after how magical transformation, into a class diagram? As we all know, classes are descriptors of a set of
a lot of computer technology books or articles commonly used in UML class diagram, the author of the book describes each design pattern is the class diagram + Object-oriented language applet ( in C #, its basic knowledge of a different article)+ character dialogue interpretation of knowledge points. This paper introduc
Reprinted: http://hi.baidu.com/dburu/blog/item/c60fc1881b37189ca4c2723f.html/cmtid/059096cb1ab0e0f352664fa7
Green UML:
A uml class diagram creation tool. You can use green UML to create a UML class diagram from the Code, or use a UML class
The various elements of UML are not mentioned here, I just want to talk about the relationship between classes in the class diagram, can understand the class diagram of the lines between the classes, arrows represent what meaning, it is enough to deal with daily work and communication, at the same time, we should be ab
The existence of UMLClass diagram is a UML diagram with high frequency, which is used to describe the classes contained in the narrative system and the relationship between them, to help people to simplify the understanding of the system, is also an important product of the system analysis and design phase, but also the system coding and testing of the important type basis.How to express UMLIts presentation
From: http://blog.csdn.net/onetree2010/article/details/6197463
In Visio, the relationship between the package and the class is the inclusion relationship. After the class is dragged into the folder of the package, the relationship is established. The binary Association symbol can be set to aggregation and synthesis.Interface: hollow circle + straight line (Tang Lao duck
the specification or interface defined in the target element
Refine
Adornments represent the relationships between different semantic hierarchies.
Substiute
The source element is an alternative to the target element.
Trace
We use this dependency to track things such as dependencies from requirements to classes, or how changes in a model are practiced in other models.
Use
The target element to be used when the source
is not possible to change the implementation inherited from the parent class at run time. To make things worse, the parent class usually defines at least part of the behavior of the subclass, and any changes to the parent class can affect the behavior of the child class. If the inherited implementation is not suitable
Teach () {
......
}
}
4. Interface and Implementation relationshipIn many object-oriented languages have introduced the concept of interfaces, such as Java, C #, etc., in the interface, usually no attributes, and all operations are abstract, only the operation of the Declaration, there is no implementation of the operation. UML represents an interface in a manner similar to the representation of a class, as shown in 3:Figure 3 UML
previous contents.
========================= Body ================================ =
Class
A uml class diagram is first used to describe a class. Class is represented by a box, which is separated into several columns.
Attribute on, method under. The name is left and
in this structure, but also a heavy point, is not a kind of stolen dream space feeling. Don't be nervous, take the easy, there will not be so many levels, here the ISA pointer to the meta-class objects (Metaclass object), with the meta-word, proving that the end of the end. What's the use of the meta-object? It is used to store information about the class's version, Name, class method, and so on. All meta-
in this structure, but also a heavy point, is not a kind of stolen dream space feeling. Don't be nervous, take the easy, there will not be so many levels, here the ISA pointer to the meta-class objects (Metaclass object), with the meta-word, proving that the end of the end. What's the use of the meta-object? It is used to store information about the class's version, Name, class method, and so on. All meta-
D1 nsobject class object, Meta-class object, etc. are arranged.The arrows in the diagram are pointing to the pointer.2.4 Root Class NSObjectNSObject is the root class of most objective-c classes, and it does not have a parent class
1. Introduction It 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 existence of UMLClass diagram is a UML diagram with high frequency, which is used to describe the classes contained in the system and the relationship between them, to help people to simplify the understanding of the system, is also an important product of the system analysis and design phase, but also the important type of system coding and testing basis.How to express UMLIts presentation method is als
UML's class diagram relationships are divided into: Association, aggregation/composition, dependency, generalization (inheritance). And the association is divided into two-way association, one-way association, self-correlation; Let's take a look at what these relationships are and where they differ.1. AssociationBidirectional Association:C1-C2: Refers to both sides know each other's existence, can call each
NO1.Where is Chang in the class file?
My previous article "schematic diagram of Java Virtual machine" 1, class file basic organizational structure has mentioned the class file structure, in the class file, after the magic number, the sub-version number, the main ve
In software systems, classes do not exist in isolation, there are various relationships between classes and classes, and UML provides different representations for different types of relationships.1. Related relationshipsAn Association (association) relationship is the most common relationship between a class and a class, and it is a structured relationship that is used to indicate that a
the parent class loader cannot complete the secondary load task.--the parent mechanism is to guarantee the type safety of the Java Core Library, and there is no case that the user can define the Java.lang.Object class.The parent delegation mechanism is one of the proxy patterns, not all classloader use the parent-delegate mechanism, the Tomcat server ClassLoader also uses the proxy mode, the difference is that he is first trying to load a
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
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.