package edu.umn.csci5801.model;

import java.util.List;

/**
 * Created by Justin on 12/2/2014.
 */
public class GradReqCheck {
    private String reqName;
    private boolean result;
    private Requirement details;

    public GradReqCheck() {}
    public GradReqCheck(String n) {
        reqName = n;
    }

    public void setReqName(String n) { reqName = n; }
    public void setResult(boolean ic) { result = ic; }
    public void setDetails(Requirement r) { details = r; }

    public String getReqName() { return reqName; }
    public boolean getResult() { return result; }
    public Requirement getDetails() { return details; }

    public void testReq(Requirement requirement, List<CourseTaken> courseTakenList, List<CompletedMilestone> completedMilestoneList) {
        //DETERMINE WHETHER REQUIREMENT PASSED IN IS MET IN COURSETAKENLIST AND COMPLETEDMILESTONES
        //TODO: Logic for checking any given requirement
        switch (requirement.getName()) {
            //TODO: Fill in all the different case statements (one for each possible requirement name
            case "BREADTH_REQUIREMENT_MS":
        }
    }
}

@@ -141,22 +141,20 @@
 private 
-String
+Reqs
  reqName
@@ -275,22 +275,20 @@
 eqCheck(
-String
+Reqs
  n) %7B%0D%0A 
@@ -344,22 +344,20 @@
 ReqName(
-String
+Reqs
  n) %7B re
@@ -503,14 +503,12 @@
 lic 
-String
+Reqs
  get
@@ -1105,17 +1105,16 @@
    case 
-%22
 BREADTH_
@@ -1131,9 +1131,8 @@
 T_MS
-%22
 :%0D%0A 

Update Requirements.name to Reqs enum