Interface Module

All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, Subjugateable

public interface Module extends OsidObject, Subjugateable

A Module is a major portion of a Syllabus and may have a related set of Docets .

  • Method Details

    • getSyllabusId

      Id getSyllabusId()
      Gets the Id of the syllabus.
      Returns:
      the syllabus Id
      Compliance:
      mandatory - This method must be implemented.
    • getSyllabus

      Syllabus getSyllabus() throws OperationFailedException
      Gets the syllabus.
      Returns:
      the syllabus
      Throws:
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • getModuleRecord

      ModuleRecord getModuleRecord(Type moduleRecordType) throws OperationFailedException
      Gets the module record corresponding to the given Module record Type .This method is used to retrieve an object implementing the requested record. The moduleRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(moduleRecordType) is true .
      Parameters:
      moduleRecordType - the type of module record to retrieve
      Returns:
      the module record
      Throws:
      NullArgumentException - moduleRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(moduleRecordType) is false
      Compliance:
      mandatory - This method must be implemented.