Functional Modeling Lecture 5-2024
Functional Modeling Lecture 5-2024
Class TeamDivision
Write this down!
ChessBoard Square
inheritance
inheritance
overriding the
superclass’s
behaviour 5
Mock Exam- Customer Loyalty
Class Diagram
Association between
service &
client is missing <<enum>>
Show object instances that play the roles defined in a
collaboration
show the order of the interaction visually by using the
vertical axis of the diagram to represent the time what
messages are sent and when.
show elements as they interact over time, showing
interactions or interaction instances
Sequence diagram: Components
Sequence diagram: Components
Combined Fragments
Common operators
Sequence diagram: example
A class applied in a computer program is usually called an object.
A behaviour applied in a program is usually called an method
actor
object
[Value>15,00$]
[else]
Sequence Diagram: Example
Restaurant (place order)
transition
TurnOn()
Operational Maintenance
Off()
final state
State Diagram: syntax
Defect
event
FaultReport()
TurnOn()
Operational Maintenance
Repair()
Off()
Events become new methods!
Sorting()
How does the machine reach
self- the ‘failure’ state?
transition
State Diagram: syntax
Defect
guard(s)
FaultReport()
[part use=too high
TurnOn() Or part= break]
Operational Maintenance
Repair()
Off()
[guard] is a condition for a
Sorting() transition
/NoofUseIncreased()
/action is a result of a transition
/action
/action also becomes a
State diagram: syntax
Lets Practice UML syntax
1)relationship between usecases
Mandatory
secondary
d e>>
n c lu usecase
<<I
Primary
Usecase <<e
x ten
d>>
Optional
secondary
usecase
2)relationship between actor and
usecases
usecase
3) Aggregation (Class Diagram)
26