OSID Logo
OSID Specifications
course registration request package
Version 3.0.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.Metadatametadata for the student
CompliancemandatoryThis method must be implemented.
MethodsetStudent
Description

Sets the student resource.

Parametersosid.id.IdresourceIdthe new student
ErrorsINVALID_ARGUMENTresourceiId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearStudent
Description

Removes the student.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetRegistrationTargetMetadata
Description

Gets the metadata for the registration target.

Returnosid.Metadatametadata for the registration target
CompliancemandatoryThis method must be implemented.
MethodsetRegistrationTarget
Description

Sets the registration target.

Parametersosid.id.IdregistrationTargetIdthe new student
ErrorsINVALID_ARGUMENTregistrationTargetId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTregistrationTargetId is null
CompliancemandatoryThis method must be implemented.
MethodclearRegistrationTarget
Description

Removes the registration target.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingRegistrationMetadata
Description

Gets the metadata for the existing registration.

Returnosid.Metadatametadata for the existing registration
CompliancemandatoryThis method must be implemented.
MethodsetExistingRegistration
Description

Sets the existing registration.

Parametersosid.id.IdregistrationIdthe new existing registration
ErrorsINVALID_ARGUMENTregistrationId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTregistrationId is null
CompliancemandatoryThis method must be implemented.
MethodclearExistingRegistration
Description

Removes the existing registration.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetCreditOptionMetadata
Description

Gets the metadata for the credit option.

Returnosid.Metadatametadata for the credit option
CompliancemandatoryThis method must be implemented.
MethodsetCreditOption
Description

Sets the credit option.

Parametersdecimalcreditsthe new credit option
ErrorsINVALID_ARGUMENTcredits is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearCreditOption
Description

Removes the credit option.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetGradingOptionMetadata
Description

Gets the metadata for the grading option.

Returnosid.Metadatametadata for the grading option
CompliancemandatoryThis method must be implemented.
MethodsetGradingOption
Description

Sets the grading option.

Parametersosid.id.IdgradeSystemIdthe new grading option
ErrorsINVALID_ARGUMENTgradeSystemId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTgradeSystemId is null
CompliancemandatoryThis method must be implemented.
MethodclearGradingOption
Description

Removes the grading option.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetRegistrationRequestItemFormRecord
Description

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

Parametersosid.type.TyperegistrationRequestItemRecordTypea registration request item record type
Returnosid.course.registration.request.records.RegistrationRequestItemFormRecordthe registration request item form record
ErrorsNULL_ARGUMENTregistrationRequestItemRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(registrationRequestItemRecordType) is false
CompliancemandatoryThis method must be implemented.