edu.pdx.cs399J.grader
Class NotableImpl

java.lang.Object
  extended by edu.pdx.cs399J.grader.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 Summary
NotableImpl()
           
 
Method Summary
 void addNote(String note)
          Adds a note about this Assignment
 List<String> getNotes()
          Returns notes about this Assignment
 boolean isDirty()
          Returns true if this Assignment has been modified.
 void makeClean()
          Marks this Assignment as being clean
 void removeNote(String note)
          Removes a note about this object
 void setDirty(boolean dirty)
          Sets the dirtiness of this Assignment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotableImpl

public NotableImpl()
Method Detail

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



Copyright © 2000-2009 Portland State University. All Rights Reserved.