|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--blackboard.data.gradebook.GradeRecord
The GradeRecord class represents a grade record item for a course. The
critical data is the grade, but a String-based Id is provided for association of the Score with
an external attempt handler. This handler would typically be the Blackboard assessment engine,
but could easily be a third-party tool.
| Constructor Summary | |
GradeRecord()
|
|
GradeRecord(Outcome outcome)
|
|
| Method Summary | |
Course |
getCourse()
Deprecated. |
java.lang.String |
getCourseBatchUid()
|
Id |
getCourseId()
|
java.lang.String |
getDataSourceBatchUid()
Returns the data source batch uid associated with this object. |
java.lang.String |
getGrade()
Returns the grade as a String for the GradeRecord |
java.lang.String |
getGradebookName()
Deprecated. |
ReportingPeriod |
getReportingPeriod()
Returns the Reporting Period for a period this GradeRecord is attached to |
User |
getUser()
Deprecated. |
java.lang.String |
getUserBatchUid()
|
void |
setCourse(Course crs)
Deprecated. This method should not be used as the course information is set at load. |
void |
setCourseBatchUid(java.lang.String courseBatchUid)
|
void |
setCourseId(Id courseId)
|
void |
setDataSourceBatchUid(java.lang.String dataSourceBatchUid)
Sets the DataSourceBatchUid to be associated with this GradeRecord |
void |
setGrade(java.lang.String grade)
Deprecated. This method no longer actually sets a grade as the score is immutable for the purposes of the GradeRecord. |
void |
setGradebookName(java.lang.String name)
Deprecated. This method no longer actually sets the title of the gradebook item as it is immutable for the purposes of the GradeRecord. |
void |
setReportingPeriod(ReportingPeriod rp)
Sets the period of the gradebook ReportingPeriod this GradeRecord is related to |
void |
setUser(User user)
Deprecated. This method should not be used as the user information is set at load. |
void |
setUserBatchUid(java.lang.String userBatchUid)
|
void |
validate()
Validates the contents of this BbObject. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GradeRecord()
public GradeRecord(Outcome outcome)
| Method Detail |
public Id getCourseId()
public void setCourseId(Id courseId)
public java.lang.String getCourseBatchUid()
public void setCourseBatchUid(java.lang.String courseBatchUid)
public java.lang.String getDataSourceBatchUid()
public void setDataSourceBatchUid(java.lang.String dataSourceBatchUid)
public java.lang.String getUserBatchUid()
public void setUserBatchUid(java.lang.String userBatchUid)
public java.lang.String getGrade()
public void setGrade(java.lang.String grade)
grade - A valid Grade Stringpublic ReportingPeriod getReportingPeriod()
public void setReportingPeriod(ReportingPeriod rp)
rp - A valid ReportingPeriod periodpublic java.lang.String getGradebookName()
public void setGradebookName(java.lang.String name)
name - A valid GradebookName Stringpublic Course getCourse()
public void setCourse(Course crs)
crs - A valid course Batch Uidpublic User getUser()
public void setUser(User user)
user - A valid User Batch Uid
public void validate()
throws ValidationException
BbObject. Internal consistency
checks are also performed.
ValidationException - if validation of this object fails
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||