UML (Unified Modeling Language) is a standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems. It includes standard graphic notation techniques to create visual models of object-oriented software-intensive systems. This document discusses UML, providing a brief history and overview of its main diagram types, including use case diagrams, sequence diagrams, collaboration diagrams, statechart diagrams, and activity diagrams.
UML (Unified Modeling Language) is a standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems. It includes standard graphic notation techniques to create visual models of object-oriented software-intensive systems. This document discusses UML, providing a brief history and overview of its main diagram types, including use case diagrams, sequence diagrams, collaboration diagrams, statechart diagrams, and activity diagrams.
UML (Unified Modeling Language) is a standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems. It includes standard graphic notation techniques to create visual models of object-oriented software-intensive systems. This document discusses UML, providing a brief history and overview of its main diagram types, including use case diagrams, sequence diagrams, collaboration diagrams, statechart diagrams, and activity diagrams.
UML (Unified Modeling Language) is a standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems. It includes standard graphic notation techniques to create visual models of object-oriented software-intensive systems. This document discusses UML, providing a brief history and overview of its main diagram types, including use case diagrams, sequence diagrams, collaboration diagrams, statechart diagrams, and activity diagrams.
َّ هللا Start with the name of Allah who is most merciful and beneficent TOPIC UML
M.LIAQAT SHEHZAD ROLL#12035 Overview What is UML? A brief History of UML. UML Diagram What is UML?
• UML stands for Unified Modelling Language.
• UML is different from the other common programming
languages like C++, Java, COBOL etc.
• UML is a pictorial language used to make software blue
prints A brief History of UML.
Inundated with methodologies in early
90’s • Booch, Jacobson, Yourden, Rumbaugh Booch, Jacobson merged methods 1994 Rumbaugh joined 1995 1997 UML 1.1 from OMG includes input from others, e.g. Yourden UML v2.0 current version UML Diagram
UML has the following five types of
behavioral diagrams: • Use case diagram • Sequence diagram • Collaboration diagram • Statechart diagram • Activity diagram Use case diagram A USE CASE is an interaction between a system and external stimulate, that could a human and may be an external system • A USE CASE diagram is an purposed functionality of the system • USE CASE diagram is used to show a discrete unit of work • It is used at early stages of model • It is the simplest diagram Example of USE CASE for a Stock trading system • Open an account • Close an account • Deposit funds • Draw funds This diagram consist of: • Actor It is represented by a human, either the actor is a human Or and external system. Actor is role • • Use case
It is represented by an oval shape with title in it
Sequence diagram
Sequence diagrams provide a graphical
representation of object interactions over time • One sequence diagram typically represents a single Use Case 'scenario' or flow of events. • The diagrams show the flow of messages from one object to another, and as such correspond to the methods and events supported by a class/object. Sequence diagram Collaboration diagram • Collaboration Diagrams show similar information to sequence diagrams, except that the vertical sequence is missing. In its place are: – Object Links - solid lines between the objects that interact – On the links are Messages - arrows with one or more message name that show the direction and names of the messages sent between objects • Emphasis on static links as opposed to sequence in the sequence diagram Statechart diagram • State Diagrams can also store their own local variables, do processing on them • Library example counting books checked out and returned Activity diagram • Fancy flowchart – Displays the flow of activities involved in a single process – States • Describe what is being processed • Indicated by boxes with rounded corners – Swim lanes • Indicates which object is responsible for what activity – Branch • Transition that branch • Indicated by a diamond – Fork • Transition forking into parallel activities • Indicated by solid bars – Start and End