Documentation is available at GradableObject.php
- <?php
- /**
- * GradableObject includes a Name, Description, Id, GradeType, CourseSection
- * reference, and External Reference to what is being graded.
- *
- * <p>
- * OSID Version: 2.0
- * </p>
- *
- * <p>
- * Licensed under the {@link org.osid.SidImplementationLicenseMIT MIT}
- * O.K.I. OSID Definition License}.
- * </p>
- *
- * @package org.osid.grading
- */
- class GradableObject
- {
- /**
- * Update the display name for this Assignment.
- *
- * @param string $displayName
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function updateDisplayName ( $displayName ) {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Update the description for this GradableObject.
- *
- * @param string $description
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function updateDescription ( $description ) {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the display name for this GradableObject.
- *
- * @return string
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getDisplayName () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the description for this GradableObject.
- *
- * @return string
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getDescription () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the unique Id for this GradableObject.
- *
- * @return object Id
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getId () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the unique Id with a CourseSection. CourseSections are created and
- * managed through the CourseManagement OSID.
- *
- * @return object Id
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getCourseSection () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the unique Id associated with some object that is being graded such
- * as an Assessment.
- *
- * @return object Id
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getExternalReference () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the GradeType associated with the GradableObject and Grade.
- *
- * @return object Type
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getGradeType () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the ScoringDefinition associated with the GradableObject and Grade.
- *
- * @return object Type
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getScoringDefinition () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the GradeScale associated with the GradableObject and Grade.
- *
- * @return object Type
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getGradeScale () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the gradeWeight of this GradableObject.
- *
- * @return int
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getGradeWeight () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the Properties of this Type associated with this GradableObject.
- *
- * @param object Type $propertiesType
- *
- * @return object Properties
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED},
- * {@link org.osid.grading.GradingException#NULL_ARGUMENT}
- * NULL_ARGUMENT}, {@link }
- * org.osid.grading.GradingException#UNKNOWN_TYPE UNKNOWN_TYPE}
- *
- * @access public
- */
- function getPropertiesByType ( $propertiesType ) {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the Properties Types supported by this GradableObject.
- *
- * @return object TypeIterator
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getPropertyTypes () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the Properties associated with this GradableObject.
- *
- * @return object PropertiesIterator
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getProperties () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the Id of the Agent who modified this GradeRecord.
- *
- * @return object Id
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getModifiedBy () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the date when this GradeRecord was modified.
- *
- * @return int
- *
- * @throws object GradingException An exception with one of the
- * following messages defined in org.osid.grading.GradingException
- * may be thrown: {@link }
- * org.osid.grading.GradingException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.grading.GradingException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.grading.GradingException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.grading.GradingException#UNIMPLEMENTED UNIMPLEMENTED}
- *
- * @access public
- */
- function getModifiedDate () {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- }
- ?>
Documentation generated on Wed, 19 Sep 2007 10:23:25 -0400 by phpDocumentor 1.3.0RC3