OSID Logo
OSID Specifications
course package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.CourseOffering
Implementsosid.OsidRelationship
Description

A CourseOffering represents a learning unit offered duing a Term. Scheduling information of a CourseOffering is maintained at the Activity level resulting in a composite RecurringEvent. A separate Calendar of activities can be made available through orchestration of the Calendaring OSID.

MethodgetCourseId
Description

Gets the canonical course Id associated with this course offering.

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

Gets the canonical course associated with this course offering.

Returnosid.course.Coursethe course
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetTermId
Description

Gets the Id of the Term of this offering.

Returnosid.id.Idthe Term Id
CompliancemandatoryThis method must be implemented.
MethodgetTerm
Description

Gets the Term of this offering.

Returnosid.course.Termthe term
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetTitle
Description

Gets the formal title of this course. It may be the same as the display name or it may be used to more formally label the course. A display name might be Physics 102 where the title is Introduction to Electromagentism.

Returnosid.locale.DisplayTextthe course title
CompliancemandatoryThis method must be implemented.
MethodgetNumber
Description

Gets the course number which is a label generally used to index the course offering in a catalog, such as T101 or 16.004.

Returnstringthe course number
CompliancemandatoryThis method must be implemented.
MethodgetInstructorIds
Description

Gets the instructor Ids. If each activity has its own instructor, the headlining instructors may be returned.

Returnosid.id.IdListthe instructor Ids
CompliancemandatoryThis method must be implemented.
MethodgetInstructors
Description

Gets the instructors. If each activity has its own instructor, the headlining instructors may be returned.

Returnosid.resource.ResourceListthe sponsors
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodhasSponsors
Description

Tests if this course has sponsors.

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

Gets the sponsor Ids.

Returnosid.id.IdListthe sponsor Ids
ErrorsILLEGAL_STATE hasSponsors() is false
CompliancemandatoryThis method must be implemented.
MethodgetSponsors
Description

Gets the sponsors.

Returnosid.resource.ResourceListthe sponsors
ErrorsILLEGAL_STATE hasSponsors() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetCreditAmountIds
Description

Gets the credits in which this course can be registered. The credits are expressed as Grades.

Returnosid.id.IdListthe grade Ids
CompliancemandatoryThis method must be implemented.
MethodgetCreditAmounts
Description

Gets the credits in which this course can be registered. The credits are expressed as Grades.

Returnosid.grading.GradeListthe credits
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodisGraded
Description

Tests if this course offering is graded.

Returnboolean true if this course is graded, 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.
MethodrequiresRegistration
Description

Tests if this course offering requires advanced registration.

Returnboolean true if this course requires advance registration, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetMinimumSeats
Description

Gets the minimum number of students this offering can have.

Returncardinalthe minimum seats
CompliancemandatoryThis method must be implemented.
MethodisSeatingLimited
Description

Tests if this course offering has limited seating.

Returnboolean true if this seating is limited, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetMaximumSeats
Description

Gets the maximum number of students this offering can have.

Returncardinalthe maximum seats
ErrorsILLEGAL_STATE isSeatingLimited() is false
CompliancemandatoryThis method must be implemented.
MethodgetURL
Description

Gets an external resource, such as a class web site, associated with this offering.

Returnstringa URL string
CompliancemandatoryThis method must be implemented.
MethodgetScheduleInfo
Description

Gets the an informational string for the course offering schedule.

Returnosid.locale.DisplayTextthe schedule info
CompliancemandatoryThis method must be implemented.
MethodhasEvent
Description

Tests if a calendaring event is available for this course offering with the schedule details.

Returnboolean true if this course is graded, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetEventId
Description

Gets the calendaring event Id.

Returnosid.id.Idthe event Id
ErrorsILLEGAL_STATE hasEvent() is false
CompliancemandatoryThis method must be implemented.
MethodgetEvent
Description

Gets the calendaring event with the schedule details.

Returnosid.calendaring.Eventan event
ErrorsILLEGAL_STATE hasEvent() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetCourseOfferingRecord
Description

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

Parametersosid.type.TypecourseOfferingRecordTypethe type of course offering record to retrieve
Returnosid.course.records.CourseOfferingRecordthe course offering record
ErrorsNULL_ARGUMENT courseOfferingRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(courseOfferingRecordType) is false
CompliancemandatoryThis method must be implemented.