Interface LearningObjectiveRequirement
- All Superinterfaces:
Aggregateable, Browsable, Extensible, Identifiable, Operable, OsidObject, OsidRule
A LearningObjectiveRequirement is an OsidRule and
represents a requirement based on a learning Objective .
-
Method Summary
Modifier and TypeMethodDescriptionGets anyRequisitesthat may be substituted in place of thisLearningObjectiveRequirement.Gets theLearningObjective.Gets theIdof theLearningObjective.getLearningObjectiveRequirementRecord(Type learningObjectiveRequirementRecordType) Gets the learning objective requirement record corresponding to the givenLearningObjectiveRequirementrecordType.Gets the minimum proficiency expressed as aGrade.Gets the minimum proficiency expressed as aGrade.booleanTests if a minimum grade in proficency is required for this learning objective.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.Methods inherited from interface OsidRule
getConditionRecordTypes, getRule, getRuleId, hasRule
-
Method Details
-
getAltRequisites
Requisite[] getAltRequisites()Gets anyRequisitesthat may be substituted in place of thisLearningObjectiveRequirement. AllRequisitesmust be satisifed to be a substitute for this learning objective requirement. InactiveRequisitesare not evaluated but if no applicable requisite exists, then the alternate requisite is not satisifed.- Returns:
- the alternate requisites
- Compliance:
mandatory- This method must be implemented.
-
getLearningObjectiveId
Id getLearningObjectiveId()Gets theIdof theLearningObjective.- Returns:
- the learning objective
Id - Compliance:
mandatory- This method must be implemented.
-
getLearningObjective
Gets theLearningObjective.- Returns:
- the learning objective
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasMinimumProficiency
boolean hasMinimumProficiency()Tests if a minimum grade in proficency is required for this learning objective.- Returns:
trueif a minimum proficiency is required,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getMinimumProficiencyId
Id getMinimumProficiencyId()Gets the minimum proficiency expressed as aGrade.- Returns:
- the minimum proficiency
- Throws:
IllegalStateException-hasMinimumProficiency()isfalse- Compliance:
mandatory- This method must be implemented.
-
getMinimumProficiency
Gets the minimum proficiency expressed as aGrade.- Returns:
- the minimum proficiency
- Throws:
IllegalStateException-hasMinimumProficiency()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getLearningObjectiveRequirementRecord
LearningObjectiveRequirementRecord getLearningObjectiveRequirementRecord(Type learningObjectiveRequirementRecordType) throws OperationFailedException Gets the learning objective requirement record corresponding to the givenLearningObjectiveRequirementrecordType. This method is used to retrieve an object implementing the requested record. ThelearningObjectiveRequirementRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(learningObjectiveRequirementRecordType)istrue.- Parameters:
learningObjectiveRequirementRecordType- the type of learning objective requirement record to retrieve- Returns:
- the learning objective requirement record
- Throws:
NullArgumentException-learningObjectiveRequirementRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(learningObjectiveRequirementRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-