Skip to content

CRC Cards

bostonecb edited this page Oct 15, 2024 · 35 revisions

USER

Responsibility Collaborators
Manages user details like name, email, phone, device_id, as well as type of user i.e. role(s)... Class named 'Role' which the classes 'Entrant', 'Organizer', & 'Admin' each extend & that have their own unique methods / functionalities
Generates and manage user profiles (profile updatable details such as automatically generated / uploaded profile pictures / editable user fields such as name, email...) ProfilePic
When a User is instantiated, they have an attribute called
roles which is an ArrayList - this is a list of the different roles User can take on / access methods from
(at least one role, i.e. they can be just an Entrant, or have access to Entrant & Organizer role, etc...
Entrant, Organizer, Admin

Back Side (Details)

Attributes Methods Design Notes
- attribute1: type - method1(param): type - Design decision or note 1
- attribute2: type - method2(param): type - Design decision or note 2

ENTRANT

Responsibility Collaborators
Join and leave events Event
Manages notifications related to event participation Notification
Scans QR codes for event participation QRCode

ORGANIZER

Responsibility Collaborators
Creates and manages events Event
Generates QR codes for events QRCode
Manages the profile of facilities Facility

ADMIN

Responsibility Collaborators
Manages admin-specific tasks Organizer

EVENT

Responsibility Collaborators
Manages event details like facility, date, registration deadline, etc. Facility
Tracks entrants and manages their participation Entrant
Assigns a poster to the event Poster

EVENTLIST

Responsibility Collaborators
Maintains lists of event participants like waiting list, selected list final list etc. Entrant
Manages event lists for users User

FACILITY

Responsibility Collaborators
Maintains facility details such as location, name, pictures Event

NOTIFICATION

Responsibility Collaborators
Sends and receives event-related notifications Entrant

ACCEPTEDNOTIF

Responsibility Collaborators
Notifies the users about event participation acceptance Notification

NOTACCEPTEDNOTIF

Responsibility Collaborators
Notifies the users about event participation rejection Notification

ACCEPTEDRESPONSENOTIF

Responsibility Collaborators
Handles acceptance or rejection responses Notification

POSTER

Responsibility Collaborators
Represents promotional poster for events Event

PROFILEPIC

Responsibility Collaborators
Manages user's profile picture User

FACILITYPIC

Responsibility Collaborators
Manages pictures of the facility Facility

IMAGE

Responsibility Collaborators
Manages pictures for user's profile, posters and facilities ProfilePic, Poster, FacilityPic

QRCODE

Responsibility Collaborators
Generates a QR code for an event Organizer
Links specific event details with a unique code Entrant

Clone this wiki locally