public class GradebookAssignment extends GradableObject
| Modifier and Type | Field and Description |
|---|---|
static Comparator |
categoryComparator |
static Comparator |
countedComparator |
static Comparator |
dateComparator |
static String |
DEFAULT_SORT
Deprecated.
|
static Comparator |
gradeEditorComparator |
static String |
item_type_adjustment |
static String |
item_type_letter |
static String |
item_type_nonCalc |
static String |
item_type_percentage |
static String |
item_type_points |
static Comparator |
meanComparator |
static Comparator |
nameComparator |
static Comparator |
pointsComparator |
static Comparator |
releasedComparator |
String |
selectedGradeEntryValue |
static String |
SORT_BY_COUNTED
Deprecated.
|
static String |
SORT_BY_DATE
Deprecated.
|
static String |
SORT_BY_EDITOR
Deprecated.
|
static String |
SORT_BY_MEAN
Deprecated.
|
static String |
SORT_BY_NAME
Deprecated.
|
static String |
SORT_BY_POINTS
Deprecated.
|
static String |
SORT_BY_RELEASED
Deprecated.
|
static String |
SORT_BY_SORTING
Deprecated.
|
categorizedSortOrder, defaultComparator, gradebook, id, idComparator, mean, name, removed, sortingComparator, sortOrder, version| Constructor and Description |
|---|
GradebookAssignment() |
GradebookAssignment(Gradebook gradebook,
String name,
Double pointsPossible,
Date dueDate) |
GradebookAssignment(Gradebook gradebook,
String name,
Double pointsPossible,
Date dueDate,
boolean released)
constructor to support selective release
|
| Modifier and Type | Method and Description |
|---|---|
void |
calculateStatistics(Collection<AssignmentGradeRecord> gradeRecords)
Calculate the mean score for students with entered grades.
|
boolean |
getIsCategory() |
Boolean |
getIsExtraCredit() |
String |
getItemType() |
boolean |
getUngraded() |
boolean |
isAssignment() |
boolean |
isCounted() |
boolean |
isCourseGrade() |
boolean |
isExternallyMaintained() |
Boolean |
isExtraCredit() |
boolean |
isHideInAllGradesTable() |
boolean |
isIncludedInCalculations()
Convenience method for checking if the grade for the assignment should be included in calculations.
|
boolean |
isNotCounted() |
Boolean |
isReleased() |
void |
setCounted(boolean counted)
This cover is for the benefit of JSF checkboxes.
|
void |
setIsExtraCredit(Boolean isExtraCredit) |
assignSorting, equals, getCategorizedSortOrder, getFormattedMean, getGradebook, getId, getMean, getName, getSortOrder, getSortPosition, getVersion, hashCode, isFirst, isLast, isRemoved, setCategorizedSortOrder, setGradebook, setId, setMean, setName, setRemoved, setSortOrder, setVersion, toString@Deprecated public static String SORT_BY_DATE
@Deprecated public static String SORT_BY_NAME
@Deprecated public static String SORT_BY_MEAN
@Deprecated public static String SORT_BY_POINTS
@Deprecated public static String SORT_BY_RELEASED
@Deprecated public static String SORT_BY_COUNTED
@Deprecated public static String SORT_BY_EDITOR
@Deprecated public static String SORT_BY_SORTING
@Deprecated public static String DEFAULT_SORT
public static String item_type_points
public static String item_type_percentage
public static String item_type_letter
public static String item_type_nonCalc
public static String item_type_adjustment
public static Comparator dateComparator
public static Comparator nameComparator
public static Comparator pointsComparator
public static Comparator meanComparator
public static Comparator releasedComparator
public static Comparator countedComparator
public static Comparator gradeEditorComparator
public static Comparator categoryComparator
public String selectedGradeEntryValue
public GradebookAssignment()
public GradebookAssignment(Gradebook gradebook, String name, Double pointsPossible, Date dueDate)
public boolean isCourseGrade()
isCourseGrade in class GradableObjectpublic boolean isAssignment()
isAssignment in class GradableObjectGradableObject.isAssignment()public boolean getIsCategory()
getIsCategory in class GradableObjectGradableObject.getIsCategory()public boolean isNotCounted()
public boolean isCounted()
public void setCounted(boolean counted)
public boolean isExternallyMaintained()
public Boolean isReleased()
public void calculateStatistics(Collection<AssignmentGradeRecord> gradeRecords)
public boolean getUngraded()
public Boolean getIsExtraCredit()
public void setIsExtraCredit(Boolean isExtraCredit)
public Boolean isExtraCredit()
public String getItemType()
public boolean isIncludedInCalculations()
isCounted() method for an assignment. This method does a more thorough check using other values, such as if removed,
isExtraCredit, ungraded, etc in addition to the assignment's notCounted property. Now also considers category type. If categories are
configured (setting 2 or 3), uncategorised items are not counted.public boolean isHideInAllGradesTable()
Copyright © 2003–2019 Sakai Project. All rights reserved.