001package edu.pdx.cs410J.grader.poa;
002
003import edu.pdx.cs410J.grader.gradebook.GradeBook;
004
005public class GradeBookLoaded {
006  private final GradeBook gradeBook;
007
008  public GradeBookLoaded(GradeBook book) {
009    this.gradeBook = book;
010  }
011
012  public GradeBook getGradeBook() {
013    return gradeBook;
014  }
015
016  @Override
017  public String toString() {
018    return "Loaded grade book \"" + gradeBook.getClassName() + "\"";
019  }
020}