All Implemented Interfaces:
PackageManifest, MetadataComponent, Serializable

public class Scorm2004Metadata extends BaseModuleMetadata<Scorm2004Manifest>
Represents metadata for SCORM 2004 eLearning modules, including SCORM 2004-specific fields such as sequencing information, mastery score, custom data, prerequisites, and additional metadata from external manifests.

This class extends the base BaseModuleMetadata class to provide metadata that describes the structure and rules that are specific to SCORM 2004 modules.

See Also:
  • Constructor Details

    • Scorm2004Metadata

      public Scorm2004Metadata()
  • Method Details

    • create

      public static Scorm2004Metadata create(Scorm2004Manifest manifest, boolean xapiEnabled)
      Creates a new Scorm2004Metadata instance with standard SCORM 2004 metadata components.
      Parameters:
      manifest - The SCORM 2004 manifest.
      xapiEnabled - Whether xAPI is enabled.
      Returns:
      A new Scorm2004Metadata instance.
    • hasSequencing

      public static boolean hasSequencing(Scorm2004Manifest manifest)
      Determines if a SCORM 2004 manifest has sequencing information.

      This method checks if any item in any organization has sequencing rules defined. Sequencing is considered present if any item has a non-null sequencing element.

      Parameters:
      manifest - The SCORM 2004 manifest to check.
      Returns:
      true if the manifest contains sequencing information, false otherwise.
    • getGlobalObjectiveIds

      public Set<String> getGlobalObjectiveIds()
      Retrieves the set of global objective IDs from the manifest. A global objective ID is defined by the presence of a targetObjectiveID in a mapInfo element.
      Returns:
      A set of global objective IDs.