Class BaseModuleMetadata<M extends PackageManifest>
java.lang.Object
dev.jcputney.elearning.parser.output.ModuleMetadata<M>
dev.jcputney.elearning.parser.output.metadata.BaseModuleMetadata<M>
- Type Parameters:
M- The type of package manifest.
- All Implemented Interfaces:
PackageManifest,Serializable
- Direct Known Subclasses:
AiccMetadata,Cmi5Metadata,Scorm12Metadata,Scorm2004Metadata
Base class for module metadata.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe description field of the module metadata.static final StringThe duration field of the module metadata.static final StringThe identifier field of the module metadata.static final StringThe launch URL field of the module metadata.static final StringThe module type field of the module metadata.static final StringThe title field of the module metadata.static final StringThe version field of the module metadata.static final StringThe xAPI enabled field of the module metadata.Fields inherited from class dev.jcputney.elearning.parser.output.ModuleMetadata
manifest, moduleEditionType, moduleType, sizeOnDisk, xapiEnabled -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for the BaseModuleMetadata class.protectedBaseModuleMetadata(M manifest, ModuleType moduleType, boolean xapiEnabled) Constructor for BaseModuleMetadata. -
Method Summary
Methods inherited from class dev.jcputney.elearning.parser.output.ModuleMetadata
getDescription, getDuration, getIdentifier, getLaunchUrl, getManifest, getManifestFile, getModuleEditionType, getModuleType, getSizeOnDisk, getTitle, getVersion, hasMultipleLaunchableUnits, isXapiEnabled, setManifestFile, setSizeOnDisk
-
Field Details
-
TITLE
The title field of the module metadata.- See Also:
-
DESCRIPTION
The description field of the module metadata.- See Also:
-
LAUNCH_URL
The launch URL field of the module metadata.- See Also:
-
IDENTIFIER
The identifier field of the module metadata.- See Also:
-
VERSION
The version field of the module metadata.- See Also:
-
DURATION
The duration field of the module metadata.- See Also:
-
MODULE_TYPE
The module type field of the module metadata.- See Also:
-
XAPI_ENABLED
The xAPI enabled field of the module metadata.- See Also:
-
-
Constructor Details
-
BaseModuleMetadata
Constructor for BaseModuleMetadata.- Parameters:
manifest- The package manifest.moduleType- The module type.xapiEnabled- Whether xAPI is enabled.
-
BaseModuleMetadata
protected BaseModuleMetadata()Default constructor for the BaseModuleMetadata class. This constructor is protected and performs no specific initialization. Primarily intended for usage within derived classes or internal processes.
-
-
Method Details
-
equals
- Overrides:
equalsin classModuleMetadata<M extends PackageManifest>
-
hashCode
public int hashCode()- Overrides:
hashCodein classModuleMetadata<M extends PackageManifest>
-