Docsity

Notes sur la conception orientée objets, Notes de Applications des sciences informatiques

Aperçu partiel du texte

Télécharge Notes sur la conception orientée objets et plus Notes au format PDF de Applications des sciences informatiques sur Docsity uniquement!

Conception Orientée Objets Révisions UML et OCL

Clémentine Nemo

Clémentine Nemo – septembre 2010

L3 – INFO / MIAGE

Cours 9

Sujet de l’année dernière : 2009 - 2010 Clémentine Nemo

Exercice UML (11 pts) Clémentine Nemo

Exercice UML (11 pts) Clémentine Nemo

Exercice UML (11 pts)

On considère que toutes les prescriptions d’une

ordonnance peuvent se traiter en un seul prélèvement.

Idem pour l’ensembles des ordonnances d’un même

rendez-vous, si il y en a plusieurs

Clémentine Nemo

Le cours n°2 signale la différence entre l’agrégation (diamant blanc) etla composition (diamant noir), jetez-y un œil si besoin…

Exercice UML (11 pts)

Clémentine Nemo

Exercice UML (11 pts) Clémentine Nemo

Exercice UML (11 pts) Une ébauche… Clémentine Nemo

Exercice OCL (9 pts) Clémentine Nemo

Exercice OCL (9 pts)

context v:Vechicule invdateDebutAssurance < v.adherent.dateAdhesion

context

a:Adherent

inv

Clémentine Nemo

context

a:Adherent

inv

(a.Vehicules -> collect(conducteurs))->exists(a)