Class HeuristicSpec
java.lang.Object
dev.jcputney.elearning.parser.input.lom.properties.HeuristicSpec
- All Implemented Interfaces:
Serializable
Represents the heuristicSpec complex type.
The following schema snippet specifies its contents:
<xs:complexType name="heuristicSpec">
<xs:all>
<xs:element name="isCompletionTracked" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="isSatisfactionTracked" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="isScoreTracked" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="isIncompleteScoreMeaningful" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="isIncompleteSatisfactionMeaningful" type="yesNoType" minOccurs="0" maxOccurs="1" />
</xs:all>
</xs:complexType>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for theHeuristicSpecclass.HeuristicSpec(YesNoType isCompletionTracked, YesNoType isSatisfactionTracked, YesNoType isScoreTracked, YesNoType isIncompleteScoreMeaningful, YesNoType isIncompleteSatisfactionMeaningful) Constructs an instance ofHeuristicSpecwith specified tracking and meaningfulness settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the value indicating whether completion tracking is enabled.Retrieves the value indicating whether an incomplete satisfaction is considered meaningful.Retrieves the value indicating whether an incomplete score is meaningful.Retrieves the value indicating whether satisfaction tracking is enabled.Retrieves the value indicating whether score tracking is enabled.inthashCode()voidsetIsCompletionTracked(YesNoType isCompletionTracked) Sets whether completion tracking is enabled or disabled.voidsetIsIncompleteSatisfactionMeaningful(YesNoType isIncompleteSatisfactionMeaningful) Sets whether incomplete satisfaction is considered meaningful.voidsetIsIncompleteScoreMeaningful(YesNoType isIncompleteScoreMeaningful) Sets whether an incomplete score is considered meaningful.voidsetIsSatisfactionTracked(YesNoType isSatisfactionTracked) Sets whether satisfaction tracking is enabled or disabled.voidsetIsScoreTracked(YesNoType isScoreTracked) Sets whether score tracking is enabled or disabled.
-
Constructor Details
-
HeuristicSpec
public HeuristicSpec(YesNoType isCompletionTracked, YesNoType isSatisfactionTracked, YesNoType isScoreTracked, YesNoType isIncompleteScoreMeaningful, YesNoType isIncompleteSatisfactionMeaningful) Constructs an instance ofHeuristicSpecwith specified tracking and meaningfulness settings.- Parameters:
isCompletionTracked- an instance ofYesNoTypeindicating whether completion tracking is enabled.isSatisfactionTracked- an instance ofYesNoTypeindicating whether satisfaction tracking is enabled.isScoreTracked- an instance ofYesNoTypeindicating whether score tracking is enabled.isIncompleteScoreMeaningful- an instance ofYesNoTypeindicating whether an incomplete score is considered meaningful.isIncompleteSatisfactionMeaningful- an instance ofYesNoTypeindicating whether incomplete satisfaction is considered meaningful.
-
HeuristicSpec
public HeuristicSpec()Default constructor for theHeuristicSpecclass.Initializes an instance of
HeuristicSpecwith default values for tracking and meaningfulness settings. This constructor performs no additional operations.
-
-
Method Details
-
getIsCompletionTracked
Retrieves the value indicating whether completion tracking is enabled.- Returns:
- an instance of
YesNoTyperepresenting if completion is tracked.
-
setIsCompletionTracked
Sets whether completion tracking is enabled or disabled.- Parameters:
isCompletionTracked- an instance ofYesNoTyperepresenting whether completion tracking is enabled
-
getIsSatisfactionTracked
Retrieves the value indicating whether satisfaction tracking is enabled.- Returns:
- an instance of
YesNoTyperepresenting if satisfaction is tracked.
-
setIsSatisfactionTracked
Sets whether satisfaction tracking is enabled or disabled.- Parameters:
isSatisfactionTracked- an instance ofYesNoTyperepresenting whether satisfaction tracking is enabled
-
getIsScoreTracked
Retrieves the value indicating whether score tracking is enabled.- Returns:
- an instance of
YesNoTyperepresenting whether score tracking is enabled.
-
setIsScoreTracked
Sets whether score tracking is enabled or disabled.- Parameters:
isScoreTracked- an instance ofYesNoTyperepresenting whether score tracking is enabled
-
getIsIncompleteScoreMeaningful
Retrieves the value indicating whether an incomplete score is meaningful.- Returns:
- an instance of
YesNoTyperepresenting whether an incomplete score is considered meaningful.
-
setIsIncompleteScoreMeaningful
Sets whether an incomplete score is considered meaningful.- Parameters:
isIncompleteScoreMeaningful- an instance ofYesNoTyperepresenting if an incomplete score is meaningful
-
getIsIncompleteSatisfactionMeaningful
Retrieves the value indicating whether an incomplete satisfaction is considered meaningful.- Returns:
- an instance of
YesNoTyperepresenting whether incomplete satisfaction is meaningful.
-
setIsIncompleteSatisfactionMeaningful
Sets whether incomplete satisfaction is considered meaningful.- Parameters:
isIncompleteSatisfactionMeaningful- an instance ofYesNoTyperepresenting whether incomplete satisfaction is meaningful
-
equals
-
hashCode
public int hashCode()
-