Class AiccManifest

java.lang.Object
dev.jcputney.elearning.parser.input.aicc.AiccManifest
All Implemented Interfaces:
PackageManifest, Serializable

public class AiccManifest extends Object implements PackageManifest
Represents the AICC manifest for a course.

This class is used to parse the AICC manifest file and extract information about the course, assignable units, descriptors, and course structures.

It also provides methods to retrieve the title, description, launch URL, identifier, version, and duration of the course.

See Also:
  • Constructor Details

    • AiccManifest

      public AiccManifest(AiccCourse course, List<AssignableUnit> assignableUnits, List<Descriptor> descriptors, List<CourseStructure> courseStructures) throws ModuleParsingException
      Default constructor for the AiccManifest class.

      This constructor initializes the AiccManifest object with the provided course, assignable units, descriptors, and course structures.

      Parameters:
      course - The AICC course information.
      assignableUnits - The list of assignable units.
      descriptors - The list of descriptors.
      courseStructures - The list of course structures.
      Throws:
      ModuleParsingException - If there is an error parsing the AICC manifest.
  • Method Details

    • getTitle

      public String getTitle()
      Description copied from interface: PackageManifest
      The title of the package, which is a human-readable name.
      Specified by:
      getTitle in interface PackageManifest
      Returns:
      the title of the package
    • getDescription

      public String getDescription()
      Description copied from interface: PackageManifest
      The description of the package, which provides additional information about it.
      Specified by:
      getDescription in interface PackageManifest
      Returns:
      the description of the package
    • getIdentifier

      public String getIdentifier()
      Description copied from interface: PackageManifest
      The identifier of the package, which is a unique string that identifies the package.
      Specified by:
      getIdentifier in interface PackageManifest
      Returns:
      the identifier of the package
    • getVersion

      public String getVersion()
      Description copied from interface: PackageManifest
      The version of the package.
      Specified by:
      getVersion in interface PackageManifest
      Returns:
      the version of the package
    • getDuration

      public Duration getDuration()
      Description copied from interface: PackageManifest
      The duration of the package, which indicates how long the package is expected to take.
      Specified by:
      getDuration in interface PackageManifest
      Returns:
      the duration of the package