package caltool.model.schedule;

import mvp.Model;

public class Categories extends Model {

    /**
     * Add the given category to this.  No category of the same name can be in
     * the list already.  Category names are compared on a
     * character-by-character, case sensitive basis.
     */
    public void add(Category c) {
        System.out.println("In Categories.add.");
    }

    /**
     * Replace the given old Category with the given new Cateogry in this.
     */
    public void change(Category oldCat, Category newCat) {
        System.out.println("In Categories.delete.");
    }

    /**
     * Remove the given Category of the given new Cateogry from this.
     */
    public void delete(String name) {
        System.out.println("In Categories.delete.");
    }

    /**
     * Return the assigned color for the given category name.
     */
    static StandardColor getColor(String categoryName) {
        /*
         * Stubbed implementation.
         */
        return StandardColor.Blue;
    }

}