Class AiccCourse.CourseBehavior

java.lang.Object
dev.jcputney.elearning.parser.input.aicc.AiccCourse.CourseBehavior
All Implemented Interfaces:
Serializable
Enclosing class:
AiccCourse

public static class AiccCourse.CourseBehavior extends Object implements Serializable
Represents the behavior properties of a course in an AICC module.

This class is designed to capture and manage configurable behavior properties such as maximum normal value, mastery score, maximum time allowed, and time limit action. It supports case-insensitive property mapping for JSON deserialization.

This class implements Serializable, allowing its instances to be serialized and deserialized as part of larger processes.

Properties: - maxNormal: Represents the maximum normal value for the course. - masteryScore: Indicates the score required to achieve mastery for the course. - maxTimeAllowed: Specifies the maximum allowable time for the course. - timeLimitAction: Defines the actions taken when the time limit is exceeded.

See Also:
  • Constructor Details

    • CourseBehavior

      public CourseBehavior()
  • Method Details

    • getMaxNormal

      public String getMaxNormal()
      Retrieves the maximum normal value associated with the instance.
      Returns:
      the value of the maxNormal field, which represents the maximum normal value.
    • setMaxNormal

      public void setMaxNormal(String maxNormal)
      Sets the maximum normal value associated with the instance.
      Parameters:
      maxNormal - the value to set for the maxNormal field, representing the maximum normal value
    • getMasteryScore

      public String getMasteryScore()
      Retrieves the mastery score associated with this instance.
      Returns:
      the value of the masteryScore field, representing the defined mastery score.
    • setMasteryScore

      public void setMasteryScore(String masteryScore)
      Sets the mastery score for this instance.
      Parameters:
      masteryScore - the value to set for the masteryScore field, representing the defined mastery score
    • getMaxTimeAllowed

      public String getMaxTimeAllowed()
      Retrieves the maximum time allowed associated with this instance.
      Returns:
      the value of the maxTimeAllowed field, representing the maximum time allowed.
    • setMaxTimeAllowed

      public void setMaxTimeAllowed(String maxTimeAllowed)
      Sets the maximum time allowed for the instance.
      Parameters:
      maxTimeAllowed - the value to set for the maxTimeAllowed field, representing the maximum duration allowed
    • getTimeLimitAction

      public String getTimeLimitAction()
      Retrieves the time limit action associated with this instance.
      Returns:
      the value of the timeLimitAction field, representing the action to take when the time limit is reached.
    • setTimeLimitAction

      public void setTimeLimitAction(String timeLimitAction)
      Sets the action to be taken when the time limit is reached for this instance.
      Parameters:
      timeLimitAction - the value to set for the timeLimitAction field, representing the action to take when the time limit is reached
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object