plantuml--Simple and fast UML editing software for EclipseIntroduction: in the application system software development process, if the software is composed of many objects, its structure is difficult to clarify by virtue of analysis, at the same time in order to facilitate the development and reuse of software, so in the development of the system before the modeling is very necessary, in a number of modeling methods to choose one to adapt to their own
Unified Modeling Language
Composition of UML
Directory
I. Overview
Ii. emergence of standard modeling language UML
Iii. Content of the standard modeling language UML
Iv. Main features of the standard modeling language UML
V. application fields of standard mode
[1] basic concepts
The construction (builder) mode is a design mode for object construction. It can abstract the construction process of complex objects (abstract categories ), different implementation methods of this abstract process can be used to construct objects with different performances (attributes.
[2] Simple Analysis
Let's take a look at the UML structure of the design pattern.
It is a structure
Today, we will discuss two other design patterns: Template Method mode and builder mode. First, let's take a look at the template method mode definition: defines the skeleton of an algorithm in an operation, and delays some steps into the subclass. The template method allows the subclass to redefine certain steps of an algorithm without changing the structure of an algorithm. Its UML diagram is as follows:
Copy CodeThe code is as follows:
/**
* Builders ' model
*
* Separate the build of a complex object from its representation, and use the same build process to create different representations
*/
Class Product
{
public $_type = null;
public $_size = null;
public $_color = null;
Public Function SetType ($type)
{
echo "Set product type$this->_type = $type;
}
Public Function setSize ($size)
{
echo "Set product size$this->_size = $size;
}
Public Function SetColor ($color)
{
echo "Set product color$
Builder mode (Builder pattern): Separates the construction of a complex object from its representation, allowing the same build process to create different representations. The builder pattern is an object-creation pattern. By this definition, we can conclude that the builder is a creation pattern, that is to say, the
1. Concept
Separates a complex build from its representation so that different representations can be created during the same build process. [Construction and representation separation, different representations are constructed in the same way]
Difference from Abstract Factory: In the builder mode, there is a mentor who manages the builder. the user is in contact with the mentor, and the mentor contacts
1. emergence of standard modeling language UML
The accepted object-oriented modeling language appeared in the middle of 1970s. From 1989 to 1994, the number has increased from 10 to more than 50. Among the many modeling languages, language creators strive to promote their own products and improve them in practice. However, users of the OO method do not understand the advantages and disadvantages of different modeling languages and their differences.
When it comes to design patterns, we have to deal with the idea of modeling, and when it comes to modeling ideas, UML is naturally applied, and there are many tools for open source UML, which are very convenient to use. In recent years, with the development of software application domain to rapid iterative trial and error, UML in agile development, especially in
A component diagram is used to reflect the physical structure of the Code. From the component diagram, you can understand the compiler and runtime dependencies between software components (such as source code files or dynamic link libraries. You can use a component diagram to divide the system into cohesion components and display the code structure.
The main purpose of a component diagram is to display the structural relationship between system components. In
to reverse engineer C/C ++, generate the ability of the notebook table and support some highly correlated modeling functions that are irrelevant to the UML and program, such as case studies. In the future, CodeGear will invest more development resources so that C/C ++ Program Statement and C/C ++ Builder idea have the first-stream modeling function.
C/C ++ Builder
Relationships between classes in UML diagrams: dependencies, generalizations, associations, aggregations, combinations, implementations
Class and Class Diagram 1) Class (class) encapsulates data and behavior and is an important component of object-oriented, which is a generic term for objects with the same attributes, operations, and relationships. 2 in the system, each class has a certain responsibility, the responsibility refers to the tasks of the
In UML, Java inheritance and interfaces are represented in the previous article.ArticleIn JavaProgramming LanguageAnd UML class diagrams indicate the differences between classes, attributes, operations, and associations. Let's take a look at how to represent two important Java concepts in UML-inheritance and interfaces.
Inheritance
In Java, we can declare one
The development of Object-Oriented Analysis and Design (OOA D) methods has seen a climax from the end of 1980s to the end of 1990s. UML is the product of this climax. It not only unifies the Expression Methods of booch, Rumbaugh, and Jacob, but also makes further development on it, and finally unified it into the standard modeling language accepted by the masses.
1. emergence of standard modeling language UMLThe accepted object-oriented modeling lang
This article describes the latest UML-TO-JPA transformations in Rational Software Architect (RSA) V7.5, which allows users to design JPA configuration and data models on the UML object model, and to quickly generate Java classes with JPA annotations that can Developers are freed from frequent repetitive work. When the changes in the model and code are brought about by the change of requirements during the d
Public https://github.com/ObeoNetwork/UML-Modeling/blob/master/plugins/org.obeonetwork.dsl.uml2.design.doc/doc/ Uml%20designer%20user%20guide.textile
providing Feedback
This UML modeling environment are based on the Obeo Designer product. It's Under an
Open Source License (EPL) and the Source code is hosted on GitHub.
It is intended to cover mos
It is now February, And now you may have read or heard people talk about the changes made in UML 2.0, including the new specifications of several progressive UML. Considering the importance of the new specification, we are also modifying the basis of this article series to focus our attention on the omg uml 1.4 specification, the transfer to OMG has adopted the d
UML Reference Manual
Part 2Basic Concepts
Chapter 4 Expansion Mechanism 11.1 Overview UML provides several extension mechanisms that allow modelers to make some general extensions without changing the basic modeling language. These scaling mechanisms have been designed so that they can be stored and used without understanding all semantics. F
Summary: This article does not introduce how to operate a specific UML tool. It summarizes some experiences of using the UML tool and hopes to help you!
Author: Zhang chuanboSoftware Knowledge field base
Body:
Common tools for drawing UML include rose, xde, Visio, enterprise terraeture, Jude, and staruml. Jude and staruml are free of charge, and license is
Yin and yang in UML 2
Refer to other articles and tutorials in the basic UML series.
Unified Modeling Language (UML) 2.0
UML basics: Introduction to Unified Modeling Language
UML basics: sequence diag
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.