0% found this document useful (0 votes)
16 views3 pages

UML - Overview

UML is a standard language for modeling software systems using diagrams. It was created by the Object Management Group and allows for specifying, visualizing, and documenting software artifacts. Common UML diagrams include use case diagrams, class diagrams, sequence diagrams, and collaboration diagrams, which are used to capture user requirements, describe system structure and behavior, and visualize message flows between objects.

Uploaded by

MUNEEBA GUL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views3 pages

UML - Overview

UML is a standard language for modeling software systems using diagrams. It was created by the Object Management Group and allows for specifying, visualizing, and documenting software artifacts. Common UML diagrams include use case diagrams, class diagrams, sequence diagrams, and collaboration diagrams, which are used to capture user requirements, describe system structure and behavior, and visualize message flows between objects.

Uploaded by

MUNEEBA GUL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

UML - Overview

UML is a standard language for specifying, visualizing, constructing, and documenting the artifacts
of software systems.

UML was created by the Object Management Group (OMG) and UML 1.0 specification draft was
proposed to the OMG in January 1997.

UML is different from the other common programming languages such as C++, Java, COBOL, etc. 
UML is a pictorial language used to make software blueprints.

 UML can be described as a general purpose visual modeling language to visualize, specify,
construct, and document software system.

 Although UML is generally used to model software systems, it is not limited within this boundary.
It is also used to model non-software systems as well. For example, the process flow in a
manufacturing unit, etc.

UML is not a programming language but tools can be used to generate code in various languages
using UML diagrams. UML has a direct relation with object oriented analysis and design.

Goals of UML

A picture is worth a thousand words, this idiom absolutely fits describing UML. Object-oriented
concepts were introduced much earlier than UML. At that point of time, there were no standard
methodologies to organize and consolidate the object-oriented development. It was then that
UML came into picture.

UML diagrams are not only made for developers but also for business users, common people, and
anybody interested to understand the system. The system can be a software or non-software
system.

Use Case Diagram

Use case diagrams are a set of use cases, actors, and their relationships. They represent the use case
view of a system.

Mainly used for capturing user requirements •

Work like a contract between end user and software developers

Actors: A role that a user plays with respect to the system, including human users and other
systems. e.g.,inanimate physical objects (e.g. robot); an external system that needs some
information from the current system.

Use case: A set of scenarios that describing an interaction between a user and a system, including
alternatives.
System boundary: rectangle diagram representing the boundary between the actors and the
system.

Use Case Diagram(core relationship)

Association: communication between an actor and a use case; Represented by a solid line.
Generalization: relationship between one general use case and a special use case (used for
defining special alternatives) Represented by a line with a triangular arrow head toward the
parent use case.

Class Diagram

Class diagrams are the most common diagrams used in UML. Class diagram consists of classes,
interfaces, associations, and collaboration. Class diagrams basically represent the object-oriented
view of a system, which is static in nature.

Used for describing structure and behavior in the use cases

, it is generally used for development purpose. This is the most widely used diagram at the time of
system construction.

Class representation • Each class is represented by a rectangle subdivided into three compartments
– Name – Attributes – Operations

• Modifiers are used to indicate visibility of attributes and operations. – ‘+’ is used to denote Public
visibility (everyone) – ‘#’ is used to denote Protected visibility (friends and derived) – ‘-’ is used
to denote Private visibility (no one)

• By default, attributes are hidden and operations are visible.

Generalization Relationships Person

A generalization connects a subclass to its superclass. It denotes an inheritance of attributes and


behavior from the superclass to the subclass and indicates a specialization in the subclass of the
more general superclass. Student

Association

• Represent relationship between instances of classes

If two classes in a model need to communicate with each other, there must be link between them.
An association denotes that link.

Sequence Diagram

A sequence diagram is an interaction diagram.

From the name, it is clear that the diagram deals with some sequences, which are the sequence of
messages flowing from one object to another
Sequence diagram is used to visualize the sequence of calls in a system to perform a specific
functionality.

Collaboration Diagram :

Collaboration diagram is another form of interaction diagram. It represents the structural


organization of a system and the messages sent/received. Structural organization consists of
objects and links. The purpose of collaboration diagram is similar to sequence diagram. However,
the specific purpose of collaboration diagram is to visualize the organization of objects and their
interaction

You might also like