public interface Enrollment extends OsidRelationship
An Enrollment is an OsidRelationship
between a student and a ProgramOffering.
| Modifier and Type | Method and Description |
|---|---|
EnrollmentRecord |
getEnrollmentRecord(Type enrollmentRecordType)
Gets the enrollment record corresponding to the given
Enrollment record Type. |
ProgramOffering |
getProgramOffering()
Gets the program offering associated with this registration.
|
Id |
getProgramOfferingId()
Gets the program offering
Id associated with this
registration. |
Resource |
getStudent()
Gets the student
Resource. |
Id |
getStudentId()
Gets the
Id of the student Resource. |
getEndReason, getEndReasonId, hasEndReasongetDescription, getDisplayName, getGenusType, isOfGenusTypegetId, isCurrentgetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypegetEndDate, getStartDate, isEffectiveId getProgramOfferingId()
Id associated with this
registration. Id mandatory - This method must be implemented. ProgramOffering getProgramOffering() throws OperationFailedException
OperationFailedException - unable to complete requestmandatory - This method must be implemented. Id getStudentId()
Id of the student Resource. Resource Id mandatory - This method must be implemented. Resource getStudent() throws OperationFailedException
Resource. OperationFailedException - unable to complete requestmandatory - This method must be implemented. EnrollmentRecord getEnrollmentRecord(Type enrollmentRecordType) throws OperationFailedException
Enrollment record Type. This method is used to
retrieve an object implementing the requested record. The
enrollmentRecordType may be the Type returned
in getRecordTypes() or any of its parents in a
Type hierarchy where
hasRecordType(enrollmentRecordType) is true .enrollmentRecordType - the type of enrollment record to retrieveNullArgumentException - enrollmentRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(enrollmentRecordType) is false
mandatory - This method must be implemented.