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

public final class DataMap extends Object implements Serializable
Represents the map element, specifying shared data configuration.
See Also:
  • Constructor Details

    • DataMap

      public DataMap()
      Default constructor for the DataMap class.

      This constructor initializes an instance of the DataMap class without setting any properties or performing any actions. It serves as a no-operation (no-op) placeholder for object instantiation.

  • Method Details

    • getTargetID

      public String getTargetID()
      Retrieves the target ID URI for shared data mapping.
      Returns:
      the target ID as a String
    • setTargetID

      public void setTargetID(String targetID)
      Sets the target ID URI for shared data mapping.
      Parameters:
      targetID - the target ID as a String to be assigned
    • isReadSharedData

      public boolean isReadSharedData()
      Determines whether shared data is readable.
      Returns:
      true if shared data is readable, otherwise false
    • setReadSharedData

      public void setReadSharedData(boolean readSharedData)
      Sets the read access configuration for shared data.
      Parameters:
      readSharedData - a boolean value where true enables read access to shared data, and false disables it
    • isWriteSharedData

      public boolean isWriteSharedData()
      Determines whether shared data is writable.
      Returns:
      true if shared data is writable, otherwise false
    • setWriteSharedData

      public void setWriteSharedData(boolean writeSharedData)
      Configures the write access for shared data.
      Parameters:
      writeSharedData - a boolean value where true enables write access to shared data, and false disables it
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object