OSID Logo
OSID Specifications
course package
Version 3.1.0
Interfaceosid.course.ActivityUnit
Implementsosid.OsidObject
osid.Operable
osid.Subjugateable
Used Byosid.course.Activity
osid.course.ActivityUnitAdminSession
osid.course.ActivityUnitList
osid.course.ActivityUnitLookupSession
osid.course.syllabus.Docet
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.Id the course Id
Compliancemandatory This method must be implemented.
MethodgetCourse
Description

Gets the canonical course associated with this activity.

Returnosid.course.Course the course
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetTotalTargetEffort
Description

Gets the total time required for this activity.

Returnosid.calendaring.Duration the total effort
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetTotalTargetContactTime
Description

Gets the total contact time for this activity.

Returnosid.calendaring.Duration the total effort
Compliancemandatory This method must be implemented.
MethodgetTotalTargetIndividualEffort
Description

Gets the total indivudal time required for this activity.

Returnosid.calendaring.Duration the total individual effort
Compliancemandatory This method must be implemented.
MethodisRecurringWeekly
Description

Tests if this activity is recurring.

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

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

Returnosid.calendaring.Duration the weekly time
ErrorsILLEGAL_STATE isRecurringWeekly() is false
Compliancemandatory This method must be implemented.
MethodgetWeeklyContactTime
Description

Gets the weekly contact time for ths activity.

Returnosid.calendaring.Duration the weekly time
ErrorsILLEGAL_STATE isRecurringWeekly() is false
Compliancemandatory This method must be implemented.
MethodgetWeeklyIndividualEffort
Description

Gets the weekly individual time for ths activity.

Returnosid.calendaring.Duration the weekly time
ErrorsILLEGAL_STATE isRecurringWeekly() is false
Compliancemandatory This 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
Compliancemandatory This 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
Compliancemandatory This method is must be implemented.
MethodgetLearningObjectives
Description

Gets the overall learning objectives for this activity unit.

Returnosid.learning.ObjectiveList the learning objectives
ErrorsILLEGAL_STATE hasLearningObjectives() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This 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.TypeactivityUnitRecordType the type of activity unit record to retrieve
Returnosid.course.records.ActivityUnitRecord the activity unit record
ErrorsNULL_ARGUMENT activityUnitRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(activityUnitRecordType) is false
Compliancemandatory This method must be implemented.