Class HarmoniGradeRecord

Description

GradeRecord includes a reference to a gradable object, an Agent Id, a Grade, and GradeType.

OSID Version: 2.0

Licensed under the org.osid.SidImplementationLicenseMIT.

Located in /harmoni/core/oki2/grading/HarmoniGradeRecord.class.php (line 20)

GradeRecord
   |
   --HarmoniGradeRecord
Variable Summary
mixed $_id
mixed $_table
Method Summary
void HarmoniGradeRecord (mixed $id, object Id $id )
object mixed getGradeValue ()
long getModifiedDate ()
object Properties getPropertiesByType (mixed $propertiesType, object Type $propertiesType )
void updateGradeValue (object mixed $gradeValue)
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 31)
  • access: private
mixed $_table (line 32)
Methods
Constructor HarmoniGradeRecord (line 42)

The constructor.

  • access: public
void HarmoniGradeRecord (mixed $id, object Id $id )
getAgentId (line 118)

Get the Agent Id associated with this GradeRecord. The Agent in this context is not the person who took the test nor, necessarily, the person who is grading. It is the person whose "GradeBook" this is, for example the CourseSection instructor.

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

Redefinition of:
GradeRecord::getAgentId()
Get the Agent Id associated with this GradeRecord. The Agent in this context is not the person who took the test nor, necessarily, the person who is grading. It is the person whose "GradeBook" this is, for example the CourseSection instructor.
getGradableObject (line 91)

Get the unique Id for this GradeRecord's GradableObject.

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

Redefinition of:
GradeRecord::getGradableObject()
Get the unique Id for this GradeRecord's GradableObject.
getGradeRecordType (line 217)

Get the GradeRecordType for this GradeRecord. This is the Type of the GradeRecord, which is distinct from the Type of Grade. A GradeRecord Type might be advisory, mid-term, final, etc, while a Grade Type might be letter, numeric, etc.

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

Redefinition of:
GradeRecord::getGradeRecordType()
Get the GradeRecordType for this GradeRecord. This is the Type of the GradeRecord, which is distinct from the Type of Grade. A GradeRecord Type might be advisory, mid-term, final, etc, while a Grade Type might be letter, numeric, etc.
getGradeType (line 239)

Get the GradeType associated with the GradableObject and Grade.

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

Redefinition of:
GradeRecord::getGradeType()
Get the GradeType associated with the GradableObject and Grade.
getGradeValue (line 142)

Get the value for this Grade.

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

Redefinition of:
GradeRecord::getGradeValue()
Get the value for this Grade.
getModifiedBy (line 165)

Get the Id of the Agent who modified this GradeRecord.

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

Redefinition of:
GradeRecord::getModifiedBy()
Get the Id of the Agent who modified this GradeRecord.
getModifiedDate (line 192)

Get the date when this GradeRecord was modified, using the UNIX timestamp.

  • access: public
  • throws: object GradingException An exception with one of the following messages defined in org.osid.grading.GradingException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
long getModifiedDate ()

Redefinition of:
GradeRecord::getModifiedDate()
Get the date when this GradeRecord was modified.
getProperties (line 322)

Get the Properties associated with this GradeRecord.

  • access: public
  • throws: object GradingException An exception with one of the following messages defined in org.osid.grading.GradingException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object PropertiesIterator getProperties ()

Redefinition of:
GradeRecord::getProperties()
Get the Properties associated with this GradeRecord.
getPropertiesByType (line 295)

Get the Properties of this Type associated with this GradeRecord.

  • access: public
  • throws: object GradingException An exception with one of the following messages defined in org.osid.grading.GradingException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE
object Properties getPropertiesByType (mixed $propertiesType, object Type $propertiesType )

Redefinition of:
GradeRecord::getPropertiesByType()
Get the Properties of this Type associated with this GradeRecord.
getPropertyTypes (line 264)

Get all the Property Types for GradeRecord.

  • access: public
  • throws: object GradingException An exception with one of the following messages defined in org.osid.grading.GradingException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getPropertyTypes ()

Redefinition of:
GradeRecord::getPropertyTypes()
Get all the Property Types for GradeRecord.
updateGradeValue (line 68)

Update the value for this Grade.

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

Redefinition of:
GradeRecord::updateGradeValue()
Update the value for this Grade.
_getField (line 415)
void _getField (mixed $key)
_getProperties (line 336)

Get a Properties object with the information about this object.

  • access: private
object Properties _getProperties ()
_getType (line 422)
void _getType (mixed $typename)
_getTypes (line 409)
void _getTypes (mixed $typename)
_setField (line 427)
void _setField (mixed $key, mixed $value)
_setModifiedDateAndAgent (line 382)
void _setModifiedDateAndAgent ()
_typeToIndex (line 403)
void _typeToIndex (mixed $typename, mixed $type)

Inherited Methods

Inherited From GradeRecord

GradeRecord::getAgentId()
GradeRecord::getGradableObject()
GradeRecord::getGradeRecordType()
GradeRecord::getGradeType()
GradeRecord::getGradeValue()
GradeRecord::getModifiedBy()
GradeRecord::getModifiedDate()
GradeRecord::getProperties()
GradeRecord::getPropertiesByType()
GradeRecord::getPropertyTypes()
GradeRecord::updateGradeValue()

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