Class HarmoniCourseGradeRecord

Description

CourseGradeRecord manages the CourseGrade of a specific CourseGradeType for an Agent and a CourseOffering.

OSID Version: 2.0

  • version: $Id: CourseGradeRecord.class.php,v 1.9 2007/09/04 20:25:39 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /harmoni/core/oki2/coursemanagement/CourseGradeRecord.class.php (line 20)

CourseGradeRecord
   |
   --HarmoniCourseGradeRecord
Variable Summary
mixed $_id
mixed $_table
Method Summary
void HarmoniCourseGradeRecord (mixed $id, object Id $id )
object Id getAgent ()
object mixed getCourseGrade ()
object Type getCourseGradeType ()
object Id getCourseOffering ()
string getDisplayName ()
object Id getId ()
object Type getType ()
void updateCourseGrade (object mixed $courseGrade)
void updateDisplayName (mixed $displayName, string $displayName )
void _getField (mixed $key)
void _getType (mixed $typename)
void _getTypes (mixed $typename)
void _setField (mixed $key, mixed $value)
void _typeToIndex (mixed $typename, mixed $type)
Variables
mixed $_id (line 39)
  • access: private
mixed $_table (line 40)
Methods
Constructor HarmoniCourseGradeRecord (line 50)

The constructor.

  • access: public
void HarmoniCourseGradeRecord (mixed $id, object Id $id )
  • object Id $id
getAgent (line 209)

Get the Agent (student) associated with this CourseGradeRecord.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object Id getAgent ()
getCourseGrade (line 136)

Get the grade for this CourseGradeRecord.

  • return: (original type: java.io.Serializable)
  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object mixed getCourseGrade ()

Redefinition of:
CourseGradeRecord::getCourseGrade()
Get the grade for this CourseGradeRecord.
getCourseGradeType (line 266)

Calls getType(), which may be the proper name.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object Type getCourseGradeType ()

Redefinition of:
CourseGradeRecord::getCourseGradeType()
Get the CourseGradeType for this Offering. GradingType is defined in the grading OSID. These Types are meaningful to the implementation and applications and are not specified by the OSID.
getCourseOffering (line 290)

Get the unique Id for the CourseOffering for this CourseGradeRecord..

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object Id getCourseOffering ()

Redefinition of:
CourseGradeRecord::getCourseOffering()
Get the unique Id for the CourseOffering for this CourseGradeRecord..
getDisplayName (line 161)

Get the display name for this CourseGradeRecord.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
string getDisplayName ()

Redefinition of:
CourseGradeRecord::getDisplayName()
Get the display name for this CourseGradeRecord.
getId (line 185)

Get the unique Id for this CourseGradeRecord.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object Id getId ()

Redefinition of:
CourseGradeRecord::getId()
Get the unique Id for this CourseGradeRecord.
getType (line 239)

Get the CourseGradeType for the GradeRecord's Offering. GradingType is defined in the grading OSID. These Types are meaningful to the implementation and applications and are not specified by the OSID.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object Type getType ()
updateCourseGrade (line 86)

Update the grade for this CourseGradeRecord.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT
void updateCourseGrade (object mixed $courseGrade)
  • object mixed $courseGrade: (original type: java.io.Serializable)

Redefinition of:
CourseGradeRecord::updateCourseGrade()
Update the grade for this CourseGradeRecord.
updateDisplayName (line 112)

Update the display name for this CourseGradeRecord.

  • access: public
  • throws: object CourseManagementException An exception with one of the following messages defined in org.osid.coursemanagement.CourseManagementException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT
void updateDisplayName (mixed $displayName, string $displayName )
  • string $displayName

Redefinition of:
CourseGradeRecord::updateDisplayName()
Update the display name for this CourseGradeRecord.
_getField (line 316)
void _getField (mixed $key)
_getType (line 323)
void _getType (mixed $typename)
_getTypes (line 310)
void _getTypes (mixed $typename)
_setField (line 328)
void _setField (mixed $key, mixed $value)
_typeToIndex (line 304)
void _typeToIndex (mixed $typename, mixed $type)

Inherited Methods

Inherited From CourseGradeRecord

CourseGradeRecord::getCourseGrade()
CourseGradeRecord::getCourseGradeType()
CourseGradeRecord::getCourseOffering()
CourseGradeRecord::getDisplayName()
CourseGradeRecord::getId()
CourseGradeRecord::getStudent()
CourseGradeRecord::updateCourseGrade()
CourseGradeRecord::updateDisplayName()

Documentation generated on Wed, 19 Sep 2007 10:22:14 -0400 by phpDocumentor 1.3.0RC3