Upload
uafzalessays
View
214
Download
0
Embed Size (px)
Citation preview
7/29/2019 Requirements Engineering - Software Design Diagrams
1/3
Iknowthatthen
otationforEntityTypesinvolves
ablacktriangleonthebottomrightoftheentity
type,howeverI
wasunabletodothiswiththe
softwareIused.
Pleaseexcuseme.
Note:Someofthediagramsoverthenext
pages,areacco
mpaniedbyasetofnotes
containingassumptionsandexplanations.
SSN
F_name
L_name
Salary
SUPPLIER
S_no
Parts
Location
POST_
OFFICE
Office_no
Manages
Holds
1,1
1,1
1,N
Supplies_stationary
1,5
Employs
STATIONARY
S
tationary_no
N
ame
Q
ty
0,N
5,1
Stocked_
by
Managed_
by
1,1
Works_
for
LETTER
L_no
Sender_name
Date_of_postage
Recipient_name
Recepient_address
Employee_name
DeliveryTime
ExpressLetter
Re
gistration_no
Ins
uranceValue
RegisteredLetter
CASUAL
CUSTOMER
Registration_no
Credit_rating
REGULAR_
CUSTOMER
N
ame
A
ddress
CUSTOMER
Account
Customer_nam
e
Item_posted_desc
Amount_charged
Credit_
limit
CREDIT_
LIMITED
B
alance
CREDIT_
UNLIMITED
Sorted_
by
Delivered_
to
Recieves
Sorts
1,N
N,1
N,1
1,N
1,1
1,1
Held_
by
EMPLOYEE
MANA
GER
Manager_I
D
Start_
Date
Salary
Stocks
orders
Sends
Sent_b
y
1,N
N,1
Handles
Handled_
by
VAN
1,N
N,1
delivers
1,N
Question1/PostOffice
System
:DataModel
7/29/2019 Requirements Engineering - Software Design Diagrams
2/3
TIME
Effective
Time
Transaction
Time
Decision
TimeAbsolute
Time
Relative
Time
Chronon Interval
Start Time
End Time
Range
Value
Periodic
Time
Fixed
PeriodicTime
Unit
FACT_TYPE
Time Element
RULE
Related_toRelated_to
1,N
1,N1,N
1,N
1,1
1,1
1,N
1,1
1,1
1,1
1,1
1,N
1,N
1,1
1,N
1,N
1,1
1,N
N,11,1
1,N
1,N
1,NN,1
1,1 0,1
0,1
0,N
0,N
0,1
0,N
1,1 1,1
Consists_of
Makes_up
Consists_of
Consists_of
Is_part_of
Is_part_of
1,N
Has_a
Consists_of
Has_a
Related_to
Make_up
Consists_of
Related_to
Has_a
Makes_up
is
Can_be
Can_be
Can_be
Consists_of Consists_of
Can_beCan_beCan_be
Is_part_of
Is_part_of
Could_be
Could_be
Could_consist_of
Can_be
Can_be
Could_beCould_beQ
uestion2b
/Ametamodel
oftime
7/29/2019 Requirements Engineering - Software Design Diagrams
3/3
IknowthatthenotationforEntityTypes
involvesablacktriangleonthebottomright
oftheentitytype,ho
weverIwasunableto
dothiswiththesoftw
areIused.Please
excuseme.
T=TimeIrepresen
tedTIMEasDr.Ilias
didinthelectures
ASSUMPTIONS
Employeespartakeinrecreationalactivity,
sinceaMANAGERisatypeofemployee,
byimplication,aMA
NAGERcanalso
partakeinrecreation
alactivities.
SalaryE
MPLOYEE
Supervised_by
Partakes_
in
T T2
Works_
for
1,N
1,1
1,1
1,N
has
1,N
employs
PERSON
Name
Street
City
Post_code
Contact_number
Date_of_birth
Credit_rating
CUSTOMER
MANAGER
Furniture_
fund
Manager_id
Start_
date
DE
PARTMENT
D_nu
mber
D_na
me
D_location
COMPANY
Name
Reg_no
FURNITURE
SECRATARY
RECREA
TION
0
Orders
Ordered_
by
Hires
Supervises
T
T
T
1,1
1,1
1,1
1,N
1,1
Hired_
by
1,N
Question
2c/DataModel:
descriptio
naboutaguy
calledJohn