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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a note about thisAssignmentgetNotes()Returns notes about thisAssignmentbooleanisDirty()Returnstrueif thisAssignmenthas been modified.voidMarks thisAssignmentas being cleanvoidremoveNote(String note) Removes a note about this objectvoidsetDirty(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:NotableRemoves a note about this object- Specified by:
removeNotein interfaceNotable
-
setDirty
Sets the dirtiness of thisAssignment -
isDirty
Returnstrueif thisAssignmenthas been modified. -
makeClean
Marks thisAssignmentas being clean
-