Easy introduction to UML (4)-OCP is a progressive Cook, uml-ocpIn the previous chapter, we discussed the SRP principle of one of the five features of object-oriented design (OOD. In this section, we will look at another important principle: OCP principle (Open-Close principle ).Software entity shocould be open for extension, but closed for modificationReview in the previous section: 1. Easy introduction to
Folder:
UML View
Nine types of UML diagrams
Relationships between classes in UML
As described above, the UML view includes one or more diagrams in each view. This article focuses on the details of each UML diagram:
1. Use Case Diagrams)
[Concept] describes user
Document directory
3.1 Association, aggregation, and combination
3.3 Generalization
3.2 dependency
3.4 Implementation
It is intercepted from the staruml tool interface, and the UML relationships are represented from top to bottom: Association, unidirectional Association, aggregation, combination, generalization, dependency, and implementation.
Figure 3 UML relational set
3.1 Association, aggregati
Teach you how to use start uml to draw Use Case Diagrams and uml use cases
I have recently prepared to study volley's source code, but I have read some blogs on the Internet. They all work with the diagram. This looks more intuitive and the analysis logic is also good, what kind of diagrams can clearly analyze the relationships between various types and how to extract them. So I first learned the modeling t
Uml and other diagrams, Uml
In object-oriented processing, class graphs are at the core and provide the main rules for defining and using objects. It is a diagram describing classes, interfaces, and their relationships. It shows the static structure of each class in the system and is a static model.
I. Class Diagram
1. Class
A class is the basis for creating a class chart. It defines a group of objects wit
In the first part, we have established the understanding that UML is a language used to develop the components of software systems and the standard of interactive methods. UML involves 6 major aspects-from use-case models, dynamic and logical models, to final physical deployment models, and extension mechanisms that allow special annotations to be added to models.So, how do you use
When I mentioned UML before, I thought of the complicated flowchart. I admire the people who think about the UML diagram of the whole system, because they have the blueprint of the whole software architecture in their mind, so that when writing the implementation, they will know where to change and where to expand.
And to be an architect, UML is also an ess
One, Green UML plugin 1, view eclipse versionView the version of Eclipse that is installed on the current PC (Help-about Eclipse Platform), which is version 3.3.2.2. View the corresponding plug-in versionThen go to the website http://green.sourceforge.net/builds.html to view the corresponding green and GEF versions:It looks like Green3.0.0 and GEF3.3.3. Install Green 3.0.0Simply click on the 3.0.0 link in the above website. Unzip the downloaded Green-
Http://www.cnblogs.com/zhaolijing/archive/2013/02/28/2936321.html UML use case diagram-detailed tutorial
I. Definition of use case diagram:
ByActors and Use Cases)And the relationship between themDescribe system functionsThe dynamic view of is called the use case diagram. Draw a participant (representing a system user) on the example graph to draw a humanoid symbol. The relationships between participants and use cases are described by line segme
Classes may have the following relationships: Association, dependency, aggregation, aggregation, composition, and generalization, also known as inheritance), implementation (realization ). 1: Association refers to the relationship between two classes. For example, a customer and an order can only belong to one customer. A customer may have multiple orders. It can be divided into one-way and two-way directions. It can be divided into one-to-one, one-to-multiple, and many-to-many based on the corr
Easy introduction to UML (3)-SRP cook well, let others program, uml-srpA cook can make a good dish. Maybe he graduated from New Oriental or the secret recipe of his family. It is simple, happy, and efficient for you to let him cook a table of food. However, programming will become an annoyance and hard nut to crack. Maybe this metaphor is not very appropriate, but for every class, they are like an actor, ma
Three main elements of modeling:
1. Basic Construction blocks of UML;
2. Rules on how to put these constructor blocks together;
3. Some common mechanisms applied to the entire UML;
The UML constructor consists of three types: A, thing B, relationship C, and diagram.
Things: including "structured things", "behavior things", "grouping things", and "commenting thing
Niu Yun news system (I)-UML, database design, and news system umlNiu Yun news system (I)-UML and database designI. Initial Knowledge of the niuyun System
Niu Yun (Brisket)That is, the beef abdomen and soft muscles close to the beef ribs refer to meat with tendon, meat, and oil
Block. The meat in many places on the oX can be called the ox's meat.
The point is that there are more meat, less oil, and even lea
Object-Oriented Software Engineering and UML, software engineering uml
Basic concepts of Software Engineering
Software Crisis
The functions, scale, and complexity of a software increase, and the complexity of the software reaches the level that cannot be controlled by its developers.
This situation leads to serious consequences: Software Reliability reduction, low development efficiency, and extremely diffi
In UML, a link is very important. it abstracts the links between objects and forms a link structure. The following describes the four types of relationships in UML: association, dependency, generalization, and implementation. #160; #160; 1. Examples #160; #160; 1. Association #160; #160; associations are used to connect objects with structural relationships. they can be connected to the same class or
UML class diagram and uml class diagram
I. First of all, I declare that the learning of UML class diagrams refers to the example in "big talk Design Pattern" for personal learning and does not involve anything else.
2. paste the Big Bird's UML pattern examples for the dishes.
Iii. Description:
1. Class Diagram
The fi
Today we look at another element of the UML basic building block-the relationship.in UML, there are relationships that represent the basic diagram symbols, which are: Dependency (dependency), generalization (generalization, also known as inheritance), realNow (realization) and Association (Association), and the association is divided into common associations (common Association), Aggregation (aggregation,
circle with a solid circle inside it
"Purpose" indicates the different states in which a class is located and the process in which the class is converted in these states2. activity Map (diagrams)"Concept" describes the activities that are required to meet the use case requirements and the constraints of the active time"How to Describe"
Starting point: Solid Circle
Activity: Rounded Rectangle
End point: a circle with a solid circle inside it
Not many computer players have not learned much, but with the continuous development of the project, those who have never seen before, and those who have never used them are all about to start learning. Although I have heard of UML for a long time, I have never read this book and have never used this tool. The class diagrams of UML are also unknown. Basically, I don't know how to understand it. I haven't us
connection. The constraint is represented as {}.4. Typically in UML, the name of the specific instance is underlined, and the class, not the instance, is represented if there is no underscore. Note that the rule has an exception for instances in the interaction diagram, and the instance is represented by a lifeline diagram, with no underscore in its name.Typically, in any case, we can see the object instance name underlined in the deployment diagram
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.