Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaetan Carabetta
projet_nf17_p19_tdg1_groupe2
Commits
74353ea6
Commit
74353ea6
authored
Mar 21, 2019
by
Osvaldo Valdivia Salas
Browse files
Addition des contraintes
Update MLD
parent
2b9ba054
Changes
1
Hide whitespace changes
Inline
Side-by-side
MLD
View file @
74353ea6
...
...
@@ -48,7 +48,12 @@ Posologie(#idTraitement=>Traitement(idTraitement), #nomMolec=>Medicament(nomMole
debut: date, duree: int, nbJourna: int) avec {debut > 0, duree > 0, nbJourna > 0}
#### Contraintes
Projection(ClasseEspece, nomClasse) = Projection(Espece, nomClasse)
<nomClasse NOT NULL> AND Projection(ClasseEspece, nomClasse) = Projection(Espece, nomClasse)
<idTraitement NOT NULL> AND Projection (Traitement, nomAnimal, poids,taille) = Projection(Animal, nom,poids, taille)
Dans la classe Client: <(nom,prenom,DDN) NOT NULL> AND Projection(Client, nom,prenom,DDN)=Projection(Animal,clientNom,clientPrenom,ClientDDN)
<nomEspece NOT NULL> AND Projection(Espece,nomEspece)=Projection(Animal,nomEspece)
Projection(Médicament,nomMolec)=Projection(EspeceMédicament,nomMolec) AND Projection(Espece,nomEspece)=Projection(EspeceMédicament, nomEspece)
Projection(Médicament,nomMolec)=Projection(Posologie,nomMolec) AND Projection(Traitement,idTraitement)=Projection(Posologie,idTraitement)
#### Vues
vPersonne(Union(Projection(Client, nom, prenom, ddn, adresse, numero), Projection(Personnel, nom, prenom, ddn, adresse, numero)))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment