Class AiccCourse
java.lang.Object
dev.jcputney.elearning.parser.input.aicc.AiccCourse
- All Implemented Interfaces:
Serializable
Represents the AICC course information.
This class contains details about the course, including its creator, ID, title, system, level, maximum fields, total AUs, total blocks, version, and course behavior.
It also provides a method to retrieve the course description.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a course with various properties such as creator, ID, title, system information, and other specific metadata related to the course.static classRepresents the behavior properties of a course in an AICC module. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the course information associated with this instance.Retrieves the CourseBehavior object associated with this instance.Retrieves the course description.inthashCode()voidsetCourse(AiccCourse.Course course) Updates the course information associated with this instance.voidsetCourseBehavior(AiccCourse.CourseBehavior courseBehavior) Sets the course behavior properties for the AICC course.voidsetCourseDescription(String courseDescription) Sets the course description information for the AICC manifest.
-
Constructor Details
-
AiccCourse
public AiccCourse()
-
-
Method Details
-
getCourseDescription
Retrieves the course description.- Returns:
- the course description, or null if not available
-
setCourseDescription
Sets the course description information for the AICC manifest.- Parameters:
courseDescription- the plain text description of the course
-
getCourse
Retrieves the course information associated with this instance.- Returns:
- the course object containing details such as course ID, title, creator, system, and other related fields
-
setCourse
Updates the course information associated with this instance.- Parameters:
course- the course object containing details such as course ID, title, creator, system, and other related fields
-
getCourseBehavior
Retrieves the CourseBehavior object associated with this instance.- Returns:
- the CourseBehavior object, which encapsulates the behavior properties such as mastery score, maximum allowable time, and time limit actions, or null if not assigned.
-
setCourseBehavior
Sets the course behavior properties for the AICC course.- Parameters:
courseBehavior- the CourseBehavior object encapsulating behavior properties such as mastery score, maximum allowable time, and time limit actions
-
equals
-
hashCode
public int hashCode()
-