Your SlideShare is downloading. ×
0
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Bai giang-uml-14jan14
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Bai giang-uml-14jan14

133

Published on

Bài giảng UML cho lớp 55PM1, Khoa Công nghệ thông tin, Trường Đại học Xây Dựng, ngày 14 tháng 01 năm 2014.

Bài giảng UML cho lớp 55PM1, Khoa Công nghệ thông tin, Trường Đại học Xây Dựng, ngày 14 tháng 01 năm 2014.

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
133
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Notation: A class is shown as a rectangle containing class name and optionallywith compartments separated by horizontal lines. The rectanglemay have three compartments: upper compartment is used to place thename of the class and optionally with a stereotype, a compartment listingthe attributes of the class is placed below the name compartment,the compartment placed below the attribute compartment is used to listthe operations of the class or other members of the class.
  • Transcript

    • 1. UNIFIED MODELLING LANGUAGE Subject presented by: Dr. Trần Khánh Dung Department of Software Engineering Email: khanhdung218@yahoo.com 01- 2014
    • 2. Outline ● Goals ● Model & Modelling ● UML? ● Tools? ● UML Diagrams ● Review 2
    • 3. Goals • Equipes IT students with knowledge about • • basic elements and diagrams of the UML Helps IT students • • • to use the UML elements to model and design information systems by UML to build software effectively 3
    • 4. Model? ●A model is a simplified representation of a certain reality. There can be many different maps of the same territory, depending on the purpose: - riding a bike, - visiting museums, - analyzing votes, - etc. 4
    • 5. Model? ● Each model captures a certain aspect/view of the system 5
    • 6. Model? ● A model is focused in one particular aspect of a system: ● A model is not intended to capture all the aspects of a system, but mainly to abstract out only some of these characteristics. ● A system is usually represented by a set of different models, each one capturing some specific aspects. ● Which aspects to capture depends on the purpose of the model. ● A model must not represent the system with absolute preciseness. ● A model is useful because it is a simplified copy. 6
    • 7. Modelling? ●Modeling is the cost-effective use of something in place of something else for some cognitive purpose. It allows us to use something that is simpler, safer or cheaper than reality instead of reality for some purpose ●Modelling allows us to deal with the world in a simplified manner, avoiding the complexity, danger and irreversibility of reality 7
    • 8. Modelling? ● The representation relationship A model should be able to answer a given set of questions in the same way the system would answer these same questions. You can ask the map certain questions, but not others. (+) What is the distance from Madrid to Warsaw? (-) How many whales are there in the oceans? 8
    • 9. Modelling? ● A model is a partial analogy of a system ● ● The analogy between the model and the represented reality is partial. The properties of the model are not identical to the properties of the reality. I can’t smoke with this pipe! 9
    • 10. Modelling? ● The conformance relationship ●A model is a simplified representation of a certain reality, according to the rules of a certain modeling language The map conforms to its legend. The legend defines the language to read the map. 10
    • 11. UML? ● Unified Modeling Language (UML) is a standardized , general-purpose modeling language in the field of software engineering. The UML includes a set of graphic notation techniques to create visual models of object-oriented software-intensive systems. ● ● ● ● 1990s: The UML was developed by Grady Booch, Ivar Jacobson and James Rumbaugh at Rational Software 1997: It was adopted by the Object Management Group (OMG) and has been managed by this organization ever since 2000: The Unified Modeling Language was accepted by the International Organization for Standardization (ISO) as industry standard for modeling software-intensive systems The current version of the UML is 2.4.1 published by the OMG in August 2011 ( http://www.omg.org/spec/UML/) 11
    • 12. UML tools? ● Visual Paradigm for UML (community edition) ● http://www.visual-paradigm.com/download/vpuml.jsp?edition=ce ● Modelio (Modeliosoft) ● StarUML (Plastic Software) ● Enterprise Architect (Sparx System) 12
    • 13. UML Diagram Diagram I Class Diagram ● What is Class? ● Class Diagram Elements 13
    • 14. Class Diagram ● Description ● A class diagram is a type of static structure diagram. It represents static aspect of a system by showing the its classes (their attributes and operations), interfaces, associations and generalizations 14
    • 15. Class Diagram elements ● Elements ● Class ● A class is a definition of objects that share given structural or behavioral characteristics. A class comprises a name, a number of attributes, and a number of operations 15
    • 16. Class Diagram elements ● Elements ● Class ● Attribute: An attribute is a typed value attached to each instance of a class ● Operation: An operation is a function that can be performed by instances of a class. An operation may have return type in case it returns a value 16

    ×