OSID Logo
OSID Specifications
course package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.ActivityUnit
Implementsosid.OsidObject
osid.Operable
osid.Subjugateable
Description

An ActivityUnit represents a canonical learning unit. A canonical learning unit describes a kind of activity that will be offered and is used for curriculum planning.

MethodgetCourseId
Description

Gets the canonical course Id associated with this activity.

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

Gets the canonical course associated with this activity.

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

Gets the total time required for this activity.

Returnosid.calendaring.Durationthe total effort
CompliancemandatoryThis method must be implemented.
MethodisContact
Description

Tests if this is a contact activity.

Returnboolean true if this is a contact activity, false if an independent activity
CompliancemandatoryThis method must be implemented.
MethodgetTotalTargetContactTime
Description

Gets the total contact time for this activity.

Returnosid.calendaring.Durationthe total effort
CompliancemandatoryThis method must be implemented.
MethodgetTotalTargetIndividualEffort
Description

Gets the total indivudal time required for this activity.

Returnosid.calendaring.Durationthe total individual effort
CompliancemandatoryThis method must be implemented.
MethodisRecurringWeekly
Description

Tests if this activity is recurring.

Returnboolean true if this activity is recurring, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetWeeklyEffort
Description

Gets the time required for this recurring effort on a weekly basis.

Returnosid.calendaring.Durationthe weekly time
ErrorsILLEGAL_STATE isRecurringWeekly() is false
CompliancemandatoryThis method must be implemented.
MethodgetWeeklyContactTime
Description

Gets the weekly contact time for ths activity.

Returnosid.calendaring.Durationthe weekly time
ErrorsILLEGAL_STATE isRecurringWeekly() is false
CompliancemandatoryThis method must be implemented.
MethodgetWeeklyIndividualEffort
Description

Gets the weekly individual time for ths activity.

Returnosid.calendaring.Durationthe weekly time
ErrorsILLEGAL_STATE isRecurringWeekly() is false
CompliancemandatoryThis method must be implemented.
MethodhasLearningObjectives
Description

Tests if this activity unit has associated learning objectives.

Returnboolean true if this activity unit has a learning objective, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetLearningObjectiveIds
Description

Gets the overall learning objective Ids for this activity unit.

Returnosid.id.IdList Ids of the l earning objectives
ErrorsILLEGAL_STATE hasLearningObjectives() is false
CompliancemandatoryThis method is must be implemented.
MethodgetLearningObjectives
Description

Gets the overall learning objectives for this activity unit.

Returnosid.learning.ObjectiveListthe learning objectives
ErrorsILLEGAL_STATE hasLearningObjectives() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetActivityUnitRecord
Description

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

Parametersosid.type.TypeactivityUnitRecordTypethe type of activity unit record to retrieve
Returnosid.course.records.ActivityUnitRecordthe activity unit record
ErrorsNULL_ARGUMENT activityUnitRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(activityUnitRecordType) is false
CompliancemandatoryThis method must be implemented.