Class Scorm2004Dependency

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

public final class Scorm2004Dependency extends Object implements Serializable
Represents a dependency element within a resource, specifying a relationship to another resource that this resource relies upon.
See Also:
  • Constructor Details

    • Scorm2004Dependency

      public Scorm2004Dependency(String identifierRef)
      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

      public String 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

      public void setIdentifierRef(String identifierRef)
      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

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

      public int hashCode()
      Overrides:
      hashCode in class Object