OSID Logo
OSID Specifications
course program package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.program.EnrollmentForm
Implementsosid.OsidRelationshipForm
Description

This is the form for creating and updating Enrollments. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the EnrollmentAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetEnrollmentFormRecord
Description

Gets the EnrollmentFormRecord corresponding to the given enrollment record Type.

Parametersosid.type.TypeenrollmentRecordTypean enrollment record type
Returnosid.course.program.records.EnrollmentFormRecordthe enrollment form record
ErrorsNULL_ARGUMENT enrollmentRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(enrollmentRecordType) is false
CompliancemandatoryThis method must be implemented.