Interface Requisite
- All Superinterfaces:
Browsable, Containable, Extensible, Identifiable, Operable, OsidEnabler, OsidObject, OsidRule, Temporal
A Requisite represents a requirement. A Requisite has 8
terms for evaluation that must all be true for this Requisite to
be satisfied. Additional terms may be defined in the
RequisiteRecord .
- CourseRequirements
- ProgramRequirements
- CredentialRequirements
- AssessmentRequirements
- AwardRequirements
- LearningObjectiveRequirements
- an external
Rule - Requisite options for nested
ORterms
A Requisite is true if the active Requisite options
term AND the CourseRequirements term AND the
ProgramRequirements term AND CredentialRequirements term
AND the AssessemnetRequirements term AND the
LearningObjectiveRequirements AND Rule are all
true .
Requisites are also OsidEnablers that have effectiveness
and may apply to specific populations of students.-
Method Summary
Modifier and TypeMethodDescriptionGets the assessment requirements term.Gets the award requirements term.Gets the course requirements term.Gets the credential requirements term.Gets the learning objective requirements term.Gets the program requirements term.Gets the requisite options for theRequisiteoptions term.getRequisiteRecord(Type requisiteRecordType) Gets the requisite record corresponding to the givenRequisiterecordType.booleanTests if any assessment requirements are defined.booleanTests if any award requirements are defined.booleanTests if any course requirements are defined.booleanTests if any credential requirements are defined.booleanTests if any learning objective requirements are defined.booleanTests if any program requirements are defined.booleanTests if any requisite options are defined.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 Containable
isSequesteredModifier and TypeMethodDescriptionbooleanTests if thisContainableis sequestered in that it should not appear outside of its aggregated composition.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 OsidEnabler
getCyclicEvent, getCyclicEventId, getCyclicTimePeriod, getCyclicTimePeriodId, getEvent, getEventId, getSchedule, getScheduleId, getTimePeriod, getTimePeriodId, isOperationalDuringCyclicEvent, isOperationalDuringCyclicTimePeriod, isOperationalDuringEvent, isOperationalDuringTimePeriod, isOperationalOnSchedule, isRequirementModifier and TypeMethodDescriptionGets the cyclic event.Gets the cyclic eventId.Gets the cyclic time period.Gets the cyclic time periodId.getEvent()Gets the event.Gets the eventId.Gets the schedule.Gets the scheduleId.Gets the time period.Gets the time periodId.booleanTests if the operational status of the enabler is governed by aCyclicEvent.booleanTests if this enabler is applied to a recurringCyclicTimePeriod.booleanTests if the operational status of the enabler is governed by anEvent.booleanTests if this enabler is applied to aTimePeriod.booleanTests if the operational status of the enabler is governed by aSchedule.booleanTests if thisOsidEnableris a requirement.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, hasRuleMethods inherited from interface Temporal
getEndDate, getStartDate, isEffectiveModifier and TypeMethodDescriptionGets the end date.Gets the start date.booleanTests if the current date is within the start end end dates inclusive.
-
Method Details
-
hasRequisiteOptions
boolean hasRequisiteOptions()Tests if any requisite options are defined. If no requisite options are defined, this requisite term evaluates totrue. If requisite options are defined, then at least oneRequisitemust evaluate totruefor the requisite option term to betrue.- Returns:
trueif any requisite options are defined,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRequisiteOptions
Requisite[] getRequisiteOptions()Gets the requisite options for theRequisiteoptions term. If any active requisite options are available, meeting the requirements of any one of these requisite options evaluates this requisite options term astrue. If no active requisite options apply then this term evaluates tofalse.- Returns:
- the requisites
- Throws:
IllegalStateException-hasRequisiteOptions()isfalse- Compliance:
mandatory- This method must be implemented.
-
hasCourseRequirements
boolean hasCourseRequirements()Tests if any course requirements are defined. If no course requirements are defined, this course requirements term evaluates totrue. If course requirements are defined, then at least oneCourseRequirementmust evaluate totruefor the course requirement term to betrue.- Returns:
trueif any course requirements are defined,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCourseRequirements
CourseRequirement[] getCourseRequirements()Gets the course requirements term. If anyCourseRequirementsare available, meeting the requirements of any one of theCourseRequirementsevaluates this course requirements term astrue. If no active course requirements apply then this course requirements term isfalse.- Returns:
- the course requirements
- Throws:
IllegalStateException-hasCourseRequirements()isfalse- Compliance:
mandatory- This method must be implemented.
-
hasProgramRequirements
boolean hasProgramRequirements()Tests if any program requirements are defined. If no program requirements are defined, this program requirements term evaluates totrue. If program requirements are defined, then at least oneProgramRequirementmust evaluate totruefor the program requirement term to betrue.- Returns:
trueif any program requirements are defined,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getProgramRequirements
ProgramRequirement[] getProgramRequirements()Gets the program requirements term. If anyProgramRequirementsare available, meeting the requirements of any one of theProgramRequirementsevaluates this program requirements term astrue. If no program requirements apply then this program requirements term evaluates tofalse.- Returns:
- the program requirements
- Throws:
IllegalStateException-hasProgramRequirements()isfalse- Compliance:
mandatory- This method must be implemented.
-
hasCredentialRequirements
boolean hasCredentialRequirements()Tests if any credential requirements are defined. If no credential requirements are defined, this credential requirements term evaluates totrue. If credential requirements are defined, then at least oneCredentialRequirementmust evaluate totruefor the credential requirement term to betrue.- Returns:
trueif any credential requirements are defined,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCredentialRequirements
CredentialRequirement[] getCredentialRequirements()Gets the credential requirements term. If anyCredentialRequirementsare available, meeting the requirements of any one of theCredentialRequirementsevaluates this credential requirements term astrue. If no credential requirements are available, this credential requirements term evaluates tofalse.- Returns:
- the credential requirements
- Throws:
IllegalStateException-hasCredentialRequirements()isfalse- Compliance:
mandatory- This method must be implemented.
-
hasLearningObjectiveRequirements
boolean hasLearningObjectiveRequirements()Tests if any learning objective requirements are defined. If no learning objective requirements are defined, this learning objective requirements term evaluates totrue. If learning objective requirements are defined, then at least oneLearningObjectiveRequirementmust evaluate totruefor the learning objective requirement term to betrue.- Returns:
trueif any learning objective requirements are defined,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getLearningObjectiveRequirements
LearningObjectiveRequirement[] getLearningObjectiveRequirements()Gets the learning objective requirements term. If anyLearningObjectiveRequirementsare available, meeting the requirements of any one of theLearningObjectiveRequirementsevaluates this learning objective requirements term astrue. If no learning objective requirements applythen this learning objective requirements term evaluates tofalse.- Returns:
- the learning objective requirements
- Throws:
IllegalStateException-hasLearningObjectiveRequirements()isfalse- Compliance:
mandatory- This method must be implemented.
-
hasAssessmentRequirements
boolean hasAssessmentRequirements()Tests if any assessment requirements are defined. If no assessment requirements are defined, this assessment requirements term evaluates totrue. If assessment requirements are defined, then at least oneAssessmentRequirementmust evaluate totruefor the assessment requirement term to betrue.- Returns:
trueif any assessment requirements are defined,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssessmentRequirements
AssessmentRequirement[] getAssessmentRequirements()Gets the assessment requirements term. If anyAssessmentRequirementsare available, meeting the requirements of any one of theAssessmentRequirementsevaluates this assessment requirements term astrue. If no assessment requirements are available, this assessment requirements term evaluates tofalse.- Returns:
- the assessment requirements
- Throws:
IllegalStateException-hasAssessmentRequirements()isfalse- Compliance:
mandatory- This method must be implemented.
-
hasAwardRequirements
boolean hasAwardRequirements()Tests if any award requirements are defined. If no award requirements are defined, this award requirements term evaluates totrue. If award requirements are defined, then at least oneAwardRequirementmust evaluate totruefor the award requirement term to betrue.- Returns:
trueif any award requirements are defined,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAwardRequirements
AwardRequirement[] getAwardRequirements()Gets the award requirements term. If anyAwardRequirementsare available, meeting the requirements of any one of theAwardRequirementsevaluates this award requirements term astrue. If no award requirements are available, this award requirements term evaluates tofalse.- Returns:
- the award requirements
- Throws:
IllegalStateException-hasAwardRequirements()isfalse- Compliance:
mandatory- This method must be implemented.
-
getRequisiteRecord
Gets the requisite record corresponding to the givenRequisiterecordType. This method is used to retrieve an object implementing the requested record. TherequisiteRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(requisiteRecordType)istrue.- Parameters:
requisiteRecordType- the type of requisite record to retrieve- Returns:
- the requisite record
- Throws:
NullArgumentException-requisiteRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(requisiteRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-