OSID Logo
OSID Specifications
course package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.Term
Implementsosid.OsidObject
osid.Federateable
Description

A Term represents a period of time in which a course is offered. This Term contains information on severel milestones that may drive the behavior of schedules and registration. These periods of time may be linked to the Term in the Calendaring OSID to effect the behavior of the RecurringEvents.

MethodgetDisplayLabel
Description

Gets a display label for this term which may be less formal than the display name.

Returnosid.locale.DisplayTextthe term label
CompliancemandatoryThis method must be implemented.
MethodhasOpenDate
Description

Tests if this term has an open date when published offerings are finalized.

Returnboolean true if there is an open date associated with this term, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetOpenDate
Description

Gets the open date when published offerings are finalized.

Returnosid.calendaring.DateTimethe open date
ErrorsILLEGAL_STATE hasOpenDate() is false
CompliancemandatoryThis method must be implemented.
MethodhasRegistrationPeriod
Description

Tests if this term has a registration period.

Returnboolean true if there is a registration period associated with this term, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRegistrationStart
Description

Gets the start of the registration period.

Returnosid.calendaring.DateTimethe start date
ErrorsILLEGAL_STATE hasRegistrationPeriod() is false
CompliancemandatoryThis method must be implemented.
MethodgetRegistrationEnd
Description

Gets the end of the registration period.

Returnosid.calendaring.DateTimethe end date
ErrorsILLEGAL_STATE hasRegistrationPeriod() is false
CompliancemandatoryThis method must be implemented.
MethodgetClassesStart
Description

Gets the start of classes.

Returnosid.calendaring.DateTimethe start date
CompliancemandatoryThis method must be implemented.
MethodgetClassesEnd
Description

Gets the end of classes.

Returnosid.calendaring.DateTimethe end date
CompliancemandatoryThis method must be implemented.
MethodhasAddDropDate
Description

Tests if this term has an add/drop date.

Returnboolean true if there is an add/drop date associated with this term, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAddDate
Description

Gets the add/drop date.

Returnosid.calendaring.DateTimethe add/drop date
ErrorsILLEGAL_STATE hasAddDropDate() is false
CompliancemandatoryThis method must be implemented.
MethodgetDropDate
Description

Gets the add/drop date.

Returnosid.calendaring.DateTimethe add/drop date
ErrorsILLEGAL_STATE hasAddDropDate() is false
CompliancemandatoryThis method must be implemented.
MethodhasFinalExamPeriod
Description

Tests if this term has a final eam period.

Returnboolean true if there is a final exam period associated with this term, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetFinalExamStart
Description

Gets the start of the final exam period.

Returnosid.calendaring.DateTimethe start date
ErrorsILLEGAL_STATE hasFinalExamPeriod() is false
CompliancemandatoryThis method must be implemented.
MethodgetFinalExamEnd
Description

Gets the end of the final exam period.

Returnosid.calendaring.DateTimethe end date
ErrorsILLEGAL_STATE hasFinalExamPeriod() is false
CompliancemandatoryThis method must be implemented.
MethodhasCloseDate
Description

Tests if this term has a close date when results from course offerings are finalized.

Returnboolean true if there is a close date associated with this term, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCloseDate
Description

Gets the close date when results of course offerings are finalized.

Returnosid.calendaring.DateTimethe close date
ErrorsILLEGAL_STATE hasCloseDate() is false
CompliancemandatoryThis method must be implemented.
MethodgetTermRecord
Description

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

Parametersosid.type.TypetermRecordTypethe type of term record to retrieve
Returnosid.course.records.TermRecordthe term record
ErrorsNULL_ARGUMENT termRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(termRecordType) is false
CompliancemandatoryThis method must be implemented.