









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Generic format for documenting the use case:^ ^
Pre condition:
If any
^
Use case
:^
Name of the case.
^
Actors
:^
List of actors(external agents), indicating whoinitiates the use case.
^
Purpose
:^
Intention of the use case.
^
Overview
:^
Description.
^
Type
:^
primary / secondary.
^
Post condition:
If any
Typical Course of Events: ACTOR ACTION
:^
Numbered actions of the actor.
SYSTEM RESPONSE
:^
Numbered description of system responses.
What
is
Class
diagram?
A
class
diagram
shows
the
existence
of
classes
and
their
relationships
in
the
logical
view
of
a
system
UML
modeling
elements
in
class
diagrams
are:
Classes
,^ their
structure
and
behavior.
relationships
components
among
the
classes
association
aggregation
composition
Dependency
Inheritance
Multiplicity
or
cardinality
^
University
Department
Faculty
College
Student
Composition
Aggregation
^
Registrar
void
addCourse(CourseSchedule
a,
Course
c)
void
removeCourse(CourseSchedule
Course
findCourse(String
title)
void
enroll(Course
c,
Student
s)
void
drop(Course
c,
Student
s
CourseSchedule
Course Student
What
is
Cardinality?
:
Definition:
Number
of
instances
of
each
class
involved
in
the
dialogue
is^
specified
by
cardinality.
Common
multiplicity
values:
Symbol
Meaning
1
One
and
only
one
0..
Zero
or
one
M…N
From
M
to
N
(natural
integer)
0..*
From
zero
to
any
positive
integer
1..*
From
one
to
any
positive
integer
SavingAccount
<
ATMScreen
CashierStationBankAssociates
person <
Cash BatchJob
NoteHelpForBankCard
ATMSystemBankComputer
Area
BankCard
Bank[Branch]
11 1..1..
Customer
11 0..10..
11
<
1
1
1
1
(^11) 1..1..
Transaction
1
1..*
1
1..*Slips
CurrentAccount
Association:^ ^
relationship
between
objects
that
is
not
whole
‐part
i.e.
contains
a^
reference
of
and
uses
through
the
reference
^
Generally
implemented
as
a^
public
property
of
where
may
be
set
in
to
by
an
external
party.
^
Dependency:^ ^
week
association,
where
doesn’t
contain
a^
reference
of
but
uses
^
Generally
implemented
as
method
parameter
in
^
Composition:^ ^
strong
whole
‐part
relationship,
i.e.
(child)
has
no
existence
outside
(parent)
^
creates
and
contains
but
can
not
contain
must
not
be
visible
outside
of
since
if^
dies,
must
die
^
Aggregation:^ ^
week
whole
‐part
relationship,
i.e.
(child)
may
exist
exist
outside
(parent)
^
contains
but
can
not
contain
^
must
be
visible
outside
of
since
may
still
exist
when
dies
Generally
many
relationship