Inhaltsverzeichnis

PSWT 5 ECTS Prüfung 24.03.2023

Meta Information

Exam

Item 2

Imagine you are the architect of a web-based customer-service chat app. For the first iteration, a prototype is to be built that provides only the most basic feature. During its development, you need to communicate certain aspects of its architecture of UML diagrams.

a) Draw a UML use-case diagram representing an analysis model as specified by the following requirements 1 through 8.

b) Draw a UML class diagram based on the requirements 9 through 25. Model the Classes along with their attributes and attribute types. Provide multiplicities for the Associations between Classes and model them as Compositions where appropiate. Provide reasonable role names and navigability for Associations. Use Generatlization relationships to factor out commonalities where appropriate.

c) Draw a UML state machine diagram for the class Ticket in Item 2b). Model the behavior described below and annotate Transitions with triggers, guards and/or effects where applicable. Make use of FinalStates where appropriate.

  1. A ticket is created in state New.
  2. Once the description of a ticket is filled out, an employee may set the ticket Open
  3. The ticket my be re-assigned to another employee any number of times while in the state Open. The newly assigned employee is notified via email.
  4. Once the resolution of a ticket is filled out, an employee may set the ticket to Closed. The user is notified via email.
  5. Closed tickets cannot be set to another state.
  6. A ticket my be set as Obsolete at any time unless it is closed.
  7. Obsolete tickets cannot be set to another state.