public interface AssessmentRequirement extends OsidRule, Aggregateable
A AssessmentRequirement is an OsidRule
and represents a requirement based on an Assessment.
| Modifier and Type | Method and Description |
|---|---|
Requisite[] |
getAltRequisites()
Gets any
Requisites that may be substituted in place of
this AssessmentRequirement. |
Assessment |
getAssessment()
Gets the
Assessment. |
Id |
getAssessmentId()
Gets the
Id of the Assessment. |
AssessmentRequirementRecord |
getAssessmentRequirementRecord(Type assessmentRequirementRecordType)
Gets the assessment requirement record corresponding to the given
AssessmentRequirement record Type. |
Grade |
getMinimumGrade()
Gets the minimum grade.
|
Id |
getMinimumGradeId()
Gets the minimum grade
Id. |
java.math.BigDecimal |
getMinimumScore()
Gets the minimum score.
|
GradeSystem |
getMinimumScoreSystem()
Gets the scoring system for the minimum score.
|
Id |
getMinimumScoreSystemId()
Gets the scoring system
Id for the minimum score. |
Duration |
getTimeframe()
Gets the timeframe in which the assessment has to be completed.
|
boolean |
hasMinimumGrade()
Tests if a minimum grade above passing is required in the completion
of the assessment.
|
boolean |
hasMinimumScore()
Tests if a minimum score above passing is required in the completion
of the assessment.
|
boolean |
hasTimeframe()
Tests if the assessment must be completed within the required
duration.
|
getDescription, getDisplayName, getGenusType, isOfGenusTypegetId, isCurrentgetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeisActive, isDisabled, isEnabled, isOperationalRequisite[] getAltRequisites()
Requisites that may be substituted in place of
this AssessmentRequirement. All Requisites
must be satisifed to be a substitute for this assessment
requirement. Inactive Requisites are not evaluated but
if no applicable requisite exists, then the alternate requisite is not
satisifed.mandatory - This method must be implemented. Id getAssessmentId()
Id of the Assessment. Id mandatory - This method must be implemented. Assessment getAssessment() throws OperationFailedException
Assessment. OperationFailedException - unable to complete requestmandatory - This method must be implemented. boolean hasTimeframe()
true if the assessment has to be completed
within a required time, false if it could have
been completed at any time in the pastmandatory - This method must be implemented. Duration getTimeframe()
IllegalStateException - hasTimeframe()
is false mandatory - This method must be implemented. boolean hasMinimumGrade()
true if a minimum grade is required,
false if the course just has to be passedmandatory - This method must be implemented. Id getMinimumGradeId()
Id. Id IllegalStateException - hasMinimumGrade()
is false mandatory - This method must be implemented. Grade getMinimumGrade() throws OperationFailedException
IllegalStateException - hasMinimumGrade()
is false OperationFailedException - unable to complete requestmandatory - This method must be implemented. boolean hasMinimumScore()
true if a minimum score is required,
false if the course just has to be passedmandatory - This method must be implemented. Id getMinimumScoreSystemId()
Id for the minimum score. Id IllegalStateException - hasMinimumScore()
is false mandatory - This method must be implemented. GradeSystem getMinimumScoreSystem() throws OperationFailedException
IllegalStateException - hasMinimumScore()
is false OperationFailedException - unable to complete requestmandatory - This method must be implemented. java.math.BigDecimal getMinimumScore()
IllegalStateException - hasMinimumScore()
is false mandatory - This method must be implemented. AssessmentRequirementRecord getAssessmentRequirementRecord(Type assessmentRequirementRecordType) throws OperationFailedException
AssessmentRequirement record Type. This
method is used to retrieve an object implementing the requested
record. The assessmentRequirementRecordType may be the
Type returned in getRecordTypes() or any
of its parents in a Type hierarchy where
hasRecordType(assessmentRequirementRecordType) is true
.assessmentRequirementRecordType - the type of assessment
requirement record to retrieveNullArgumentException -
assessmentRequirementRecordType is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(assessmentRequirementRecordType) is
false mandatory - This method must be implemented.