The Unified Modeling Language (UML) is a general-
purpose, developmental, modeling language in the field
of software engineering, that is intended to provide a
standard way to visualize the design of a system.
The Unified Modeling Language (UML) is a general-
purpose, developmental, modeling language in the field
of software engineering, that is intended to provide a
standard way to visualize the design of a system.
Unified Modeling Language (UML) is a modeling language, used for design. Designed based on OMG Standard, Object this helps to express and design documents, software. This is particularly useful for OO design. Here is a brief tutorial that talks about UML usage.
Unified Modeling Language (UML) is a modeling language, used for design. Designed based on OMG Standard, Object this helps to express and design documents, software. This is particularly useful for OO design. Here is a brief tutorial that talks about UML usage.
The objective is to explain how a software design may be represented as a set of interacting objects that manage their own state and operations and to introduce various models that describe an object-oriented design.
Phase 2 - Task 1
Task Type:
Discussion Board
Deliverable Length:
400–600 words + 2 responses (100–200 words each)
Points Possible:
75
Due Date:
1/18/2015 11:59:59 PM
Primary Discussion Response is due by Wednesday (11:59:59pm Central), Peer Responses are due by Sunday (11:59:59pm Central).
Primary Task Response: Within the Discussion Board area, write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. This will be the foundation for future discussions with your classmates. Be substantive and clear, and use examples to reinforce your ideas.
Library Research Assignment
Translating detailed requirements into a design is the next very important step. An integrated set of computer-aided software engineering (CASE) tools can be very useful in modeling and documenting a software application or system.
Investigate the library and Internet for information on at least 5 CASE tools such as unified modeling language (UML), functional decomposition diagrams, data flow diagrams, object diagrams, entity-relationship (E-R) diagrams, class diagrams, and structure charts.
· Compare and contrast 5 of the CASE modeling tools by giving a brief description, including strengths and weaknesses.
· Based on your research, which subset or individual CASE modeling tool or tools do you plan to use to develop the design for your project in this class, and why?
Responses to Other Students: Respond to at least 2 of your fellow classmates with a reply of 100–200 words about their Primary Task Response regarding items you found to be compelling and enlightening. To help you with your discussion, please consider the following questions:
· What did you learn from your classmate's posting?
· What additional questions do you have after reading the posting?
· What clarification do you need regarding the posting?
· What differences or similarities do you see between your posting and other classmates' postings?
For assistance with your assignment, please use your text, Web resources, and all course materials.
Course Materials
Phase 2 - Task 2
Task Type:
Individual Project
Deliverable Length:
2–3 new pages
Points Possible:
100
Due Date:
1/19/2015 11:59:59 PM
Weekly tasks or assignments (Individual or Group Projects) will be due by Monday, and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus. NOTE: All submission posting times are based on midnight Central Time.
At this point, you are ready to execute the next phase in system development life cycle (SDLC), which is the design phase. Exploiting the research that you have performed in this week’s Discussion Board on the set of modeling tools, document the design for the application project that you selected.
Assignment
For this assignment, you will use Visio Software Application to develop the design employing the following computer-aided software engineering (CASE) modeling tools:
· Use case
· Functional decomposition diagr.
Similar to CS8592-OOAD-UNIT II-STATIC UML DIAGRAMS PPT (20)
Student information management system project report ii.pdfKamal Acharya
Our project explains about the student management. This project mainly explains the various actions related to student details. This project shows some ease in adding, editing and deleting the student details. It also provides a less time consuming process for viewing, adding, editing and deleting the marks of the students.
Cosmetic shop management system project report.pdfKamal Acharya
Buying new cosmetic products is difficult. It can even be scary for those who have sensitive skin and are prone to skin trouble. The information needed to alleviate this problem is on the back of each product, but it's thought to interpret those ingredient lists unless you have a background in chemistry.
Instead of buying and hoping for the best, we can use data science to help us predict which products may be good fits for us. It includes various function programs to do the above mentioned tasks.
Data file handling has been effectively used in the program.
The automated cosmetic shop management system should deal with the automation of general workflow and administration process of the shop. The main processes of the system focus on customer's request where the system is able to search the most appropriate products and deliver it to the customers. It should help the employees to quickly identify the list of cosmetic product that have reached the minimum quantity and also keep a track of expired date for each cosmetic product. It should help the employees to find the rack number in which the product is placed.It is also Faster and more efficient way.
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
CFD analysis is incredibly effective at solving mysteries and improving the performance of complex systems!
Here's a great example: At a large natural gas-fired power plant, where they use waste heat to generate steam and energy, they were puzzled that their boiler wasn't producing as much steam as expected.
R&R and Tetra Engineering Group Inc. were asked to solve the issue with reduced steam production.
An inspection had shown that a significant amount of hot flue gas was bypassing the boiler tubes, where the heat was supposed to be transferred.
R&R Consult conducted a CFD analysis, which revealed that 6.3% of the flue gas was bypassing the boiler tubes without transferring heat. The analysis also showed that the flue gas was instead being directed along the sides of the boiler and between the modules that were supposed to capture the heat. This was the cause of the reduced performance.
Based on our results, Tetra Engineering installed covering plates to reduce the bypass flow. This improved the boiler's performance and increased electricity production.
It is always satisfying when we can help solve complex challenges like this. Do your systems also need a check-up or optimization? Give us a call!
Work done in cooperation with James Malloy and David Moelling from Tetra Engineering.
More examples of our work https://www.r-r-consult.dk/en/cases-en/
Overview of the fundamental roles in Hydropower generation and the components involved in wider Electrical Engineering.
This paper presents the design and construction of hydroelectric dams from the hydrologist’s survey of the valley before construction, all aspects and involved disciplines, fluid dynamics, structural engineering, generation and mains frequency regulation to the very transmission of power through the network in the United Kingdom.
Author: Robbie Edward Sayers
Collaborators and co editors: Charlie Sims and Connor Healey.
(C) 2024 Robbie E. Sayers
Welcome to WIPAC Monthly the magazine brought to you by the LinkedIn Group Water Industry Process Automation & Control.
In this month's edition, along with this month's industry news to celebrate the 13 years since the group was created we have articles including
A case study of the used of Advanced Process Control at the Wastewater Treatment works at Lleida in Spain
A look back on an article on smart wastewater networks in order to see how the industry has measured up in the interim around the adoption of Digital Transformation in the Water Industry.
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdffxintegritypublishin
Advancements in technology unveil a myriad of electrical and electronic breakthroughs geared towards efficiently harnessing limited resources to meet human energy demands. The optimization of hybrid solar PV panels and pumped hydro energy supply systems plays a pivotal role in utilizing natural resources effectively. This initiative not only benefits humanity but also fosters environmental sustainability. The study investigated the design optimization of these hybrid systems, focusing on understanding solar radiation patterns, identifying geographical influences on solar radiation, formulating a mathematical model for system optimization, and determining the optimal configuration of PV panels and pumped hydro storage. Through a comparative analysis approach and eight weeks of data collection, the study addressed key research questions related to solar radiation patterns and optimal system design. The findings highlighted regions with heightened solar radiation levels, showcasing substantial potential for power generation and emphasizing the system's efficiency. Optimizing system design significantly boosted power generation, promoted renewable energy utilization, and enhanced energy storage capacity. The study underscored the benefits of optimizing hybrid solar PV panels and pumped hydro energy supply systems for sustainable energy usage. Optimizing the design of solar PV panels and pumped hydro energy supply systems as examined across diverse climatic conditions in a developing country, not only enhances power generation but also improves the integration of renewable energy sources and boosts energy storage capacities, particularly beneficial for less economically prosperous regions. Additionally, the study provides valuable insights for advancing energy research in economically viable areas. Recommendations included conducting site-specific assessments, utilizing advanced modeling tools, implementing regular maintenance protocols, and enhancing communication among system components.
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...Amil Baba Dawood bangali
Contact with Dawood Bhai Just call on +92322-6382012 and we'll help you. We'll solve all your problems within 12 to 24 hours and with 101% guarantee and with astrology systematic. If you want to take any personal or professional advice then also you can call us on +92322-6382012 , ONLINE LOVE PROBLEM & Other all types of Daily Life Problem's.Then CALL or WHATSAPP us on +92322-6382012 and Get all these problems solutions here by Amil Baba DAWOOD BANGALI
#vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore#blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #blackmagicforlove #blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #Amilbabainuk #amilbabainspain #amilbabaindubai #Amilbabainnorway #amilbabainkrachi #amilbabainlahore #amilbabaingujranwalan #amilbabainislamabad
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
2. Class Diagram
A class diagram in the Unified Modelling Language
(UML) is a type of static structure diagram that
describes the structure of a system by showing the
system's classes, their attributes, operations (or
methods), and the relationships among objects.
2
3. UML Representation of Class
Class Name
Attributes of Class
Operations/methods
of Class
3
5. visibility
Relates to the level of information hiding to be
enforced
Types of visibility:
1.Public(+)
2.Protected(#)
3.Private(-)
4.Package(~)
5
6. Class Relationships
A class may be involved in one or more relationships with
other classes.
1.Inheritance (or Generalization)
2.Association
3.Aggregation
4.Composition
5. Dependency
6
7. Inheritance (or Generalization)
Represents an "is-a"
relationship.
An abstract class name or
superclass
SubClass1 and SubClass2 are
specializations of Super Class.
A solid line with a hollow
arrowhead that point from the
child to the parent class
7
9. Simple Association
A structural link between
two peer classes.
There is an association
between Class1 and Class2
A solid line connecting two
classes
9
11. Aggregation
Class2 is part of Class1.
Many instances (denoted by the
*) of Class2 can be associated
with Class1.
Objects of Class1 and Class2
have separate lifetimes.
A solid line with a unfilled
diamond at the association end
connected to the class of
aggregation
11
13. Composition
A special type of aggregation where
parts are destroyed when the whole is
destroyed.
Objects of Class2 live and die with
Class1.
Class2 cannot stand by itself.
A solid line with a filled diamond at
the association connected to the class
of composite
13
15. Dependency
Exists between two classes if changes to the definition
of one may cause changes to the other (but not the
other way around).
Class1 depends on Class2
A dashed line with an open arrow
15
18. Multiplicity
How many objects of each class take part in the
relationships and multiplicity can be expressed as:
Exactly one - 1
Zero or one - 0..1
Many - 0..* or *
One or more - 1..*
Exact Number - e.g. 3..4 or 6
Or a complex relationship - e.g. 0..1, 3..4, 6.* would
mean any number of objects other than 2 or 5
18
20. Example of a Class Diagram
Video Rental System
methods
class name
Video
+rentMovie()
Customer
-CID: int
-name: String
+authenticateCustomer ()
relationship
rents
1..*1..*
multiplicityvisibility
attributes
-cassetteID : int
-cassetteVolumeNo: int
20
24. Example of UML Class Diagram
ATMs system is very simple as customers need
to press some buttons to receive cash.
However, there are multiple security layers
that any ATM system needs to pass. This helps
to prevent fraud and provide cash or need
details to banking customers.
24
26. Elaboration
The primary purpose of this phase is to complete the
most essential parts of the project that are high risk
and plan the construction phase.
26
27. Steps to take during this phase:
1.Complete project plan with construction iterations
planned with requirements for each iteration.
2. 80% of use cases are completed.
3. The project domain model is defined.
4. Rank use cases by priority and risk.
• 5. Begin design and development of the riskiest and
highest priority use cases.
• 6. Plan the iterations for the construction phase.
27
28. Requirements to be completed for
this phase include
Description of the software architecture.
A prototype that overcomes the greatest project
technical risk and has minimal high priority
functionality.
Complete project plan.
Development plan
28
31. 31
Domain Models
It illustrates noteworthy concepts in a domain.
The model influence operation contracts, glossary
and the design in the domain layer of the design
model.
Applying the UML class diagram notation for a
domain model yields a conceptual perspective.
32. 32
"A domain model is a representation of real-world conceptual
classes, not of software components.“
Domain modeling is a technique used to understand the project
problem description and to translate the requirements of that
project into software components of a solution.
The software components are commonly implemented in an
object oriented programming language.
A domain model contains conceptual classes, associations
between conceptual classes, and attributes of a conceptual class.
"Informally, a conceptual class is an idea, thing, or object".
35. What is a Domain Model
A domain model is a visual representation of
conceptual classes or real situation objects in a
domain.
Domain models are also called as conceptual
models, domain object models and analysis
object models.
35
36. Applying UML notation, a domain model is illustrated
with a set of class diagrams in which no
operations(method signatures) are defined.
It provides a conceptual perspective.
Domain objects or conceptual classes
Associations between conceptual classes
Attributes of conceptual classes
36
37. Domain model is a visual
Dictionary
Domain model visualizes and relates words or
concepts in the domain.
It shows an abstraction of the conceptual classes and
communicate with other classes.
The information is expressed in plain text (glossary).
37
38. It is easy to understand the terms and especially their
relationships in a visual language.
Therefore, the domain model is a visual dictionary of
the noteworthy abstractions, domain vocabulary and
information content of the domain.
38
39. Domain model is a picture of
software business objects
It is a visualization of things in a real situation domain
of interest.
It is not of software objects such as Java or C# classes or
software objects with responsibilities.
39
40. Two traditional meanings of
Domain Model
Domain model is a conceptual perspective of objects
in a real situation of the world.
It is a domain layer of software objects.
The layer of software objects below the presentation or
UI layer that is composed of domain objects.
40
41. Software objects that represent things in the problem
domain space with related business logic or domain
logic methods.
Domain layer is to indicate the second software
oriented meaning of domain model.
41
42. Conceptual classes
The domain model illustrates conceptual classes or
vocabulary in the domain.
It is an idea, thing or object.
It is considered in terms of its symbol, intension and
extension.
42
43. Symbol- words or images representing a conceptual
class.
Intension- The definition of a conceptual class.
Extension- The set to which the conceptual class
applies.
43
44. Example for event of a purchase
transaction
Symbol-sale
Intension- The event of a purchase transaction and has
a date and time.
Extension- The set of all sale instances.
44
46. 46
A Domain Model is not a
Software Artifact
Sale
Date
Time
Sales Database
Sale
Date
Time
Print()
A Conceptual class: Software Artifacts:
vs.
47. Domain models are the initial artifacts created in Object-Oriented-
Analysis.
An object has:
identity,
state, and
behaviour.
An object can be
related to other objects and
complex (with sub-objects).
A class is a description of a set of objects that share the same attributes,
operations/responsibilities, relationships and semantics.
Identifying objects in the problem domain is used to identify conceptual classes
in the problem domain. Conceptual classes model entities in the problem
domain, not in the software domain.
47
48. Making a domain model
Identify conceptual classes
Draw the class diagram
Add any associations between classes
Add attributes (properties) to the classes
Larman suggest that domain modeling should be similar to
map making.
use existing names (do not invent your own)
exclude irrelevant features (that is the basis of modeling)
do not add things that are not there.
48
49. Domain Modeling Practice
Use Case Name: create marking scheme
Actor: Instructor
Precondition: None
Flow of events: Basic Path
The instructor has selected create marking scheme.
The system prompts the instructor to enter the course name and the semester that
the course will be offered.
The instructor enters the information.
The system then prompts the instructor to add a work item name, its maximum
score, and its weight.
The instructor provides the information.
The system prompts the instructor to continue adding work items.
If the instructor agrees, step 4 is started again.
The instructor is then prompted for the late submission policy.
The instructor enters the policy.
The system saves the marking scheme and the use case ends.
49
50. Post condition: A marking scheme has been created for a course
in the specified semester
A list of possible nouns or none phrases are:
scheme, marking scheme, course, name, instructor, semester,
work item, value, weight, policy, submission policy, system
Which nouns are conceptual classes, which are attributes to the classes?
We can try using a conceptual class category list.
Some of the category list items are: physical objects, transactions, things in
a container, rules and policies, and records.
50
52. Domain model and data model
A domain model is not a data model.
The conceptual class has no attributes.
It is valid to have attributeless conceptual classes .
52
53. How to create a Domain Model
Find the conceptual classes.
Draw them as classes in a UML class diagram.
Add associations and attributes.
53
54.
55. 55
Association
It is used to satisfy the information requirements.
An association is a relationship between classes that
indicate some meaningful and interesting connection.
In the UML, associations are defined as “ the semantic
relationship between two or more classifiers that
involve connections among their instances.
57. 57
When to show an Association?
Associations for which knowledge of the relationship
needs to be preserved for some duration such as
milliseconds or years.
Associations derived from the Common Associations
List.
Need some memory of a relationship?
58. 58
Applying UML: Association
Notation
An association is represented as a line between
classes with a capitalized association name.
The ends of an association may contain
multiplicity that indicates the numerical
relationship between instances of the classes.
Associations are inherently bidirectional.
Optional reading direction arrow indicates the
direction to read the association name.
59. 59
UML Notation for Association
- “reading direction arrow”
- it has no meaning except to
indicate direction of reading the
association label
- often excluded
Register Sale
Records-current
1 1
multiplicityassociation name
60. 60
Guidelines: How to name an
Association in UML
Name an association based on a class name-verb phrase-
class name format.
Legal formats are:
Paid-by
PaidBy
Verb phrase creates a sequence that is readable and
meaningful.
Association name should start with a capital letter.
Classifier helps to link instances.
61. 61
Applying UML: Roles
Each end of an association is called a role.
Roles may have
multiplicity expression
name
navigability
62. 62
Multiplicity
Multiplicity defines how many instances of a class A
can be associated with one instance of class B.
Eg:A single instance of a store can be associated with
many (zero or more) indicated by * item instances.
73. Generalization and Specialization
Conceptual class hierarchies are the basis for software
class hierarchies that exploit inheritance
Association classes capture information about the
association
Time intervals capture the idea that some objects are
valid for a limited time
73
74. Generalization
CashPayment, CreditPayment, and CheckPayment are
similar
Identify commonality among concepts and define a
superclass
Separate and shared arrow notations in UML
74
75. When to make generalization hierarchies?
Cash
Payment
Credit
Payment
Check
Payment
Payment
superclass - more general
concept
subclass - more
specialized concept
these are conceptual
classes, not software
classes
76. Conceptual Super classes and
Subclasses
Conceptual super class is more general than subclass
All members of subclass must be members of the
super class
100% of super class definition shall apply to the
subclass
Subclass “is-a” super class
Woman “is-a” human
Man “is-a” human
Anything else that is a human?
All humans have a heart and a brain
76
77. When to Define a Subclass?
The subclass has additional attributes
The subclass has additional associations
The subclass is operated on differently from the
superclass or other subclasses
The subclass represents an animated thing that
behaves differently from the superclass
77
78. What about this hierarchy?
Male
Customer
Female
Customer
Customer Correct subclasses.
But useful?
Fig. 31.6
Guidelines for creating conceptual subclasses:
• Subclass has additional attributes or associations of interest
• Subclass behaves or is operated on, or handled or
manipulated differently than superclass or other subclasses
79. When to Define a Superclass?
Possible subclasses represent variations of a similar
concept
Subclasses will conform to the 100% and is-a rules
All subclasses have the same attribute that can be
factored out and put in the superclass
All subclasses have the same association that can be
related to the superclass
79
80. Abstract Conceptual Classes
If every member of a class C must also be a member of
a subclass, then C is called an abstract class
That is, if C is never used by itself, but only derived
classes are used, C is abstract
UML uses italics for abstract classes
80
Cash
Payment
Credit
Payment
Check
Payment
Payment
amount : Money
abstract class
indicated by italics
81. Association, Aggregation and
Composition
Association is a simple structural connection or
channel between classes and is a relationship where all
objects have their own lifecycle and there is no owner.
81
83. Aggregation
Aggregation is a specialize form of Association where all
object have their own lifecycle but there is a ownership like
parent and child.
Child object can not belong to another parent object at the
same time. ( "has-a" relationship).
Implementation details:
1. Typically we use pointer variables that point to an object
that lives outside the scope of the aggregate class
2. Can use reference values that point to an object that
lives outside the scope of the aggregate class
3. Not responsible for creating/destroying subclasses
83
85. Composition
Composition is again specialize form of Aggregation. It
is a strong type of Aggregation. Here the Parent and
Child objects have coincident lifetimes.
Child object does not have it's own lifecycle and if
parent object gets deleted, then all of it's child objects
will also be deleted.
Implementation details:
1. Typically we use normal member variables
2. Can use pointer values if the composition class
automatically handles allocation/de-allocation
3. Responsible for creation/destruction of subclasses
85
87. Packages
When the domain model gets too large, factor it into
packages of strongly related concepts
A UML package is shown as a tabbed folder, with
subordinate packages in it. For example, a domain
may have a Sales and Core elements package.
87
Store RegisterHas
1..*
package: Core Elements
1
88. Packages: Dependency
If a model’s elements are dependent upon another,
show the dependency with an arrowed line. For
example, Sales is dependent upon Core Elements.
88
92. 92
Some major elements of the package diagram are shown on the drawing below.
Web Shopping, Mobile Shopping, Phone Shopping, and Mail
Shopping packages merge Shopping Cart package. The same 4
packages use Payment package. Both Payment and Shopping Cart
packages import other packages.
93. Sequence Diagram
Sequence Diagrams are interaction diagrams that
detail how operations are carried out.
They illustrate how the different parts of a system
interact with each other to carry out a function, and
the order in which the interactions occur when a
particular use case is executed.
93
95. Lifeline Notation
A sequence diagram is made up of several of
these lifeline notations
No two lifeline notations should overlap each
other
They represent the different objects that
interact with each other in the system
A lifeline notation with an actor element
symbol is used when the sequence diagram is
owned by a use case
95
96. Activation Bars
Activation bar is the box placed
on the lifeline
It indicates that an object is
active (or instantiated) during
an interaction between two
objects
The length of the rectangle
indicates the duration of the
interaction
96
97. Message Arrows
An arrow from the Message Caller to the Message
Receiver specifies a message
The message can flow in any direction; from left to
right, right to left and back to the caller itself
The description of the message should go on the arrow
Arrow heads may change according to different
message types
97
99. A synchronous message is used
when the sender waits for the
receiver to process the message
and return before carrying on
with another message
An asynchronous message is
used when the message caller
does not wait for the receiver to
process the message and return
before sending other messages to
other objects within the system
99
Synchronous and Asynchronous message
101. Return and Reflexive message
A return message is used to indicate that the message
receiver is done processing the message and is
returning control over to the message caller.
When an object sends a message to itself, it is called a
reflexive message. It is indicated with a message
arrow that starts and ends at the same lifeline
101
103. Creation and destruction message
Participant creation message; objects can be created
in the middle of a sequence. The dropped participant
box notation is used when you need to show that the
particular participant did not exist until the create call
was sent.
Participant destruction message; participants,
when no longer needed, can also be deleted from a
sequence diagram. This is done by adding an ‘X’ at the
end of the lifeline of the said participant.
103
105. Comments
UML generally permits the annotation of comments in
all UML diagram types.
The comment object is a rectangle with a folded-over
corner as shown below. The comment can be linked to
the related object with a dashed line.
105
106. How to Draw a Sequence Diagram
A sequence diagram represents the scenario or flow of
events in one single use case. The message flow of the
sequence diagram is based on the narrative of the
particular use case.
Before you start drawing the sequence diagram or
decide what interactions should be included in it, you
need to ready a comprehensive description of the
particular use case.
106
108. From the use case diagram example of ‘Create New
Online Library Account’, we will focus on the use case
named ‘Create New User Account’ to draw our
sequence diagram.
Step 1:
Identify the objects or participants in the use case
‘Create New User Account’
Librarian
Online Library Management system
User credentials data base
Email system
108
109. Step 2:
List down the steps involved in the execution of the
use case
The librarian requires the system to create a new online
library account
The librarian selects the library user account type
The librarian enters the user’s details
The user’s details are checked using the user
Credentials Database
The new library user account is created
A summary of the new account’s details is emailed to
the user
109
110. Step 3:
Identify which messages should be passed between
the objects we identified earlier as the system
executes these steps. Then draw the sequence
diagram.
110