Notes pour chaque diagramme + mini tuto pour EA

Procédure réponse examen analyse

  1. Souligner les phrases et éléments importants (entités potentielles, fonctionalités, formulaires, informations, données, etc)
  2. Lister les questions auquel le diagramme pourra réponse (exemple Peut-on déterminer la section d'un·e étudiant·e afin de pouvoir lui afficher ses cours ?)
  3. Etablir la liste des éléments (entités, classes, dialog, controleurs, ou autres) et leur reponsabilités éventuelles (retenir XYZ)
  4. Etablir les relations entre les différents éléments (entités, classes)
  5. Etablir la liste des propriétés de chaque entité
  6. Tester le diagramme selon les questions, vérifier qu'il respecte les règles d'UML et les flèches/associations.
  7. Justifier toutes les décisions sur le diagramme ou sur le côté

MCD

Use Cases

Utilisation EA

  1. Model > Add a model using wizard > basic use case diagram
  2. Create element : Use Cases > Add element > toolset > usecase.
  3. Add arrows and lines : Select the element then drag the arrow button to the other element then release and select the type of relation.
  4. Switch between human actor and system actor : click on the element and click on the magnifying glass

Class

Utilisation EA

  1. Model > Add a model using wizard > starter class diagram
  2. Configure > Settings > Code Engineering Datatypes… > Java > New > String > New > Close
  3. Add new class : Starter Class Diagram > Add element > toolset > class
  4. Add arrows and lines : select the element then drag the arrow button to the other element then release and select the type of relation
  5. Add attributes or methods : Right click on class > Features & Properties > Attributes/Operations
  6. Change multiplicity : for each side of the association, right click and click on multiplicity.
  7. Create generic interface : Create a new interface, right click on it, select properties, go the templates tab and add a new one named "T". Then on the realization line, double click on it and write something like "T = String"

Séquence

Utilisation EA

  1. Model > Add a model usig wizard > starter sequence diagram
  2. Double click in void of the diagram > Features > Supress brackets for Operations without Parameters
  3. To add actor, boundary, control or entity : Right click on "starter sequence diagram" > Add Element… > Toolset > interaction, then drag it to the diagram as a link
  4. To add an interaction, select the origin, drag the arrow to the end point. Then double click on the arrow and complete message (add ~() ~ if you need to), parameters and return value. Eventually tick the "is Return" box to have dotted arrow.

Objet

Utilisation EA

  1. Model > Add a model using wizard > started objet diagram
  2. To add object : Right click on starter object diagram > Add Element… > Toolset > Object
  3. To link objects : select object, drag arrow to other object and choose "association"
  4. To add states : CTRL+MAJ+R on an object or right click on object > Features & Properties > Set Run State…

Revision #3
Created 17 January 2024 13:48:33 by SnowCode
Updated 17 January 2024 14:35:35 by SnowCode