Class NotableImpl

java.lang.Object
edu.pdx.cs410J.grader.gradebook.NotableImpl
All Implemented Interfaces:
Notable
Direct Known Subclasses:
Assignment, Grade, Student

public abstract class NotableImpl extends Object implements Notable
The abstract superclass of several notable classes. It is the result of refactoring some code.
Since:
Summer 2007
Author:
David Whitlock
  • Constructor Details

  • Method Details

    • getNotes

      public List<String> getNotes()
      Returns notes about this Assignment
      Specified by:
      getNotes in interface Notable
    • addNote

      public void addNote(String note)
      Adds a note about this Assignment
      Specified by:
      addNote in interface Notable
    • removeNote

      public void removeNote(String note)
      Description copied from interface: Notable
      Removes a note about this object
      Specified by:
      removeNote in interface Notable
    • setDirty

      public void setDirty(boolean dirty)
      Sets the dirtiness of this Assignment
    • isDirty

      public boolean isDirty()
      Returns true if this Assignment has been modified.
    • makeClean

      public void makeClean()
      Marks this Assignment as being clean