Class AiccManifest
java.lang.Object
dev.jcputney.elearning.parser.input.aicc.AiccManifest
- All Implemented Interfaces:
PackageManifest,Serializable
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 Summary
ConstructorsConstructorDescriptionAiccManifest(AiccCourse course, List<AssignableUnit> assignableUnits, List<Descriptor> descriptors, List<CourseStructure> courseStructures) Default constructor for the AiccManifest class. -
Method Summary
Modifier and TypeMethodDescriptionThe description of the package, which provides additional information about it.The duration of the package, which indicates how long the package is expected to take.The identifier of the package, which is a unique string that identifies the package.getTitle()The title of the package, which is a human-readable name.The version of the package.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.jcputney.elearning.parser.input.PackageManifest
getLaunchUrl
-
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
Description copied from interface:PackageManifestThe title of the package, which is a human-readable name.- Specified by:
getTitlein interfacePackageManifest- Returns:
- the title of the package
-
getDescription
Description copied from interface:PackageManifestThe description of the package, which provides additional information about it.- Specified by:
getDescriptionin interfacePackageManifest- Returns:
- the description of the package
-
getIdentifier
Description copied from interface:PackageManifestThe identifier of the package, which is a unique string that identifies the package.- Specified by:
getIdentifierin interfacePackageManifest- Returns:
- the identifier of the package
-
getVersion
Description copied from interface:PackageManifestThe version of the package.- Specified by:
getVersionin interfacePackageManifest- Returns:
- the version of the package
-
getDuration
Description copied from interface:PackageManifestThe duration of the package, which indicates how long the package is expected to take.- Specified by:
getDurationin interfacePackageManifest- Returns:
- the duration of the package
-