OSID Logo
OSID Specifications
course registration request package
Version 3.1.0
Interfaceosid.course.registration.request.RegistrationRequestItemForm
Implementsosid.OsidObjectForm
osid.OsidSubjugateableForm
Used Byosid.course.registration.request.RegistrationRequestItemAdminSession
Description

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

MethodgetStudentMetadata
Description

Gets the metadata for the student.

Returnosid.Metadata metadata for the student
Compliancemandatory This method must be implemented.
MethodsetStudent
Description

Sets the student resource.

Parametersosid.id.IdresourceId the new student
ErrorsINVALID_ARGUMENT resourceiId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearStudent
Description

Removes the student.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetRegistrationTargetMetadata
Description

Gets the metadata for the registration target.

Returnosid.Metadata metadata for the registration target
Compliancemandatory This method must be implemented.
MethodsetRegistrationTarget
Description

Sets the registration target.

Parametersosid.id.IdregistrationTargetId the new student
ErrorsINVALID_ARGUMENT registrationTargetId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT registrationTargetId is null
Compliancemandatory This method must be implemented.
MethodclearRegistrationTarget
Description

Removes the registration target.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetExistingRegistrationMetadata
Description

Gets the metadata for the existing registration.

Returnosid.Metadata metadata for the existing registration
Compliancemandatory This method must be implemented.
MethodsetExistingRegistration
Description

Sets the existing registration.

Parametersosid.id.IdregistrationId the new existing registration
ErrorsINVALID_ARGUMENT registrationId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT registrationId is null
Compliancemandatory This method must be implemented.
MethodclearExistingRegistration
Description

Removes the existing registration.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCreditOptionMetadata
Description

Gets the metadata for the credit option.

Returnosid.Metadata metadata for the credit option
Compliancemandatory This method must be implemented.
MethodsetCreditOption
Description

Sets the credit option.

Parametersdecimalcredits the new credit option
ErrorsINVALID_ARGUMENT credits is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearCreditOption
Description

Removes the credit option.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetGradingOptionMetadata
Description

Gets the metadata for the grading option.

Returnosid.Metadata metadata for the grading option
Compliancemandatory This method must be implemented.
MethodsetGradingOption
Description

Sets the grading option.

Parametersosid.id.IdgradeSystemId the new grading option
ErrorsINVALID_ARGUMENT gradeSystemId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeSystemId is null
Compliancemandatory This method must be implemented.
MethodclearGradingOption
Description

Removes the grading option.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetRegistrationRequestItemFormRecord
Description

Gets the RegistrationRequestItemFormRecord corresponding to the given registration request item record Type.

Parametersosid.type.TyperegistrationRequestItemRecordType a registration request item record type
Returnosid.course.registration.request.records.RegistrationRequestItemFormRecord the registration request item form record
ErrorsNULL_ARGUMENT registrationRequestItemRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(registrationRequestItemRecordType) is false
Compliancemandatory This method must be implemented.