This repository has been archived on 2023-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
GestionProjet/diagramme_uml.md

69 lines
1.3 KiB
Markdown
Raw Normal View History

2023-10-29 17:21:15 +01:00
<!-- https://mermaid.live -->
```mermaid
classDiagram
2023-10-29 18:53:51 +01:00
%% Classes
2023-10-29 17:21:15 +01:00
class Tache {
2023-10-29 18:53:51 +01:00
-static_counter_id
2023-10-29 17:21:15 +01:00
-nom
-duree_total
-etat
-dependances
+unique_id
+visite
+realise()
2023-10-29 18:53:51 +01:00
+depends_from(tache)
+ajouteDependance(tache)
2023-10-29 17:21:15 +01:00
+dureeParal()
2023-10-29 18:53:51 +01:00
+PP_postfixe(liste_tache)
2023-10-29 17:21:15 +01:00
}
class Projet {
#tache_fin
#tache_debut
#taches
-cleanMarks()*
#pick_two_random_tasks()
2023-10-29 18:53:51 +01:00
#contains(id ou name)
2023-10-29 17:21:15 +01:00
#topologicalSort()
+consult_tasks()
}
class ProtoProjet {
-cleanMarks()
2023-10-29 18:53:51 +01:00
+ajoute(nom, duree)
+ajoute(nom, duree, id)
+ajoute(nom, duree, id1, id2)
2023-10-29 17:21:15 +01:00
}
class RunProjet {
2023-10-29 18:53:51 +01:00
+run(id ou liste_tache)
2023-10-29 17:21:15 +01:00
}
class Gestionnaire {
2023-10-29 19:09:26 +01:00
-salaire
2023-10-29 18:53:51 +01:00
+payer(argent)
+avis(RunProjet)*
2023-10-29 17:21:15 +01:00
}
class Consultant {
2023-10-29 18:53:51 +01:00
+avis(RunProjet)
2023-10-29 17:21:15 +01:00
}
class Expert {
2023-10-29 18:53:51 +01:00
+avis(RunProjet)
2023-10-29 17:21:15 +01:00
}
2023-10-29 17:26:34 +01:00
2023-10-29 18:53:51 +01:00
%% Héritage
2023-10-29 17:26:34 +01:00
Projet <|-- ProtoProjet
ProtoProjet <|-- RunProjet
Gestionnaire <|-- Consultant
Gestionnaire <|-- Expert
2023-10-29 18:53:51 +01:00
%% Friends (Dependency)
2023-10-29 19:09:26 +01:00
%% pour : consult_tasks()
Projet ..> Consultant
Projet ..> Expert
2023-10-29 18:53:51 +01:00
%% Composition
Tache --* Projet
2023-10-29 17:21:15 +01:00
```