Package edu.pdx.cs410J.grader.gradebook
Class NotableImpl
java.lang.Object
edu.pdx.cs410J.grader.gradebook.NotableImpl
- All Implemented Interfaces:
Notable
- Direct Known Subclasses:
Assignment
,Grade
,Student
The abstract superclass of several
notable
classes. It
is the result of refactoring some code.- Since:
- Summer 2007
- Author:
- David Whitlock
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a note about thisAssignment
getNotes()
Returns notes about thisAssignment
boolean
isDirty()
Returnstrue
if thisAssignment
has been modified.void
Marks thisAssignment
as being cleanvoid
removeNote
(String note) Removes a note about this objectvoid
setDirty
(boolean dirty) Sets the dirtiness of thisAssignment
-
Constructor Details
-
NotableImpl
public NotableImpl()
-
-
Method Details
-
getNotes
Returns notes about thisAssignment
-
addNote
Adds a note about thisAssignment
-
removeNote
Description copied from interface:Notable
Removes a note about this object- Specified by:
removeNote
in interfaceNotable
-
setDirty
Sets the dirtiness of thisAssignment
-
isDirty
Returnstrue
if thisAssignment
has been modified. -
makeClean
Marks thisAssignment
as being clean
-