Class AiccCourse

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

public final class AiccCourse extends Object implements 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:
  • Constructor Details

    • AiccCourse

      public AiccCourse()
  • Method Details

    • getCourseDescription

      public String getCourseDescription()
      Retrieves the course description.
      Returns:
      the course description, or null if not available
    • setCourseDescription

      public void setCourseDescription(String courseDescription)
      Sets the course description information for the AICC manifest.
      Parameters:
      courseDescription - the plain text description of the course
    • getCourse

      public AiccCourse.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

      public void setCourse(AiccCourse.Course course)
      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

      public AiccCourse.CourseBehavior 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

      public void setCourseBehavior(AiccCourse.CourseBehavior courseBehavior)
      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

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

      public int hashCode()
      Overrides:
      hashCode in class Object