blackboard.data.gradebook
Class GradeRecord

java.lang.Object
  extended by blackboard.data.gradebook.GradeRecord

public class GradeRecord
extends java.lang.Object

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.

Since:
Bb 5.5, Campus 1.1
Version:
$Revision: #1 $ $Date: 2005/06/27 $, $Revision: #1 $ $Date: 2005/06/27 $

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

GradeRecord

public GradeRecord()

GradeRecord

public GradeRecord(Outcome outcome)
Method Detail

getCourseId

public Id getCourseId()

setCourseId

public void setCourseId(Id courseId)

getCourseBatchUid

public java.lang.String getCourseBatchUid()

setCourseBatchUid

public void setCourseBatchUid(java.lang.String courseBatchUid)

getDataSourceBatchUid

public java.lang.String getDataSourceBatchUid()
Returns the data source batch uid associated with this object. A data source batch uid is a unique value used to identify sets of data within the system.

Returns:
A Data Source BatchUid

setDataSourceBatchUid

public void setDataSourceBatchUid(java.lang.String dataSourceBatchUid)
Sets the DataSourceBatchUid to be associated with this GradeRecord

Parameters:
val - A valid DataSourceBatchUid String

getUserBatchUid

public java.lang.String getUserBatchUid()

setUserBatchUid

public void setUserBatchUid(java.lang.String userBatchUid)

getGrade

public java.lang.String getGrade()
Returns the grade as a String for the GradeRecord

Returns:
A Grade String

setGrade

public 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.

Sets the grade for this GradeRecord

Parameters:
grade - A valid Grade String

getReportingPeriod

public ReportingPeriod getReportingPeriod()
Returns the Reporting Period for a period this GradeRecord is attached to

Returns:
A Reporting Period ReportingPeriod

setReportingPeriod

public void setReportingPeriod(ReportingPeriod rp)
Sets the period of the gradebook ReportingPeriod this GradeRecord is related to

Parameters:
rp - A valid ReportingPeriod period

getGradebookName

public java.lang.String getGradebookName()
Deprecated. 

Returns the name of the gradebook assessment this GradeRecord is attached to

Returns:
A GradebookName String

setGradebookName

public 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.

Sets the name of the gradebook assessment this GradeRecord is related to

Parameters:
name - A valid GradebookName String

getCourse

public Course getCourse()
Deprecated. 

Returns the batch uid of the course for this GradeRecord

Returns:
A course Batch Uid

setCourse

public void setCourse(Course crs)
Deprecated. This method should not be used as the course information is set at load.

Sets the batch uid of the course this GradeRecord is related to

Parameters:
crs - A valid course Batch Uid

getUser

public User getUser()
Deprecated. 

Returns the batch Uid of the User for this GradeRecord

Returns:
A User Batch Uid

setUser

public void setUser(User user)
Deprecated. This method should not be used as the user information is set at load.

Sets the batch uid of the user for this GradeRecord

Parameters:
user - A valid User Batch Uid

validate

public void validate()
              throws ValidationException
Validates the contents of this BbObject. Internal consistency checks are also performed.

Throws:
ValidationException - if validation of this object fails


Copyright © 2003 Blackboard, Inc. All Rights Reserved.