OSID Logo
OSID Specifications
course registration package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.registration.ActivityBundle
Implementsosid.OsidObject
Description

An ActivityBundle represents a set of Activities in which a Registration is permissable.

MethodgetCourseOfferingId
Description

Gets the course offering Id associated with this activity bundle.

Returnosid.id.Idthe course offering Id
CompliancemandatoryThis method must be implemented.
MethodgetCourseOffering
Description

Gets the course offering associated with this activity bundle.

Returnosid.course.CourseOfferingthe course offering
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetActivityIds
Description

Gets the activity Ids in this bundle.

Returnosid.id.IdList Ids of the l earning objectives
CompliancemandatoryThis method is must be implemented.
MethodgetActivities
Description

Gets the activities in this bundle.

Returnosid.course.ActivityListthe activites
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethoddefinesCredits
Description

Tests if registration to this bundle results in credits to be earned.

Returnboolean true if this course has credits, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCredits
Description

Gets the number of credits available to register for in this course. Each array element is a distinct option.

Returndecimal[]the number of credits
ErrorsILLEGAL_STATE definesCredits() is false
CompliancemandatoryThis method must be implemented.
MethodisGraded
Description

Tests if a registration to this bundle will be for for grades.

Returnboolean true if this registration is for grades, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGradingOptionIds
Description

Gets the various grading option Ids available to register in this course.

Returnosid.id.IdListthe returned list of grading option Ids
ErrorsILLEGAL_STATE isGraded() is false
CompliancemandatoryThis method must be implemented.
MethodgetGradingOptions
Description

Gets the various grading options available to register in this course.

Returnosid.grading.GradeSystemListthe returned list of grading options
ErrorsILLEGAL_STATE isGraded() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetActivityBundleRecord
Description

Gets the activity bundle record corresponding to the given ActivityBundle record Type. This method is used to retrieve an object implementing the requested record. The activityBundleRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(activityBundleRecordType) is true .

Parametersosid.type.TypeactivityBundleRecordTypethe type of activity bundle record to retrieve
Returnosid.course.registration.records.ActivityBundleRecordthe activity bundle record
ErrorsNULL_ARGUMENT activityBundleRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(activityBundleRecordType) is false
CompliancemandatoryThis method must be implemented.