public interface Requisite extends OsidRule, OsidEnabler, Containable
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.
Rule OR terms A Requsite 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.
| Modifier and Type | Method and Description |
|---|---|
AssessmentRequirement[] |
getAssessmentRequirements()
Gets the assessment requirements term.
|
AwardRequirement[] |
getAwardRequirements()
Gets the award requirements term.
|
CourseRequirement[] |
getCourseRequirements()
Gets the course requirements term.
|
CredentialRequirement[] |
getCredentialRequirements()
Gets the credential requirements term.
|
LearningObjectiveRequirement[] |
getLearningObjectiveRequirements()
Gets the learning objective requirements term.
|
ProgramRequirement[] |
getProgramRequirements()
Gets the program requirements term.
|
Requisite[] |
getRequisiteOptions()
Gets the requisite options for the
Requisite options
term. |
RequisiteRecord |
getRequisiteRecord(Type requisiteRecordType)
Gets the requisite record corresponding to the given
Requisite
record Type. |
boolean |
hasAssessmentRequirements()
Tests if any assessment requirements are defined.
|
boolean |
hasAwardRequirements()
Tests if any award requirements are defined.
|
boolean |
hasCourseRequirements()
Tests if any course requirements are defined.
|
boolean |
hasCredentialRequirements()
Tests if any credential requirements are defined.
|
boolean |
hasLearningObjectiveRequirements()
Tests if any learning objective requirements are defined.
|
boolean |
hasProgramRequirements()
Tests if any program requirements are defined.
|
boolean |
hasRequisiteOptions()
Tests if any requisite options are defined.
|
getCyclicEvent, getCyclicEventId, getDemographic, getDemographicId, getEvent, getEventId, getSchedule, getScheduleId, isEffectiveByCyclicEvent, isEffectiveByEvent, isEffectiveBySchedule, isEffectiveForDemographicgetDescription, getDisplayName, getGenusType, isOfGenusTypegetId, isCurrentgetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeisActive, isDisabled, isEnabled, isOperationalgetEndDate, getStartDate, isEffectiveisSequesteredboolean hasRequisiteOptions()
true. If
requisite options are defined, then at least one Requisite
must evaluate to true for the requisite option
term to be true. true if any requisite options are defined,
false otherwisemandatory - This method must be implemented. Requisite[] getRequisiteOptions()
Requisite options
term. If any active requisite options are available, meeting the
requirements of any one of these requisite options evaluates this
requisite options term as true. If no active requisite
options apply then this term evaluates to false. IllegalStateException - hasRequisiteOptions()
is false mandatory - This method must be implemented. boolean hasCourseRequirements()
true. If course requirements are defined, then at least
one CourseRequirement must evaluate to true
for the course requirement term to be true. true if any course requirements are defined,
false otherwisemandatory - This method must be implemented. CourseRequirement[] getCourseRequirements()
CourseRequirements
are available, meeting the requirements of any one of the
CourseRequirements evaluates this course requirements
term as true. If no active course requirements apply
then this course requirements term is false. IllegalStateException - hasCourseRequirements()
is false mandatory - This method must be implemented. boolean hasProgramRequirements()
true. If program requirements are defined, then at
least one ProgramRequirement must evaluate to
true for the program requirement term to be true.
true if any program requirements are defined,
false otherwisemandatory - This method must be implemented. ProgramRequirement[] getProgramRequirements()
ProgramRequirements
are available, meeting the requirements of any one of the
ProgramRequirements evaluates this program requirements
term as true. If no program requirements apply then
this program requirements term evaluates to false. IllegalStateException - hasProgramRequirements()
is false mandatory - This method must be implemented. boolean hasCredentialRequirements()
true. If credential requirements are defined, then
at least one CredentialRequirement must evaluate to
true for the credential requirement term to be
true. true if any credential requirements are
defined, false otherwisemandatory - This method must be implemented. CredentialRequirement[] getCredentialRequirements()
CredentialRequirements are available, meeting the requirements
of any one of the CredentialRequirements evaluates this
credential requirements term as true. If no credential
requirements are available, this credential requirements term
evaluates to false. IllegalStateException -
hasCredentialRequirements() is false mandatory - This method must be implemented. boolean hasLearningObjectiveRequirements()
true. If learning
objective requirements are defined, then at least one
LearningObjectiveRequirement must evaluate to true
for the learning objective requirement term to be true.
true if any learning objective requirements are
defined, false otherwisemandatory - This method must be implemented. LearningObjectiveRequirement[] getLearningObjectiveRequirements()
LearningObjectiveRequirements are available, meeting the
requirements of any one of the LearningObjectiveRequirements
evaluates this learning objective requirements term as
true. If no learning objective requirements applythen this
learning objective requirements term evaluates to false.
IllegalStateException -
hasLearningObjectiveRequirements() is false
mandatory - This method must be implemented. boolean hasAssessmentRequirements()
true. If assessment requirements are defined, then
at least one AssessmentRequirement must evaluate to
true for the assessment requirement term to be
true. true if any assessment requirements are
defined, false otherwisemandatory - This method must be implemented. AssessmentRequirement[] getAssessmentRequirements()
AssessmentRequirements are available, meeting the requirements
of any one of the AssessmentRequirements evaluates this
assessment requirements term as true. If no assessment
requirements are available, this assessment requirements term
evaluates to false. IllegalStateException -
hasAssessmentRequirements() is false mandatory - This method must be implemented. boolean hasAwardRequirements()
true.
If award requirements are defined, then at least one
AwardRequirement must evaluate to true for the
award requirement term to be true. true if any award requirements are defined,
false otherwisemandatory - This method must be implemented. AwardRequirement[] getAwardRequirements()
AwardRequirements
are available, meeting the requirements of any one of the
AwardRequirements evaluates this award requirements
term as true. If no award requirements are available,
this award requirements term evaluates to false. IllegalStateException - hasAwardRequirements()
is false mandatory - This method must be implemented. RequisiteRecord getRequisiteRecord(Type requisiteRecordType) throws OperationFailedException
Requisite
record Type. This method is used to retrieve an
object implementing the requested record. The
requisiteRecordType may be the Type returned in
getRecordTypes() or any of its parents in a Type
hierarchy where hasRecordType(requisiteRecordType)
is true .requisiteRecordType - the type of requisite record to retrieveNullArgumentException - requisiteRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(requisiteRecordType) is false
mandatory - This method must be implemented.