Interface Module
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, Subjugateable
A Module is a major portion of a Syllabus and may have
a related set of Docets .
-
Method Summary
Modifier and TypeMethodDescriptiongetModuleRecord(Type moduleRecordType) Gets the module record corresponding to the givenModulerecordType.This method is used to retrieve an object implementing the requested record.Gets the syllabus.Gets theIdof the syllabus.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.
-
Method Details
-
getSyllabusId
Id getSyllabusId()Gets theIdof the syllabus.- Returns:
- the syllabus
Id - Compliance:
mandatory- This method must be implemented.
-
getSyllabus
Gets the syllabus.- Returns:
- the syllabus
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getModuleRecord
Gets the module record corresponding to the givenModulerecordType.This method is used to retrieve an object implementing the requested record. ThemoduleRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(moduleRecordType)istrue.- Parameters:
moduleRecordType- the type of module record to retrieve- Returns:
- the module record
- Throws:
NullArgumentException-moduleRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(moduleRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-