Class Scorm2004CourseMetadata
java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.ims.cp.Scorm2004CourseMetadata
- All Implemented Interfaces:
LoadableMetadata,Serializable
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
ConstructorsConstructorDescriptionConstructs an instance of theScorm2004CourseMetadataclass. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the location associated with the SCORM 2004 course metadata.getLom()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.inthashCode()voidsetLocation(String location) Sets the location associated with the SCORM 2004 course metadata.voidSets the LOM (Learning Object Metadata) for the SCORM 2004 course metadata.voidSets the schema value for the SCORM 2004 course metadata.voidsetSchemaVersion(String schemaVersion) Sets the schema version for the SCORM 2004 course metadata.
-
Constructor Details
-
Scorm2004CourseMetadata
public Scorm2004CourseMetadata()Constructs an instance of theScorm2004CourseMetadataclass.This is a no-operation constructor meant to initialize an object without setting any properties.
-
-
Method Details
-
getSchema
Returns the schema value for the SCORM 2004 course metadata.- Returns:
- the schema as a string
-
setSchema
Sets the schema value for the SCORM 2004 course metadata.- Parameters:
schema- the schema to set, represented as a string
-
getSchemaVersion
Retrieves the schema version of the SCORM 2004 course metadata.- Returns:
- the schema version as a string
-
setSchemaVersion
Sets the schema version for the SCORM 2004 course metadata.- Parameters:
schemaVersion- the schema version to set, represented as a string
-
getLocation
Retrieves the location associated with the SCORM 2004 course metadata.- Specified by:
getLocationin interfaceLoadableMetadata- Returns:
- the location as a string
-
setLocation
Sets the location associated with the SCORM 2004 course metadata.- Parameters:
location- the location to set, represented as a string
-
getLom
Retrieves the LOM (Learning Object Metadata) associated with the SCORM 2004 course metadata.- Specified by:
getLomin interfaceLoadableMetadata- Returns:
- the LOM object related to the course metadata
-
setLom
Sets the LOM (Learning Object Metadata) for the SCORM 2004 course metadata.- Specified by:
setLomin interfaceLoadableMetadata- Parameters:
lom- the LOM object to set
-
equals
-
hashCode
public int hashCode()
-