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;

    //Constructor
    public void ProgressSummary(Student cStudent, Department cDepartment, Degree cDegree, Term cTermBegan,
                                List<Professor> cAdvisors, List<Professor> cCommittee, List<String> cNotes) {
        student = cStudent;
        department = cDepartment;
        degree = cDegree;
        termBegan = cTermBegan;
        advisors = cAdvisors;
        committee = cCommittee;
        notes = cNotes;
    }

    public void checkGradStatus() {
        List<Requirement> requirements;
        GradReqCheck gradReqCheck = new GradReqCheck();
        requirements = gradReqCheck.createReqList(degree);
        gradReqCheck.testReqList();
        reqCheckResult = gradReqCheck.getReqChecks()
    }
}

@@ -478,24 +478,17 @@
 Student 
-cStudent
+s
 , Depart
@@ -496,52 +496,32 @@
 ent 
-cDepartment, Degree cDegree, Term cTermBegan
+dep, Degree deg, Term tb
 ,%0D%0A 
@@ -567,25 +567,17 @@
 fessor%3E 
-cAdvisors
+a
 , List%3CP
@@ -587,25 +587,16 @@
 essor%3E c
-Committee
 , List%3CS
@@ -602,22 +602,17 @@
 String%3E 
-cNotes
+n
 ) %7B%0D%0A   
@@ -630,16 +630,9 @@
 t = 
-cStudent
+s
 ;%0D%0A 
@@ -655,19 +655,11 @@
 t = 
-cDepartment
+dep
 ;%0D%0A 
@@ -678,15 +678,11 @@
 e = 
-cDegree
+deg
 ;%0D%0A 
@@ -704,18 +704,10 @@
 n = 
-cTermBegan
+tb
 ;%0D%0A 
@@ -728,17 +728,9 @@
 s = 
-cAdvisors
+a
 ;%0D%0A 
@@ -753,17 +753,8 @@
  = c
-Committee
 ;%0D%0A 
@@ -772,14 +772,9 @@
 s = 
-cNotes
+n
 ;%0D%0A 

Simplify ProgressSummary constructor