public abstract class Assignment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) Category |
category
the category to which this item belongs
|
(package private) int |
curvedPoints
the curved number of points this item is worth
|
(package private) DateTime |
dueDate
the date and time at which this item is due
|
(package private) java.lang.String |
name
the name of this particular item
|
(package private) int |
rawPoints
the number of points this item is worth
|
Constructor and Description |
---|
Assignment() |
Modifier and Type | Method and Description |
---|---|
abstract void |
adjustPointValue(int newValue)
Adjusts an item's point value.
|
abstract void |
assign()
Assigns this item to the courses it is associated with.
|
abstract double |
calculateMean()
Calculates the mean score of an item.
|
abstract void |
curve(java.lang.Object value)
Curves this item's point value based on some given value.
|
abstract int |
findMax()
Finds the maximum score of an item.
|
abstract int |
findMedian()
Finds the median score of an item.
|
abstract int |
findMin()
Finds the minimum score of an item.
|
Category category
DateTime dueDate
java.lang.String name
int rawPoints
int curvedPoints
public abstract void adjustPointValue(int newValue)
newValue
- the new value to adjust to
post:
// the raw point value of this Item is adjusted
this.rawPoints == newValuepublic abstract void curve(java.lang.Object value)
value
- some value with which to curve this itempublic abstract void assign()
public abstract int findMax()
public abstract int findMin()
public abstract int findMedian()
public abstract double calculateMean()