Class Scorm2004CourseMetadata

java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.ims.cp.Scorm2004CourseMetadata
All Implemented Interfaces:
LoadableMetadata, Serializable

public final class Scorm2004CourseMetadata extends Object implements LoadableMetadata
Represents metadata information about the content package in SCORM manifest.

This class is used to capture metadata details that help describe the overall package and its associated content. The metadata can include schema and schema version information, as well as a reference to an external metadata file.


 <metadata>
   <schema>ADL SCORM</schema>
   <schemaversion>2004 3rd Edition</schemaversion>
   <adlcp:location>metadata_course.xml</adlcp:location>
 </metadata>
 
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs an instance of the Scorm2004CourseMetadata class.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Retrieves the location associated with the SCORM 2004 course metadata.
    Retrieves the LOM (Learning Object Metadata) associated with the SCORM 2004 course metadata.
    Returns the schema value for the SCORM 2004 course metadata.
    Retrieves the schema version of the SCORM 2004 course metadata.
    int
     
    void
    setLocation(String location)
    Sets the location associated with the SCORM 2004 course metadata.
    void
    setLom(LOM lom)
    Sets the LOM (Learning Object Metadata) for the SCORM 2004 course metadata.
    void
    setSchema(String schema)
    Sets the schema value for the SCORM 2004 course metadata.
    void
    setSchemaVersion(String schemaVersion)
    Sets the schema version for the SCORM 2004 course metadata.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Scorm2004CourseMetadata

      public Scorm2004CourseMetadata()
      Constructs an instance of the Scorm2004CourseMetadata class.

      This is a no-operation constructor meant to initialize an object without setting any properties.

  • Method Details

    • getSchema

      public String getSchema()
      Returns the schema value for the SCORM 2004 course metadata.
      Returns:
      the schema as a string
    • setSchema

      public void setSchema(String schema)
      Sets the schema value for the SCORM 2004 course metadata.
      Parameters:
      schema - the schema to set, represented as a string
    • getSchemaVersion

      public String getSchemaVersion()
      Retrieves the schema version of the SCORM 2004 course metadata.
      Returns:
      the schema version as a string
    • setSchemaVersion

      public void setSchemaVersion(String schemaVersion)
      Sets the schema version for the SCORM 2004 course metadata.
      Parameters:
      schemaVersion - the schema version to set, represented as a string
    • getLocation

      public String getLocation()
      Retrieves the location associated with the SCORM 2004 course metadata.
      Specified by:
      getLocation in interface LoadableMetadata
      Returns:
      the location as a string
    • setLocation

      public void setLocation(String location)
      Sets the location associated with the SCORM 2004 course metadata.
      Parameters:
      location - the location to set, represented as a string
    • getLom

      public LOM getLom()
      Retrieves the LOM (Learning Object Metadata) associated with the SCORM 2004 course metadata.
      Specified by:
      getLom in interface LoadableMetadata
      Returns:
      the LOM object related to the course metadata
    • setLom

      public void setLom(LOM lom)
      Sets the LOM (Learning Object Metadata) for the SCORM 2004 course metadata.
      Specified by:
      setLom in interface LoadableMetadata
      Parameters:
      lom - the LOM object to set
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object