java.lang.Object
dev.jcputney.elearning.parser.input.lom.properties.HeuristicSpec
All Implemented Interfaces:
Serializable

public final class HeuristicSpec extends Object implements 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 Details

    • HeuristicSpec

      public HeuristicSpec(YesNoType isCompletionTracked, YesNoType isSatisfactionTracked, YesNoType isScoreTracked, YesNoType isIncompleteScoreMeaningful, YesNoType isIncompleteSatisfactionMeaningful)
      Constructs an instance of HeuristicSpec with specified tracking and meaningfulness settings.
      Parameters:
      isCompletionTracked - an instance of YesNoType indicating whether completion tracking is enabled.
      isSatisfactionTracked - an instance of YesNoType indicating whether satisfaction tracking is enabled.
      isScoreTracked - an instance of YesNoType indicating whether score tracking is enabled.
      isIncompleteScoreMeaningful - an instance of YesNoType indicating whether an incomplete score is considered meaningful.
      isIncompleteSatisfactionMeaningful - an instance of YesNoType indicating whether incomplete satisfaction is considered meaningful.
    • HeuristicSpec

      public HeuristicSpec()
      Default constructor for the HeuristicSpec class.

      Initializes an instance of HeuristicSpec with default values for tracking and meaningfulness settings. This constructor performs no additional operations.

  • Method Details

    • getIsCompletionTracked

      public YesNoType getIsCompletionTracked()
      Retrieves the value indicating whether completion tracking is enabled.
      Returns:
      an instance of YesNoType representing if completion is tracked.
    • setIsCompletionTracked

      public void setIsCompletionTracked(YesNoType isCompletionTracked)
      Sets whether completion tracking is enabled or disabled.
      Parameters:
      isCompletionTracked - an instance of YesNoType representing whether completion tracking is enabled
    • getIsSatisfactionTracked

      public YesNoType getIsSatisfactionTracked()
      Retrieves the value indicating whether satisfaction tracking is enabled.
      Returns:
      an instance of YesNoType representing if satisfaction is tracked.
    • setIsSatisfactionTracked

      public void setIsSatisfactionTracked(YesNoType isSatisfactionTracked)
      Sets whether satisfaction tracking is enabled or disabled.
      Parameters:
      isSatisfactionTracked - an instance of YesNoType representing whether satisfaction tracking is enabled
    • getIsScoreTracked

      public YesNoType getIsScoreTracked()
      Retrieves the value indicating whether score tracking is enabled.
      Returns:
      an instance of YesNoType representing whether score tracking is enabled.
    • setIsScoreTracked

      public void setIsScoreTracked(YesNoType isScoreTracked)
      Sets whether score tracking is enabled or disabled.
      Parameters:
      isScoreTracked - an instance of YesNoType representing whether score tracking is enabled
    • getIsIncompleteScoreMeaningful

      public YesNoType getIsIncompleteScoreMeaningful()
      Retrieves the value indicating whether an incomplete score is meaningful.
      Returns:
      an instance of YesNoType representing whether an incomplete score is considered meaningful.
    • setIsIncompleteScoreMeaningful

      public void setIsIncompleteScoreMeaningful(YesNoType isIncompleteScoreMeaningful)
      Sets whether an incomplete score is considered meaningful.
      Parameters:
      isIncompleteScoreMeaningful - an instance of YesNoType representing if an incomplete score is meaningful
    • getIsIncompleteSatisfactionMeaningful

      public YesNoType getIsIncompleteSatisfactionMeaningful()
      Retrieves the value indicating whether an incomplete satisfaction is considered meaningful.
      Returns:
      an instance of YesNoType representing whether incomplete satisfaction is meaningful.
    • setIsIncompleteSatisfactionMeaningful

      public void setIsIncompleteSatisfactionMeaningful(YesNoType isIncompleteSatisfactionMeaningful)
      Sets whether incomplete satisfaction is considered meaningful.
      Parameters:
      isIncompleteSatisfactionMeaningful - an instance of YesNoType representing whether incomplete satisfaction is meaningful
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object