001package edu.pdx.cs410J.grader.poa;
002
003import edu.pdx.cs410J.grader.gradebook.Assignment;
004
005public class AssignmentSelectedEvent {
006  private final Assignment assignment;
007
008  public AssignmentSelectedEvent(Assignment assignment) {
009    this.assignment = assignment;
010  }
011
012  public Assignment getAssignment() {
013    return assignment;
014  }
015
016  @Override
017  public String toString() {
018    return "Selected assignment " + assignment.getName();
019  }
020}