public class CourseGrade extends GradableObject
| Modifier and Type | Field and Description |
|---|---|
static String |
SORT_BY_CALCULATED_GRADE |
static String |
SORT_BY_OVERRIDE_GRADE |
static String |
SORT_BY_POINTS_EARNED |
categoryComparator, dateComparator, defaultComparator, gradebook, id, idComparator, log, mean, meanComparator, name, nameComparator, removed, sortingComparator, sortOrder, version| Constructor and Description |
|---|
CourseGrade() |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateStatistics(Collection<CourseGradeRecord> gradeRecords,
int numEnrollments)
Calculate the mean course grade (whether entered or calulated) as a
percentage for all enrollments, leaving
students who've explicitly been given non-percentage-valued manual-only
course grades (such as "I" for incomplete) or null scores out of the calculation.
|
Double |
getAverageScore() |
boolean |
getIsCategory() |
boolean |
isAssignment() |
boolean |
isCourseGrade() |
void |
setAverageScore(Double averageScore) |
assignSorting, equals, getFormattedMean, getGradebook, getId, getMean, getName, getSortOrder, getSortPosition, getVersion, hashCode, isFirst, isLast, isRemoved, setGradebook, setId, setMean, setName, setRemoved, setSortOrder, setVersion, toStringpublic static String SORT_BY_OVERRIDE_GRADE
public static String SORT_BY_CALCULATED_GRADE
public static String SORT_BY_POINTS_EARNED
public boolean isCourseGrade()
isCourseGrade in class GradableObjectGradableObject.isCourseGrade()public boolean isAssignment()
isAssignment in class GradableObjectGradableObject.isAssignment()public boolean getIsCategory()
getIsCategory in class GradableObjectorg.sakaiproject.tool.gradebook.GradableObject#isCategory()public void calculateStatistics(Collection<CourseGradeRecord> gradeRecords, int numEnrollments)
public Double getAverageScore()
public void setAverageScore(Double averageScore)
Copyright © 2003–2014 Sakai Project. All rights reserved.