/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package userprofile.model;

import foodprofile.model.FoodList;
import moodprofile.model.MoodList;

/**
 *
 * @author Michael Kramer
 */
public class User {
    private String username;
    private char[] password;
    private FoodList usersFoodList = new FoodList();
    private MoodList usersMoodList = new MoodList();

    /**
     * This constructor takes no arguments, and creates a User object with 
     * default values.
     */
    public User() {
        this.username = "No Username Provided";
    }

    /**
     * This constructor takes a String and Char[] to creates a User object
     * @param username The username of the User
     * @param password The password of the User
     */
    public User(String username, char[] password) {
        this.username = username;
        this.password = password;
    }
    
    /**
     * Compares the provided username and password to the User's
     * @param username The Username to authenticate
     * @param password The Password to authenticate
     * @return The boolean result from authenticate, true is authenticated.
     */
    public boolean authenticate(String username, String password) {
        System.err.println("This is a stub.");
        //TODO: Implement the authenticate method
        return true;
    }

    /**
     * Gets the Username of the User object
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * Sets the Username of the User object
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * Gets the Password of the User Object
     * @return the password
     */
    public char[] getPassword() {
        return password;
    }

    /**
     * Sets the Password of the User object
     * @param password the password to set
     */
    public void setPassword(char[] password) {
        this.password = password;
    }
       
}

@@ -516,16 +516,69 @@
 List();%0D
+%0A    private NotificationList usersNotificationList;%0D
 %0A%0D%0A    /
@@ -2280,24 +2280,852 @@
 rd;%0D%0A    %7D%0D%0A
+    %0D%0A    /**%0D%0A    *Sets the notificationList for the User%0D%0A    *@param notificationList%0D%0A    */%0D%0A    public void setNotificationList(NotificationList notifications)%7B%0D%0A    %7D%0D%0A    %0D%0A    /**%0D%0A    *Gets notificationList for the User%0D%0A    *@return NotificationList%0D%0A    */%0D%0A    public NotificationList getNotificationList()%7B%0D%0A        return userNotificationList;%0D%0A    %7D%0D%0A    %0D%0A    /**%0D%0A    *Adds a notification to the notificationList%0D%0A    *@param notification%0D%0A    */%0D%0A    public void addNotification(Notification notification)%7B%0D%0A    %7D%0D%0A    %0D%0A    /**%0D%0A    *Deletes notification%0D%0A    *@param notificationID%0D%0A    */%0D%0A    public void deleteNotificaiton(int notificationID)%7B%0D%0A    %7D%0D%0A    %0D%0A    /**%0D%0A    *Marks notification as read%0D%0A    *@param notificationID%0D%0A    */%0D%0A    public void markNotificationAsRead(int notificationID)%7B%0D%0A    %7D%0D%0A
        %0D%0A%7D%0D%0A

Update User.java