Today, we continue to learn about the static and dynamic modeling of UML, we hope that you will learn more about UML modeling over the past two days and apply it in future project development.
Core UML chart Classification: ---> "Solitary nine swords"Static Modeling: [use case diagram], [class diagram], object diagram, component diagram, and deployment diagram.
Overview
"Programming is a technology, more is an art, not only satisfied with the completion of the code to run the results of the correct long time, often consider how to make the code more concise, easier to maintain, easy to expand and take, only in this way can really be improved." It's really cool to write elegant code. UML class diagram is not a learning will be, need to have a slowly skilled process. The so-called learning, in fact, t
), also known as "is-a-kind-of" relationships, are used to describe the relationship between a parent class and a subclass, which is also known as a base class or superclass, and a subclass is also known as a derived class. In UML, the generalization relation is represented by a straight line with a hollow triangle. • When code is implemented, use an object-oriented inheritance mechanism to implement generalization relationships, such as using the ext
, generalization (generalization):is a class (called a subclass, sub-interface) that inherits the functionality of another class (called a parent, parent interface) and can augment its own new functionality, which is the most common relationship between classes and classes or interfaces and interfaces, and in Java such relationships are explicitly identified by the keyword extends. Represented by an implementation with a hollow arrow. "Other relations
defined in Java. The second one is the attribute (attributes). The third is the method provided by the class.You can attach a visibility modifier before a property or operation. A plus sign (+) indicates public visibility. A minus sign (-) indicates private visibility. #号表示受保护的可见性. Omitting these modifiers indicates a package (package) level of visibility. If an attribute or action has an underscore, it indicates that it is static. In an operation, y
(called a parent, parent interface) and can augment its own new functionality, which is the most common relationship between classes and classes or interfaces and interfaces, and in Java such relationships are explicitly identified by the keyword extends.represented by an implementation with a hollow arrow. "Other relationship representations, see UML syntax descriptors"The class diagram is described as fo
code. It should be converted to java,c#,c++ code to execute. Where the "boundary" class can be mapped to the corresponding "interface", "control" can be mapped to "control class", "entity" can be mapped to the corresponding "entity class", so that the conceptual model from the map to the design model.Through the above three steps, the use of object-oriented analysis and design method to the real world through the derivation, and eventually converted
represents the behavior of the element and other elements exist at the same time;
Component: A component is a physical and replaceable component that contains a set of interfaces, such as COM + and Java Beans;
Node: A node is a physical element existing in the system during operation. It represents a computing resource and usually occupies some memory and has processing capabilities.
(2) behavioral things)
Action thing refers to the dynamic part of t
map)
3) Sequence---Renaming (sequence diagram)
4. Behavioral Model 3 graphical display effect.
5. Create 3 partitions in the activity diagram, namely the user, the host, and the backend system.
6. Insert the initial element into the user partition---> make the first action card.
7. Establish the connection between the user partition and the ATM host partition.
8. Partition the user partition with the ATM host.
In the actual project, the activity diagram, the state diagram, the s
UML Overview
Introduction to UML
UML provides a unified, standard, and visual modeling language for Object-Oriented software design. It is applicable to the whole process of describing case-driven, architecture-centered software design.
The definition of UML consists of UML
In this paper, from the problems of UML modeling coherence, taking management software development as an example, according to three aspects of upstream, downstream and model internal relations which are connected with UML model, the author analyzes the three barriers caused by UML modeling, and hopes to discuss with many modeling enthusiasts.
In the country's p
the function of commodity management
Customer service has the function, the administrator has, the administrator also has the management member's function.
Class diagramClass diagrams are used to describe the various relationships between classes and classes in a systemThe following relationships are available under the class diagram:
Inheritance: Parent-child class relationships
Implementation: Class-to-interface relationships
Associations (global variables, combinati
between client application and application server-side components. The following is a 1:1 model of the physical architecture to manage.
For example, suppose we have decided to implement two Enterprise Java Beans and run them on the application server. The following illustration shows a single node and two components within that node (one component per EJB). We can see that Employeebean relies on Customerbean within the same application server.
called generalization) of B,c
• Generalization relationships (generalization), also known as "is-a-kind-of" relationships, are used to describe the relationship between a parent class and a subclass, which is also known as a base class or superclass, and a subclass is also known as a derived class. In UML, the generalization relation is represented by a straight line with a hollow triangle. • When code is implemented, use an object-oriented inheritan
1, what is UML
UML class diagrams can quickly examine code structures.
2. Theme
The use of UML class diagrams in Pycharm.
3. Preparation work
(1) Pycharm version is 2.7 or higher
(2) Installing the Python Interpreter
(3) UML Plug-ins and UML class diagram plug-in installatio
Recently, the book "Elephant" has been read, from last November to the present, for a full five months.
On the one hand, because of the work of this period of time, life things are more, very little time to read the whole block;
On the other hand is also reading this book, while reading the side of the expansion, the last recorded 13 notes.
Elephant Thinking in UML learning Note (a)-why UML is required.
"
relation, realization relation, dependency relation, association relation, and association relation is divided into common relation, aggregation relation and synthetic relation. In fact, these relationships are easy to understand, but more often than not, we need to be aware of how to translate into Java code:Generalization RelationshipsThe generalization relationship is essentially our inheritance, class inheritance and another class, this code shou
Compared with traditional telecommunication networks, NGN faces many security threats, and its business security is also facing huge challenges. Business development and deployment require more security features and security functions. Umlsec uses UML Security Extension to analyze and model the security requirements of services in NGN. A fine-grained security requirement analysis method is proposed. Abstract abstract classes of security functions to d
What is *modelgoon? It is an Eclipse plug-in for model design based on UML diagrams and reverse engineering (that is, from an existingSourcegenerate class diagrams, etc. for code analysis or document use). * Applicable conditionsModelgoon Current version is 3.0.0 for eclipse3.4+, including the latest version of Eclipse 3.6* How to installrecommended online installation, site address is http://www.modelgoon.org/updateIt is important to note that someti
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.