Interface Course
- All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidObject
A Course represents a canonical course that manages the
curriculum of learning units. A Course is composed of
ActivityUnits that manage the details of the curriculum and instantiated
for offering through the creation of a CourseOffering .
-
Method Summary
Modifier and TypeMethodDescriptionGets theIdlist of courses thisCoursemust be taken concurrently.The list ofCoursesthisCoursemust be taken concurrently.getCourseRecord(Type courseRecordType) Gets the course record corresponding to the givenCourserecordType.This method is used to retrieve an object implementing the requested record.Gets the credits in which this course can be offered.Gets the credits in which this course can be offered.Gets the various grading optionIdsavailable to register in this course.Gets the various grading options available to register in this course.Gets the overall learning objectiveIdsfor this course.Gets the overall learning objectives for this course.Gets the grade levelIdsof this course.Gets the grade levels of this course.Gets the course number which is a label generally used to index the course 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 sponsorIds.Gets the sponsors.Gets the target audienceIdsfor this course.Gets the target audiences for this course.getTitle()Gets the formal title of this course.booleanTests if this course has associated learning objectives.booleanTests if this course hasRequisitesfor the course prerequisites.booleanTests if this course has sponsors.booleanTests if this course has associated target audiences.booleanisGraded()Tests if this course is graded.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 Operable
isActive, isDisabled, isEnabled, isOperationalModifier and TypeMethodDescriptionbooleanisActive()Tests if this operable is active.booleanTests if this operable is administravely disabled.booleanTests if this operable is administravely enabled.booleanTests if thisOperableis operational.Methods 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.
-
Method Details
-
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 in a catalog, such as T101 or 16.004.- Returns:
- the course number
- 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 offered. 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 offered. 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 hasRequisitesfor the course prerequisites.- Returns:
trueif this course 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 thisCoursemust be taken concurrently.- Returns:
- the list of concurrent course
Ids - Compliance:
mandatory- This method must be implemented.
-
getConcurrentCourses
The list ofCoursesthisCoursemust 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. 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. 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 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 has associated learning objectives.- Returns:
trueif this course has a learning objective,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getLearningObjectiveIds
IdList getLearningObjectiveIds()Gets the overall learning objectiveIdsfor this course.- Returns:
Idsof thelearning objectives- Throws:
IllegalStateException-hasLearningObjectives()isfalse- Compliance:
mandatory- This method is must be implemented.
-
getLearningObjectives
Gets the overall learning objectives for this course.- Returns:
- the learning objectives
- Throws:
IllegalStateException-hasLearningObjectives()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasTargetAudiences
boolean hasTargetAudiences()Tests if this course has associated target audiences.- Returns:
trueif this course has a target audience,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getTargetAudienceIds
IdList getTargetAudienceIds()Gets the target audienceIdsfor this course.- Returns:
- the target audience
Ids - Throws:
IllegalStateException-hasTargetAudiences()isfalse- Compliance:
mandatory- This method must be implemented.
-
getTargetAudiences
Gets the target audiences for this course.- Returns:
- the target audiences
- Throws:
IllegalStateException-hasTargetAudiences()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getCourseRecord
Gets the course record corresponding to the givenCourserecordType.This method is used to retrieve an object implementing the requested record. ThecourseRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(courseRecordType)istrue.- Parameters:
courseRecordType- the type of course record to retrieve- Returns:
- the course record
- Throws:
NullArgumentException-courseRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(courseRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-