![]() 24
Alternate
key
Candidate
key
y
ang
tidak
dip ilih
menjad i
primary
key
akan
menjad i alternate key (Connolly and Begg, 2010, p 381).
Composite
key
M
erup akan candidate key y ang
terdiri d ari du a atau
leb ih
atribut (Connolly and Begg, 2010, p 382).
2.1.8.4 Structural Constraint
2.1.8.4.1
Multiplicity
M
erup akan
jumlah
occurrence
(kejad ian)
y
ang
mun gk in
terjadi p ada sebu ah
tip e entity
y
ang
b
erhubun gan k e
occurence
dari
tip e
entity
lain
p
ada
suatu
relationship
(Connolly and Begg, 2010, p 385). Terdap at tiga jen is tip e
multiplicity, y aitu:
One
to One
(1:1) Rela
tionships
One
to Many
(1:*)
Relationships
Many
to Many
(*:*)
Relationships
2.1.8.4.2
Cardinality and Participation Constrain ts
Multiplicity seben arny a terdiri dari dua contraints, y aitu:
1. Cardinality,
men jelaskan
ju mlah
maksimu m
kemun gkinan
rela tionship
occurances
untuk
entity
y
ang
berp artisip asi dalam suatu
relationship
(Connolly and Begg, 2010, p 390).
|