Viewer: 3/Main/UML

From CaseTalk Wiki
< Viewer:3/Main
Revision as of 13:32, 28 August 2018 by Marcow (talk | contribs) (Created page with "== UML == File:Viewer-UML.png The UML panel shows the UML Classes, properties and their relations. Some remarks are in place to explain the diagram: * Person, Preferenc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

UML

Viewer-UML.png

The UML panel shows the UML Classes, properties and their relations. Some remarks are in place to explain the diagram:

  • Person, Preferences, Student, Teacher and Project are classes.
  • Person has two attributes FirstName and Surname.
  • Student is a subclass of Person, drawn as an pointing triangle.
  • Preferences is dependent on two other class for its existence, hence the lines pointing towards the other required classes with an arrow.
  • Teacher also shows a method Check_2 which shows the Teacher instance should check if the properties for Student and Project exist.
  • Additionally the numbers indicate cardinality. For instance: a Teacher is mentor for 1 or more Students, and every Student requires 1 Teacher as mentor.