Class HarmoniGradableObject

Description

GradableObject includes a Name, Description, Id, GradeType, CourseSection reference, and External Reference to what is being graded.

OSID Version: 2.0

Licensed under the org.osid.SidImplementationLicenseMIT.

Located in /harmoni/core/oki2/grading/HarmoniGradableObject.class.php (line 21)

GradableObject
   |
   --HarmoniGradableObject
Variable Summary
mixed $_id
mixed $_table
Method Summary
void HarmoniGradableObject (mixed $id, object Id $id )
string getDescription ()
string getDisplayName ()
object Properties getPropertiesByType (mixed $propertiesType, object Type $propertiesType )
void updateDescription (mixed $description, string $description )
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 34)
  • access: private
mixed $_table (line 35)
Methods
Constructor HarmoniGradableObject (line 45)

The constructor.

  • access: public
void HarmoniGradableObject (mixed $id, object Id $id )
getCourseSection (line 188)

Get the unique Id with a CourseSection. CourseSections are created and managed through the CourseManagement OSID.

  • 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 getCourseSection ()

Redefinition of:
GradableObject::getCourseSection()
Get the unique Id with a CourseSection. CourseSections are created and managed through the CourseManagement OSID.
getDescription (line 143)

Get the description for this 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
string getDescription ()

Redefinition of:
GradableObject::getDescription()
Get the description for this GradableObject.
getDisplayName (line 121)

Get the display name for this 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
string getDisplayName ()

Redefinition of:
GradableObject::getDisplayName()
Get the display name for this GradableObject.
getExternalReference (line 213)

Get the unique Id associated with some object that is being graded such as an Assessment.

  • 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 getExternalReference ()

Redefinition of:
GradableObject::getExternalReference()
Get the unique Id associated with some object that is being graded such as an Assessment.
getGradeScale (line 284)

Get the GradeScale 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 getGradeScale ()

Redefinition of:
GradableObject::getGradeScale()
Get the GradeScale associated with the GradableObject and Grade.
getGradeType (line 240)

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:
GradableObject::getGradeType()
Get the GradeType associated with the GradableObject and Grade.
getGradeWeight (line 306)

Get the gradeWeight of this 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
int getGradeWeight ()

Redefinition of:
GradableObject::getGradeWeight()
Get the gradeWeight of this GradableObject.
getId (line 165)

Get the unique Id for this 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 getId ()

Redefinition of:
GradableObject::getId()
Get the unique Id for this GradableObject.
getModifiedBy (line 410)

Get the Id of the Agent who modified this 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 getModifiedBy ()

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

Get the date when this GradableObject 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
int getModifiedDate ()

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

Get the Properties associated with this 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 PropertiesIterator getProperties ()

Redefinition of:
GradableObject::getProperties()
Get the Properties associated with this GradableObject.
getPropertiesByType (line 333)

Get the Properties of this Type associated with this 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, NULL_ARGUMENT, UNKNOWN_TYPE
object Properties getPropertiesByType (mixed $propertiesType, object Type $propertiesType )

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

Get the Properties Types supported by this 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 TypeIterator getPropertyTypes ()

Redefinition of:
GradableObject::getPropertyTypes()
Get the Properties Types supported by this GradableObject.
getScoringDefinition (line 262)

Get the ScoringDefinition 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 getScoringDefinition ()

Redefinition of:
GradableObject::getScoringDefinition()
Get the ScoringDefinition associated with the GradableObject and Grade.
updateDescription (line 98)

Update the description for this 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
void updateDescription (mixed $description, string $description )
  • string $description

Redefinition of:
GradableObject::updateDescription()
Update the description for this GradableObject.
updateDisplayName (line 75)

Update the display name for this Assignment.

  • 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 updateDisplayName (mixed $displayName, string $displayName )
  • string $displayName

Redefinition of:
GradableObject::updateDisplayName()
Update the display name for this Assignment.
_getField (line 533)
void _getField (mixed $key)
_getProperties (line 449)

Get a Properties object with the information about this object.

  • access: private
object Properties _getProperties ()
_getType (line 540)
void _getType (mixed $typename)
_getTypes (line 527)
void _getTypes (mixed $typename)
_setField (line 545)
void _setField (mixed $key, mixed $value)
_setModifiedDateAndAgent (line 501)
void _setModifiedDateAndAgent ()
_typeToIndex (line 521)
void _typeToIndex (mixed $typename, mixed $type)

Inherited Methods

Inherited From GradableObject

GradableObject::getCourseSection()
GradableObject::getDescription()
GradableObject::getDisplayName()
GradableObject::getExternalReference()
GradableObject::getGradeScale()
GradableObject::getGradeType()
GradableObject::getGradeWeight()
GradableObject::getId()
GradableObject::getModifiedBy()
GradableObject::getModifiedDate()
GradableObject::getProperties()
GradableObject::getPropertiesByType()
GradableObject::getPropertyTypes()
GradableObject::getScoringDefinition()
GradableObject::updateDescription()
GradableObject::updateDisplayName()

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