public class AssignmentGradeRecord extends AbstractGradeRecord implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
static Comparator<AssignmentGradeRecord> |
calcComparator |
static Comparator<AssignmentGradeRecord> |
numericComparator |
dateRecorded, gradableObject, graderId, id, studentId, version| Constructor and Description |
|---|
AssignmentGradeRecord() |
AssignmentGradeRecord(Assignment assignment,
String studentId,
Double grade)
The graderId and dateRecorded properties will be set explicitly by the
grade manager before the database is updated.
|
getDateRecorded, getGradableObject, getGraderId, getId, getStudentId, getVersion, setDateRecorded, setGradableObject, setGraderId, setId, setStudentId, setVersion, toStringpublic static Comparator<AssignmentGradeRecord> numericComparator
public static Comparator<AssignmentGradeRecord> calcComparator
public AssignmentGradeRecord()
public AssignmentGradeRecord(Assignment assignment, String studentId, Double grade)
assignment - The assignment this grade record is associated withstudentId - The student id for whom this grade record belongsgrade - The grade, or points earnedpublic Double getPointsEarned()
getPointsEarned in class AbstractGradeRecordpublic void setPointsEarned(Double pointsEarned)
pointsEarned - The pointsEarned to set.public Double getGradeAsPercentage()
getGradeAsPercentage in class AbstractGradeRecordAbstractGradeRecord.getGradeAsPercentage()public boolean isCourseGradeRecord()
isCourseGradeRecord in class AbstractGradeRecordAbstractGradeRecord.isCourseGradeRecord()public Assignment getAssignment()
public Double getPercentEarned()
public void setPercentEarned(Double percentEarned)
public String getLetterEarned()
public void setLetterEarned(String letterEarned)
public boolean isUserAbleToView()
public void setUserAbleToView(boolean userAbleToView)
public AssignmentGradeRecord clone()
public Boolean isExcludedFromGrade()
public void setExcludedFromGrade(Boolean isExcludedFromGrade)
public BigDecimal getEarnedWeightedPercentage()
public void setEarnedWeightedPercentage(BigDecimal earnedWeightedPercentage)
public Boolean isDropped()
public void setDropped(Boolean isDropped)
public BigDecimal getOverallWeight()
public void setOverallWeight(BigDecimal overallWeight)
public String getUserEnteredGrade()
public void setUserEnteredGrade(String userEnteredGrade)
public Boolean getDroppedFromGrade()
public void setDroppedFromGrade(Boolean droppedFromGrade)
Copyright © 2003–2016 Sakai Project. All rights reserved.