Class Scorm2004Dependency
java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.ims.cp.Scorm2004Dependency
- All Implemented Interfaces:
Serializable
Represents a dependency element within a resource, specifying a relationship to another resource
that this resource relies upon.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance of Scorm2004Dependency with default values.Scorm2004Dependency(String identifierRef) Constructs a Scorm2004Dependency object with the specified identifier reference. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the identifier reference for the dependency.inthashCode()voidsetIdentifierRef(String identifierRef) Sets the identifier reference for the dependency.
-
Constructor Details
-
Scorm2004Dependency
Constructs a Scorm2004Dependency object with the specified identifier reference.- Parameters:
identifierRef- the identifier reference pointing to another resource in the content package that this resource depends on
-
Scorm2004Dependency
public Scorm2004Dependency()Constructs a new instance of Scorm2004Dependency with default values. This no-argument constructor initializes a Scorm2004Dependency object without setting any identifier reference. Primarily used for deserialization or scenarios where an initial dependency reference is not immediately required.
-
-
Method Details
-
getIdentifierRef
Retrieves the identifier reference for the dependency. This refers to another resource in the content package that this resource relies upon.- Returns:
- the identifier reference of the dependency.
-
setIdentifierRef
Sets the identifier reference for the dependency. This reference points to another resource in the content package that this resource depends on.- Parameters:
identifierRef- the identifier reference for the dependency
-
equals
-
hashCode
public int hashCode()
-