Chapter 3 - Introduction To UML
Chapter 3 - Introduction To UML
Chapter 3 - Introduction To UML
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. After
some standardization, UML has become an OMG standard.
UML is controlled by the Object Management Group (OMG) and is the industry standard for
graphically describing software.
− A language whose vocabulary and rules focus on the conceptual and physical
representation of a system.
− UML defines structural and behavioral things and diagrams.
− UML is the language of blueprints for software.
OOSAD by: Sinodos G. Chapter 3 1|Page
− It is a graphical language for visualizing, specifying, documenting, constructing
models that are precise, unambiguous, and complete and possibly to be mapped
into a programming language
− It is intended for software-intensive systems
UML has been chosen as the basis for the notation and semantics in Real-time
Perspective because:
− It is fast becoming an industry standard, and has the support of most major
methodologists and methodology companies Standardized notation without
sacrificing specialized model data.
− It is a common language that can be used from product conception to delivery, from
system to detailed design levels. UML offers all of the major object-oriented
techniques including use cases, Class Diagrams, Object Sequence Diagrams etc.
− Reduced learning curve across projects
− Increased domain and design model reuse
− Increased customer involvement /understanding of problem translation to product
solution
UML is not a method or methodology (Method = Notation (E.g., UML) + Process). It is just a
notation. UML does not dictate a particular process; it can be used to record the resulting domain
and design models, independent of the process.
There are a number of goals for developing UML but the most important is to define some general-
purpose modeling language, which all modelers can use and it also needs to be made simple to
understand and use.
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. Thus, it must be clear that UML is not a development method rather it accompanies with
OOSAD by: Sinodos G. Chapter 3 2|Page
processes to make it a successful system. In conclusion, the goal of UML can be defined as a
simple modeling mechanism to model all possible practical systems in today’s complex
environment.
− A year later they were joined by Ivar Jacobson and the Unified Method was
transformed into UML- the Unified Modeling Language
• OO Analysis,
− during the OO analysis the most important purpose is to identify objects and
describe them in a proper way. If these objects are identified efficiently, then the
next job of design is easy. The objects should be identified with responsibilities.
Responsibilities are the functions performed by the object. Each and every object
• OO Implementation: -
− In this phase, the design is implemented using OO languages such as Java, C++,
etc.
The relation between OO design and UML is very important to understand. The OO design is
transformed into UML diagrams according to the requirement. Before understanding the UML in
detail, the OO concept should be learned properly. Once the OO analysis and design is done, the
next step is very easy. The input from OO analysis and design is the input to UML diagrams.
A. Structural Things
− define the static part of the model. They represent the physical and conceptual elements.
Following are the brief descriptions of the structural things.
− Example:
• a Class structure, t h e interface structure,
• T h e collaboration, use case, active class, component, and a node
B. Behavioral Things: -
− It consists of the dynamic parts of UML models. Following are the behavioral
things
− Includes the dynamic, represent behavior over time and space
− Example: Interaction, State machine
C. Grouping things –
− defined as a mechanism to group elements of a UML model together. There is only one grouping
thing available
− Example: Package − Package is the only one grouping thing available for gathering structural and
behavioral things.
D. Annotational thing –
− Refer to the explanatory parts of UML
− defined as a mechanism to capture remarks, descriptions, and comments of UML
model elements. Note - It is the only one Annotational thing available.
− A note is used to render comments, constraints, etc. of an UML element.
3.3.2. Relationships
− tie things together
− It shows how the elements are associated with each other and this association
describes the functionality of an application.
− There are four kinds of relationships available.
Realization: Realization can be defined as a relationship in which two elements are connected.
One element describes some responsibility, which is not implemented and the other one
implements them. This relationship exists in case of interfaces.
3.3.3. Diagrams
The graphical representation of a set of elements called a diagram. It Help to visualize a system
from different perspectives. The UML Diagram is composed of many model elements that
represent the different parts of a software system. The UML elements are used to create diagrams,
which represent a certain part, or a point of view of the system. The following types of diagrams
are supported by UML
2. UML case tool, plus a methodology, plus empowered resources enable the
development of the right software solution, faster and cheaper
A. Enterprise Architect
The perfect enterprise-wide solution to visualize, analyses, model, test and maintain all of
your systems, software, processes and architectures. Enterprise Architect is the ideal platform
to help you to stay in control of your workspace, support your colleagues and team, enable
collaboration and build confidence within your most complex projects.
• organization: Sparx Systems
• web-site: http://www.sparxsystems.com.au/
C. Poseidon
Bridge Requirements
• is only supported on Microsoft Windows.
• requires the tool to be installed to access its SDK.
− organization: Gentleware
− web-site: http://www.gentleware.com/
E. Star UML
− A sophisticated software modeler for agile and concise modeling
− Visio helps you to create professional diagrams by creating flowcharts, diagrams, org
charts, engineering designs, and more.
− Comprehensive software for professional modeling.
− It is a useful data, process, and engineering modeling tool
− Allows you to build professional-looking diagrams
− Allows you to connect flowcharts and diagrams to real-time data.
− It allows you to work together on diagrams from a web browser, from almost anywhere.
− Offers pre-built templates for Brochures, Budgets, Calendars, Cards, Certificates,
Decoration, Education, Flyers, Health, fitness, Invitations and LettersSupports JPEG, PNG,
PDF and DOC file formats
− Supported Platforms: Android, Windows and iOS
− Microfocus is a visual modeling tool that allows business and software development to
analyze and design software architecture.
− This platform offers you to model enterprise architectures in such a way that requirements,
architectures, and code are always in sync
− Offers Model-driven Architecture and data modeling systems
− Live source technology feature allows you to use programming language source code to
manage elements and eliminate unnecessary work
− Offers pre-built templates for Design and Report
− Seamlessly integrates with Kubernetes, Microsoft Teams, LoadRunner, Git, IBM and Jira
− It provides multiple diagram options cloud storage