public interface Course extends OsidObject, Operable
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.
Modifier and Type | Method and Description |
---|---|
CourseRecord |
getCourseRecord(Type courseRecordType)
Gets the course record corresponding to the given
Course
record Type. |
IdList |
getCreditAmountIds()
Gets the credits in which this course can be offered.
|
GradeList |
getCreditAmounts()
Gets the credits in which this course can be offered.
|
IdList |
getGradingOptionIds()
Gets the various grading option
Ids available to
register in this course. |
GradeSystemList |
getGradingOptions()
Gets the various grading options available to register in this course.
|
IdList |
getLearningObjectiveIds()
Gets the overall learning objective
Ids for this
course. |
ObjectiveList |
getLearningObjectives()
Gets the overall learning objectives for this course.
|
IdList |
getLevelIds()
Gets the grade level
Ids of this course. |
GradeList |
getLevels()
Gets the grade levels of this course.
|
java.lang.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.
|
IdList |
getPrerequisiteIds()
Gets the requisite
Ids for the course prerequisites. |
RequisiteList |
getPrerequisites()
Gets the requisites for the course prerequisites.
|
DisplayText |
getPrerequisitesInfo()
Gets the an informational string for the course prerequisites.
|
IdList |
getSponsorIds()
Gets the sponsor
Ids. |
ResourceList |
getSponsors()
Gets the sponsors.
|
DisplayText |
getTitle()
Gets the formal title of this course.
|
boolean |
hasLearningObjectives()
Tests if this course has associated learning objectives.
|
boolean |
hasPrerequisites()
Tests if this course has
Requisites for the course
prerequisites. |
boolean |
hasSponsors()
Tests if this course has sponsors.
|
boolean |
isGraded()
Tests if this course is graded.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
isActive, isDisabled, isEnabled, isOperational
DisplayText getTitle()
mandatory
- This method must be implemented. java.lang.String getNumber()
mandatory
- This method must be implemented. boolean hasSponsors()
true
if this course has sponsors, false
otherwisemandatory
- This method must be implemented. IdList getSponsorIds()
Ids.
Ids
IllegalStateException
- hasSponsors()
is
false
mandatory
- This method must be implemented. ResourceList getSponsors() throws OperationFailedException
IllegalStateException
- hasSponsors()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. IdList getCreditAmountIds()
Grades.
Ids
mandatory
- This method must be implemented. GradeList getCreditAmounts() throws OperationFailedException
Grades.
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. DisplayText getPrerequisitesInfo()
mandatory
- This method must be implemented. boolean hasPrerequisites()
Requisites
for the course
prerequisites. true
if this course has prerequisites
false
otherwisemandatory
- This method must be implemented. IdList getPrerequisiteIds()
Ids
for the course prerequisites. Ids
IllegalStateException
- hasPrerequisites()
is false
mandatory
- This method must be implemented. RequisiteList getPrerequisites() throws OperationFailedException
Requisite
is an AND
term such that all
Requisites
must be true for the prerequisites to be satisifed.IllegalStateException
- hasPrerequisites()
is false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. IdList getLevelIds()
Ids
of this course. Multiple
levels may exist for different systems. Ids
mandatory
- This method must be implemented. GradeList getLevels() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean isGraded()
true
if this course is graded, false
otherwisemandatory
- This method must be implemented. IdList getGradingOptionIds()
Ids
available to
register in this course. Ids
IllegalStateException
- isGraded()
is
false
mandatory
- This method must be implemented. GradeSystemList getGradingOptions() throws OperationFailedException
IllegalStateException
- isGraded()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean hasLearningObjectives()
true
if this course has a learning objective,
false
otherwisemandatory
- This method must be implemented. IdList getLearningObjectiveIds()
Ids
for this
course. Ids
of the l
earning objectivesIllegalStateException
- hasLearningObjectives()
is false
mandatory
- This method is must be implemented. ObjectiveList getLearningObjectives() throws OperationFailedException
IllegalStateException
- hasLearningObjectives()
is false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. CourseRecord getCourseRecord(Type courseRecordType) throws OperationFailedException
Course
record Type.
This method is used to retrieve an
object implementing the requested record. The courseRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(courseRecordType)
is true
.courseRecordType
- the type of course record to retrieveNullArgumentException
- courseRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(courseRecordType)
is false
mandatory
- This method must be implemented.