Class AiccCourse.CourseBehavior
java.lang.Object
dev.jcputney.elearning.parser.input.aicc.AiccCourse.CourseBehavior
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AiccCourse
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the mastery score associated with this instance.Retrieves the maximum normal value associated with the instance.Retrieves the maximum time allowed associated with this instance.Retrieves the time limit action associated with this instance.inthashCode()voidsetMasteryScore(String masteryScore) Sets the mastery score for this instance.voidsetMaxNormal(String maxNormal) Sets the maximum normal value associated with the instance.voidsetMaxTimeAllowed(String maxTimeAllowed) Sets the maximum time allowed for the instance.voidsetTimeLimitAction(String timeLimitAction) Sets the action to be taken when the time limit is reached for this instance.
-
Constructor Details
-
CourseBehavior
public CourseBehavior()
-
-
Method Details
-
getMaxNormal
Retrieves the maximum normal value associated with the instance.- Returns:
- the value of the maxNormal field, which represents the maximum normal value.
-
setMaxNormal
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
Retrieves the mastery score associated with this instance.- Returns:
- the value of the masteryScore field, representing the defined mastery score.
-
setMasteryScore
Sets the mastery score for this instance.- Parameters:
masteryScore- the value to set for the masteryScore field, representing the defined mastery score
-
getMaxTimeAllowed
Retrieves the maximum time allowed associated with this instance.- Returns:
- the value of the maxTimeAllowed field, representing the maximum time allowed.
-
setMaxTimeAllowed
Sets the maximum time allowed for the instance.- Parameters:
maxTimeAllowed- the value to set for the maxTimeAllowed field, representing the maximum duration allowed
-
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
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
-
hashCode
public int hashCode()
-