package edu.umn.csci5801.model;

import java.util.List;

/**
 * Created by Justin on 12/2/2014.
 */
public class ProgressSummary {

    private Student student;
    private Department department;
    private Degree degree;
    private Term termBegan;
    private List<Professor> advisors;
    private List<Professor> committee;
    private List<GradReqCheck> reqCheckResult;
    private List<String> notes;
    private List<CourseTaken> coursesTaken;

    //Default Constructor
    public ProgressSummary() {}
    //Constructor
    public ProgressSummary(Student s, Department dep, Degree deg, Term tb,
                           List<Professor> a, List<Professor> c, List<String> n, List<CourseTaken> ct) {
        student = s;
        department = dep;
        degree = deg;
        termBegan = tb;
        advisors = a;
        committee = c;
        notes = n;
        coursesTaken = ct;
    }

    public void checkGradStatus() {
        GradRequirements gradRequirements = new GradRequirements(degree, reqCheckResult);
        reqCheckResult = gradRequirements.getReqChecks();
    }
}

@@ -958,17 +958,82 @@
 dStatus(
-)
+List%3CCompletedMilestone%3E completedMilestonesList) throws Exception
  %7B%0D%0A    
@@ -1103,23 +1103,85 @@
 gree
-, reqCheckResul
+);%0D%0A        gradRequirements.testReqList(coursesTaken, completedMilestonesLis
 t);%0D

Revert ProgressSummary