Documente Academic
Documente Profesional
Documente Cultură
Le schma relationnel obtenu doit prciser clairement: le domaine de tous les attributs les cls primaires les cls trangres le caractre obligatoire ou non des attributs (NULL), le caractre unique (cl secondaire) ou non des attributs, description de toutes les contraintes statiques du diagramme de classes non prises en compte par le schma relationnel (par exemple en algbre relationnelle), les autres contraintes dintgrit
Implantation conseille
a1{identifiant} a2[0..1]
0..1
^ C
0..1
b1 {identifiant} b2
<C
0..1
B
b1 {identifiant} b2
Implantation conseille
<C
B
b1 {identifiant} b2
Implantation conseille AB(a1, a2, b1 vriyvthvr, b2 iyvthvr) Autres implantations A(a1, a2, @b1 vriyvthvr) B(b1, b2 iyvthvr) OU A(a1, a2) B(b1, b2 iyvthvr@a1 vriyvthvr)
0..1
<C
0..*
B
b1 {identifiant} b2
<C
0..*
B
b1 {identifiant} b2
Implantation conseille
<C
1..*
B
b1 {identifiant} b2
Implantation conseille
$[D1] %[D1]
0..1
<C
1..*
B
b1 {identifiant} b2
Implantation conseille
$[D1] %[D1]
0..*
<C
0..*
B
b1 {identifiant} b2
c1
Implantation conseille
1..*
<C
0..*
B
b1 {identifiant} b2
c1
Implantation conseille
1..*
<C
3..*
B
b1 {identifiant} b2
c1
Implantation conseille
$VVRFLDWLRQV 5pIOH[LYHV
0..1 role1
A
a1{identifiant} a2[0..1]
0..1 role2
Implantation conseille
A(a1, a2) C(@role1 ref A(a1) XQLTXH, @role2 ref A(a1) XQLTXH)
Autre implantation (rclamant des valeurs nulles)
$VVRFLDWLRQV 5pIOH[LYHV
0..1 role1
A
a1{identifiant} a2[0..1]
0..* role2
Implantation conseille
$VVRFLDWLRQV 5pIOH[LYHV
0..* role1
A
a1{identifiant} a2[0..1]
c1
0..* role2
Implantation conseille
/D JpQpUDOLVDWLRQ VLPSOH
$
a1{identifiant} a2[0..1]
B
b1[0..1] b2
C
c1[0..1] c2
Implantation conseille
A(a1, a2, type REOLJDWRLUH) type {B, C} C(@a1, c1, c2 REOLJDWRLUH) *pQpUDOLVDWLRQ [D1] (%[D1] &[D1]) $
Autre implantation (A sans association)
ABC(a1, a2, b1, b2, c1, c2) E 2 QXOO F 2 = QXOO F1 QXOO F 2 QXOO E1 QXOO E 2 QXOO