Interface CourseOffering
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, OsidRelationship, Temporal
A CourseOffering represents a learning unit offered duing a
Term . Scheduling information of a CourseOffering is
maintained at the Activity level resulting in a composite
RecurringEvent . A separate Calendar of activities can be made
available through orchestration of the Calendaring OSID.
-
Method Summary
Modifier and TypeMethodDescriptionGets theIdlist of courses thisCourseOfferingmust be taken concurrently.The list ofCoursesthisCourseOfferingmust be taken concurrently.Gets the canonical course associated with this course offering.Gets the canonical courseIdassociated with this course offering.getCourseOfferingRecord(Type courseOfferingRecordType) Gets the course offering record corresponding to the givenCourseOfferingrecordType.Gets the credits in which this course can be registered.Gets the credits in which this course can be registered.getEvent()Gets the calendaring event with the schedule details.Gets the calendaring eventId.Gets the various grading optionIdsavailable to register in this course.Gets the various grading options available to register in this course.Gets the instructorIds.Gets the instructors.Gets the overall learning objectiveIdsfor this course offering.Gets the overall learning objectives for this course offering.Gets the grade levelIdsof this course offering.Gets the grade levels of this course offering.longGets the maximum number of students this offering can have.longGets the minimum number of students this offering can have.Gets the course number which is a label generally used to index the course offering in a catalog, such as T101 or 16.004.Gets the requisiteIdsfor the course prerequisites.Gets the requisites for the course prerequisites.Gets the an informational text for the course prerequisites.Gets the restricted audienceIdsfor this course offering.Gets the restricted audiences for this course offering.Gets the an informational string for the course offering schedule.Gets the sponsorIds.Gets the sponsors.getTerm()Gets theTermof this offering.Gets theIdof theTermof this offering.getTitle()Gets the formal title of this course.getURL()Gets an external resource, such as a class web site, associated with this offering.booleanhasEvent()Tests if a calendaring event is available for this course offering with the schedule details.booleanTests if this course offering has associated learning objectives.booleanTests if this course offering hasRequisitesfor the course prerequisites.booleanTests if this course offering has restricted audiences.booleanTests if this course has sponsors.booleanisGraded()Tests if this course offering is graded.booleanTests if this course offering has limited seating.booleanTests if this course offering requires advanced registration.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.Methods inherited from interface OsidRelationship
getEndReason, getEndReasonId, hasEndReasonModifier and TypeMethodDescriptionGets a state indicating why this relationship has ended.Gets a stateIdindicating why this relationship has ended.booleanTests if a reason this relationship came to an end is known.Methods inherited from interface Temporal
getEndDate, getStartDate, isEffectiveModifier and TypeMethodDescriptionGets the end date.Gets the start date.booleanTests if the current date is within the start end end dates inclusive.
-
Method Details
-
getCourseId
Id getCourseId()Gets the canonical courseIdassociated with this course offering.- Returns:
- the course
Id - Compliance:
mandatory- This method must be implemented.
-
getCourse
Gets the canonical course associated with this course offering.- Returns:
- the course
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getTermId
Id getTermId()Gets theIdof theTermof this offering.- Returns:
- the
TermId - Compliance:
mandatory- This method must be implemented.
-
getTerm
Gets theTermof this offering.- Returns:
- the term
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getTitle
DisplayText getTitle()Gets the formal title of this course. It may be the same as the display name or it may be used to more formally label the course. A display name might be Physics 102 where the title is Introduction to Electromagentism.- Returns:
- the course title
- Compliance:
mandatory- This method must be implemented.
-
getNumber
String getNumber()Gets the course number which is a label generally used to index the course offering in a catalog, such as T101 or 16.004.- Returns:
- the course number
- Compliance:
mandatory- This method must be implemented.
-
getInstructorIds
IdList getInstructorIds()Gets the instructorIds. If each activity has its own instructor, the headlining instructors may be returned.- Returns:
- the instructor
Ids - Compliance:
mandatory- This method must be implemented.
-
getInstructors
Gets the instructors. If each activity has its own instructor, the headlining instructors may be returned.- Returns:
- the sponsors
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasSponsors
boolean hasSponsors()Tests if this course has sponsors.- Returns:
trueif this course has sponsors,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSponsorIds
IdList getSponsorIds()Gets the sponsorIds.- Returns:
- the sponsor
Ids - Throws:
IllegalStateException-hasSponsors()isfalse- Compliance:
mandatory- This method must be implemented.
-
getSponsors
Gets the sponsors.- Returns:
- the sponsors
- Throws:
IllegalStateException-hasSponsors()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getCreditAmountIds
IdList getCreditAmountIds()Gets the credits in which this course can be registered. The credits are expressed asGrades.- Returns:
- the grade
Ids - Compliance:
mandatory- This method must be implemented.
-
getCreditAmounts
Gets the credits in which this course can be registered. The credits are expressed asGrades.- Returns:
- the credits
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getPrerequisitesInfo
DisplayText getPrerequisitesInfo()Gets the an informational text for the course prerequisites.- Returns:
- the course prerequisites
- Compliance:
mandatory- This method must be implemented.
-
hasPrerequisites
boolean hasPrerequisites()Tests if this course offering hasRequisitesfor the course prerequisites.- Returns:
trueif this course offering has prerequisitesfalseotherwise- Compliance:
mandatory- This method must be implemented.
-
getPrerequisiteIds
IdList getPrerequisiteIds()Gets the requisiteIdsfor the course prerequisites.- Returns:
- the requisite
Ids - Throws:
IllegalStateException-hasPrerequisites()isfalse- Compliance:
mandatory- This method must be implemented.
-
getPrerequisites
Gets the requisites for the course prerequisites. EachRequisiteis anANDterm such that allRequisitesmust be true for the prerequisites to be satisifed.- Returns:
- the requisites
- Throws:
IllegalStateException-hasPrerequisites()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getConcurrentCourseIds
IdList getConcurrentCourseIds()Gets theIdlist of courses thisCourseOfferingmust be taken concurrently.- Returns:
- the list of concurrent course
Ids - Compliance:
mandatory- This method must be implemented.
-
getConcurrentCourses
The list ofCoursesthisCourseOfferingmust be taken concurrently. Courses which can be completed independently but allowed to be taken simultaneously is described usingRequisites.- Returns:
- the list of concurrent courses
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getLevelIds
IdList getLevelIds()Gets the grade levelIdsof this course offering. Multiple levels may exist for different systems.- Returns:
- the returned list of grade level
Ids - Compliance:
mandatory- This method must be implemented.
-
getLevels
Gets the grade levels of this course offering. Multiple levels may exist for different systems.- Returns:
- the returned list of grade levels
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isGraded
boolean isGraded()Tests if this course offering is graded.- Returns:
trueif this course is graded,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getGradingOptionIds
IdList getGradingOptionIds()Gets the various grading optionIdsavailable to register in this course.- Returns:
- the returned list of grading option
Ids - Throws:
IllegalStateException-isGraded()isfalse- Compliance:
mandatory- This method must be implemented.
-
getGradingOptions
Gets the various grading options available to register in this course.- Returns:
- the returned list of grading options
- Throws:
IllegalStateException-isGraded()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasLearningObjectives
boolean hasLearningObjectives()Tests if this course offering has associated learning objectives.- Returns:
trueif this course offering has a learning objective,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getLearningObjectiveIds
IdList getLearningObjectiveIds()Gets the overall learning objectiveIdsfor this course offering.- Returns:
Idsof thelearning objectives- Throws:
IllegalStateException-hasLearningObjectives()isfalse- Compliance:
mandatory- This method must be implemented.
-
getLearningObjectives
Gets the overall learning objectives for this course offering.- Returns:
- the learning objectives
- Throws:
IllegalStateException-hasLearningObjectives()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasRestrictedAudiences
boolean hasRestrictedAudiences()Tests if this course offering has restricted audiences.- Returns:
trueif this course offering has a restricted audience,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRestrictedAudienceIds
IdList getRestrictedAudienceIds()Gets the restricted audienceIdsfor this course offering.- Returns:
- the restricted audience
Ids - Throws:
IllegalStateException-hasRestrictedAudiences()isfalse- Compliance:
mandatory- This method must be implemented.
-
getRestrictedAudiences
Gets the restricted audiences for this course offering.- Returns:
- the restricted audiences
- Throws:
IllegalStateException-hasRestrictedAudiences()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
requiresRegistration
boolean requiresRegistration()Tests if this course offering requires advanced registration.- Returns:
trueif this course requires advance registration,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getMinimumSeats
long getMinimumSeats()Gets the minimum number of students this offering can have.- Returns:
- the minimum seats
- Compliance:
mandatory- This method must be implemented.
-
isSeatingLimited
boolean isSeatingLimited()Tests if this course offering has limited seating.- Returns:
trueif this seating is limited,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getMaximumSeats
long getMaximumSeats()Gets the maximum number of students this offering can have.- Returns:
- the maximum seats
- Throws:
IllegalStateException-isSeatingLimited()isfalse- Compliance:
mandatory- This method must be implemented.
-
getURL
String getURL()Gets an external resource, such as a class web site, associated with this offering.- Returns:
- a URL string
- Compliance:
mandatory- This method must be implemented.
-
getScheduleInfo
DisplayText getScheduleInfo()Gets the an informational string for the course offering schedule.- Returns:
- the schedule info
- Compliance:
mandatory- This method must be implemented.
-
hasEvent
boolean hasEvent()Tests if a calendaring event is available for this course offering with the schedule details.- Returns:
trueif this course is graded,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getEventId
Id getEventId()Gets the calendaring eventId.- Returns:
- the event
Id - Throws:
IllegalStateException-hasEvent()isfalse- Compliance:
mandatory- This method must be implemented.
-
getEvent
Gets the calendaring event with the schedule details.- Returns:
- an event
- Throws:
IllegalStateException-hasEvent()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getCourseOfferingRecord
CourseOfferingRecord getCourseOfferingRecord(Type courseOfferingRecordType) throws OperationFailedException Gets the course offering record corresponding to the givenCourseOfferingrecordType. This method is used to retrieve an object implementing the requested record. ThecourseOfferingRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(courseOfferingRecordType)istrue.- Parameters:
courseOfferingRecordType- the type of course offering record to retrieve- Returns:
- the course offering record
- Throws:
NullArgumentException-courseOfferingRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(courseOfferingRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-