public interface SequenceRule extends OsidRule
A SequenceRule
defines the ordering of
AssessmentParts.
Modifier and Type | Method and Description |
---|---|
IdList |
getAppliedAssessmentPartIds()
Qualifies
isCumulative() to apply to a specific list of
assessment parts. |
AssessmentPartList |
getAppliedAssessmentParts()
Qualifies
isCumulative() to apply to a specific list of
assessment parts. |
AssessmentPart |
getAssessmentPart()
Gets the assessment part to which this rule belongs.
|
Id |
getAssessmentPartId()
Gets the assessment part
Id to which this rule belongs. |
long |
getMaximumScore()
Gets the maximum score expressed as an integer (0-100) for this rule.
|
long |
getMinimumScore()
Gets the minimum score expressed as an integer (0-100) for this rule.
|
AssessmentPart |
getNextAssessmentPart()
Gets the next assessment part for success of this rule.
|
Id |
getNextAssessmentPartId()
Gets the next assessment part
Id for success of this
rule. |
SequenceRuleRecord |
getSequenceRuleRecord(Type sequenceRuleRecordType)
Gets the assessment sequence rule record corresponding to the given
SequenceRule record Type. |
boolean |
isCumulative()
Tests if the score is applied to all previous assessment parts.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
isActive, isDisabled, isEnabled, isOperational
Id getAssessmentPartId()
Id
to which this rule belongs. Id
of an assessment partmandatory
- This method must be implemented. AssessmentPart getAssessmentPart() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getNextAssessmentPartId()
Id
for success of this
rule. Id
of an assessment partmandatory
- This method must be implemented. AssessmentPart getNextAssessmentPart() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. long getMinimumScore()
mandatory
- This method must be implemented. long getMaximumScore()
mandatory
- This method must be implemented. boolean isCumulative()
true
if the score is applied to all previous
assessment parts, false
otherwisemandatory
- This method must be implemented. IdList getAppliedAssessmentPartIds()
isCumulative()
to apply to a specific list of
assessment parts. If isCumulative()
is true,
this method may return an empty list to mean all previous
assessment parts.IllegalStateException
- isCumulative()
is false
mandatory
- This method must be implemented. AssessmentPartList getAppliedAssessmentParts() throws OperationFailedException
isCumulative()
to apply to a specific list of
assessment parts. If isCumulative()
is true,
this method may return an empty list to mean all previous
assessment parts.IllegalStateException
- isCumulative()
is false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. SequenceRuleRecord getSequenceRuleRecord(Type sequenceRuleRecordType) throws OperationFailedException
SequenceRule
record Type.
This method is
used to retrieve an object implementing the requested record. The
sequenceRuleRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a
Type
hierarchy where
hasRecordType(sequenceRuleRecordType)
is true
.sequenceRuleRecordType
- the type of the record to retrieveNullArgumentException
- sequenceRuleRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(sequenceRuleRecordType)
is false
mandatory
- This method must be implemented.