Package edu.pdx.cs410J.grader.gradebook
Class Assignment
java.lang.Object
edu.pdx.cs410J.grader.gradebook.NotableImpl
edu.pdx.cs410J.grader.gradebook.Assignment
- All Implemented Interfaces:
Notable
This class represents an assignment give to students in CS410J.
- Author:
- David Whitlock
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Constructor Summary
ConstructorDescriptionAssignment
(String name, double points) Creates a newAssignment
with the given name and point value. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns a description of thisAssignment
getName()
Returns the name of thisAssignment
double
Returns the number of points thisAssignment
is worthgetType()
Returns the type of thisAssignment
boolean
isSubmissionLate
(LocalDateTime submissionTime) static void
Main program that creates/edits anAssignment
in a grade book stored in an XML file.setCanvasId
(int canvasId) setDescription
(String description) Sets the description of thisAssignment
void
setDueDate
(LocalDateTime dueDate) setPoints
(double points) Sets the number of points that thisAssignment
is worth.setProjectType
(Assignment.ProjectType projectType) Sets the type of thisAssignment
toString()
Returns a brief textual description of thisAssignment
Methods inherited from class edu.pdx.cs410J.grader.gradebook.NotableImpl
addNote, getNotes, isDirty, makeClean, removeNote, setDirty
-
Constructor Details
-
Assignment
Creates a newAssignment
with the given name and point value.
-
-
Method Details
-
getName
Returns the name of thisAssignment
-
getPoints
Returns the number of points thisAssignment
is worth -
setPoints
Sets the number of points that thisAssignment
is worth. -
getDescription
Returns a description of thisAssignment
-
setDescription
Sets the description of thisAssignment
-
getType
Returns the type of thisAssignment
-
setType
Sets the type of thisAssignment
-
setCanvasId
-
getCanvasId
-
toString
Returns a brief textual description of thisAssignment
-
main
Main program that creates/edits anAssignment
in a grade book stored in an XML file. -
setDueDate
-
getDueDate
-
isSubmissionLate
-
setProjectType
-
getProjectType
-