<commit_before>/*
 * 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.
 */

import userprofile.model.*;
import moodprofile.model.*;
import foodprofile.model.*;

/**
 *
 * @author HannahGarthwaite
 */
public class ExternalDataCntl {
    UserList userList;
    FoodList foodList;
    MoodList moodList;
    
    
    /**
     * Default constructor for ExternalDataCntl
     */
    public ExternalDataCntl(){
        
    }
    
    /**
     * Reads the food list from the database
     * @return foodlist
     */
    public FoodList readFoodList(){
        return null;
    }
    
    /**
     * Reads the mood list form the database
     * @return moodlist
     */
    public MoodList readMoodList(){
        return null;
    }
    
    /**
     * Reads the user list from the database
     * @return userlist
     */
    public UserList readUserList(){
        return null;
    }
    
    /**
     * Writes the list of all foods consumed
     * @param foodList  the list of Food
     */
    public void writeFoodList(FoodList foodList){
        
    }
    
    /**
     * Adds a single food to the database
     * @param food the food to write to file
     */
    public void writeSingleFood(FoodProfileModel food){
        
    }
    
    /**
     * Writes the list of moods to the database
     * @param moodList the mood to write to file
     */
    public void writeMoodList(MoodList moodList){
        
    }
    
    /**
     * Writes a single mood to the database
     * @param mood the mood to write to file
     */
    public void writeSingleMood(MoodProfileModel mood){
        
    }
    <commit_msg>Renamed Food and Mood Classes<commit_after>/*
 * 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.
 */

import userprofile.model.*;
import moodprofile.model.*;
import foodprofile.model.*;

/**
 *
 * @author HannahGarthwaite
 */
public class ExternalDataCntl {
    UserList userList;
    FoodList foodList;
    MoodList moodList;
    
    
    /**
     * Default constructor for ExternalDataCntl
     */
    public ExternalDataCntl(){
        
    }
    
    /**
     * Reads the food list from the database
     * @return foodlist
     */
    public FoodList readFoodList(){
        return null;
    }
    
    /**
     * Reads the mood list form the database
     * @return moodlist
     */
    public MoodList readMoodList(){
        return null;
    }
    
    /**
     * Reads the user list from the database
     * @return userlist
     */
    public UserList readUserList(){
        return null;
    }
    
    /**
     * Writes the list of all foods consumed
     * @param foodList  the list of Food
     */
    public void writeFoodList(FoodList foodList){
        
    }
    
    /**
     * Adds a single food to the database
     * @param food the food to write to file
     */
    public void writeSingleFood(Food food){
        
    }
    
    /**
     * Writes the list of moods to the database
     * @param moodList the mood to write to file
     */
    public void writeMoodList(MoodList moodList){
        
    }
    
    /**
     * Writes a single mood to the database
     * @param mood the mood to write to file
     */
    public void writeSingleMood(Mood mood){
        
    }
    
{'fraction_non_alphanumeric': 0.07852193995381063, 'fraction_numerical': 0.0, 'mean_word_length': 1.899581589958159, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6115743', 'n_tokens_mistral': 1001, 'n_tokens_neox': 979, 'n_words': 338}