Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to UML.

Similar presentations


Presentation on theme: "Introduction to UML."— Presentation transcript:

1 Introduction to UML

2 What is UML? UML stands for “Unified Modeling Language”.
It is an industry-standard graphical language for analysing, describing and documenting the artifacts of an object-oriented system under development. The UML uses mostly graphical notations to express the OO analysis and design of software projects.  Simplifies the complex process of software design.

3 Why UML for Modeling Use graphical notation to communicate more clearly than natural language (imprecise) and code (too detailed). Help acquire an overall view of a system. UML is not dependent on any one language or technology. UML moves us from fragmentation to standardization.

4 History of the UML In 1990s, many different methodologies, along with their own set of notations, were introduced to the market Object Modeling Technique (OMT) (James Rumbaugh) Booch (Grady Booch) Object-oriented software engineering (OOSE) (Ivar Jacobson)

5 History of the UML

6 UML Diagrams Behavioral diagrams : It affects how the states of objects change over time Use case diagram Sequence diagram Collaboration diagram Activity diagram State diagram Structural diagrams: show the structure of a system Class diagram Object diagram Component diagram Package diagram Deployment diagram

7 Use Case Diagram A use case is a description of some way in which a system or a business is used, by its customers, users or by other systems. Mainly used for capturing user requirements (describing a set of user scenarios). Work like a contract between end user and software developers. A use case diagram shows how system use cases are related to each other and how the users can get at them.

8 Use Case Diagram

9 Sequence Diagram Sequence diagrams are used to represent the flow of messages, events and actions between the objects or components of a system. The horizontal dimension shows the objects participating(Interaction Partners) in the interaction. The vertical arrangement the messages indicates their order.

10 Sequence Diagram

11 Communication Diagram
A communication diagram, formerly called a collaboration diagram, is an interaction diagram that shows similar information to sequence diagrams but its primary focus is on object relationships. On communication diagrams, objects are shown with association connectors between them. Messages are added to the associations and show as short arrows pointing in the direction of the message flow. The sequence of messages is shown through a numbering scheme.

12 Communication Diagram

13 Activity Diagram Activity Diagrams are a type of flowchart used to describe a business process or workflow of a system; that is, they show the flow of control from activity to activity in the system, what activities can be done in parallel, and any alternate paths through the flow. They support parallel tasks, which a pure flowchart can’t handle.

14 Activity Diagram

15 State Diagram State diagrams show the sequences of states an object goes through during its life cycle.

16 Class Diagram Used for describing structure and behavior in the use cases. Provide a conceptual model of the system in terms of entities and their relationships. Used for requirement capture, end-user interaction. Detailed class diagrams are used for developers.

17 Class diagram

18 Object Diagram

19 Component Diagram Component diagrams illustrate the pieces of software that will make up a system. A component diagram has a higher level of abstraction than a class diagram – usually a component is implemented by one or more classes (or objects). They are the building blocks so a component can eventually encompass a large portion of a system.

20 Component Diagram

21 Package Diagram Logical grouping of UML elements.
Simplifies UML diagrams Groups related elements into a single higher-level element. Dependency relationships Shows a dependency between packages.

22 Package Diagram

23 Deployment Diagram A deployment diagram models the run-time architecture of a system. It shows the configuration of the hardware elements (nodes) and shows how software elements are mapped onto those nodes. The diagram shows how the finished system will be deployed on one or more machines.

24 Deployment Diagram

25 UML Modeling Tools Enterprise Architect. Rational Rose.
Microsoft Office Visio. Edraw UML Diagram.


Download ppt "Introduction to UML."

Similar presentations


Ads by Google