100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Information Technology IT (PHASE 3) - Practical Assessment Task (PAT) Grade 12 IEB R300,00
Add to cart

Presentation

Information Technology IT (PHASE 3) - Practical Assessment Task (PAT) Grade 12 IEB

 12 views  0 purchase

The Mental Wellbeing Manager, developed in 2023, is a Java application designed for monitoring and improving mental health. Achieving a score of 98% in the Information Technology coursework, it represents a significant portion of the final academic grade. Features include user authentication, mood ...

[Show more]

Preview 3 out of 207  pages

  • October 19, 2023
  • 207
  • 2023/2024
  • Presentation
  • Unknown
All documents for this subject (5)
avatar-seller
theoapteker
MWM HEALTH PROGRAM




MWM HEALTH PROGRAM




Information Technology
Practical Assessment Task

Phase 3 – Coding




1

, MWM HEALTH PROGRAM

Table of Contents
Purpose of Document 3
Source Code 3
DBManager.java 3
Exercise.java 22
ExerciseType.java 27
MentalWellbeingManager.java 29
MoodAssessment.java 30
Resource.java 35
User.java 40
ChartDash.java 45
DashboardScreen.java 50
HelpScreen.java 78
LoginScreen.java 89
MoodAssessmentScreen.java 99
NewExerciseScreen.java 149
ResourceScreen.java 166
SignupScreen.java 192
UserSession.java 206




2

, MWM HEALTH PROGRAM


Purpose of Document
This document contains all the code for the Mental Wellbeing Manager. Code is inserted as an object for text purposes.

Source Code

DBManager.java

package mentalwellbeingmanager;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.time.LocalDate;
import java.util.Date;
import java.util.ArrayList;
import java.util.List;
import java.sql.SQLException;
import java.util.HashSet;

import java.util.Set;

/**
* The DBManager class provides a set of methods that facilitate interactions
* with the underlying database. It is responsible for establishing a connection
* to the database, and it includes methods for querying user information and
* checking the existence of an email in the database.
*
* @author theoapteker
*/
public class DBManager {

private static Connection conn = null;

/**


3

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller theoapteker. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for R300,00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

52928 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 14 years now

Start selling
R300,00
  • (0)
Add to cart
Added