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

public final class MapInfo extends Object implements Serializable
Represents a mapping to a global objective or another objective within the LMS. Maps allow tracking of objectives that are shared across different content items. The following schema shows the structure of the mapInfoType element:

   <xs:complexType name="mapInfoType">
      <xs:attribute name="targetObjectiveID" use="required" type="xs:anyURI" />
      <xs:attribute name="readRawScore" default="true" type="xs:boolean" />
      <xs:attribute name="readMinScore" default="true" type="xs:boolean" />
      <xs:attribute name="readMaxScore" default="true" type="xs:boolean" />
      <xs:attribute name="readCompletionStatus" default="true" type="xs:boolean" />
      <xs:attribute name="readProgressMeasure" default="true" type="xs:boolean" />
      <xs:attribute name="writeRawScore" default="false" type="xs:boolean" />
      <xs:attribute name="writeMinScore" default="false" type="xs:boolean" />
      <xs:attribute name="writeMaxScore" default="false" type="xs:boolean" />
      <xs:attribute name="writeCompletionStatus" default="false" type="xs:boolean" />
      <xs:attribute name="writeProgressMeasure" default="false" type="xs:boolean" />
   </xs:complexType>
 
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for the MapInfo class.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Retrieves the target objective ID associated with this instance.
    int
     
    boolean
    Determines whether the completion status data is set to be read.
    boolean
    Determines whether the maximum score data is set to be read.
    boolean
    Determines whether the minimum score data is set to be read.
    boolean
    Determines whether the progress measure data is set to be read.
    boolean
    Determines whether the raw score data is set to be read.
    boolean
    Determines whether the completion status data is set to be written.
    boolean
    Determines whether the maximum score data is set to be written.
    boolean
    Determines whether the minimum score data is set to be written.
    boolean
    Determines whether the progress measure data is set to be written.
    boolean
    Determines whether the raw score data is set to be written.
    void
    setReadCompletionStatus(boolean readCompletionStatus)
    Sets whether the completion status data is to be read.
    void
    setReadMaxScore(boolean readMaxScore)
    Sets whether the maximum score data is to be read.
    void
    setReadMinScore(boolean readMinScore)
    Sets whether the minimum score data is to be read.
    void
    setReadProgressMeasure(boolean readProgressMeasure)
    Sets whether the progress measure data is to be read.
    void
    setReadRawScore(boolean readRawScore)
    Sets whether the raw score data is to be read.
    void
    setTargetObjectiveID(String targetObjectiveID)
    Sets the target objective ID for this instance.
    void
    setWriteCompletionStatus(boolean writeCompletionStatus)
    Sets whether the completion status data is to be written.
    void
    setWriteMaxScore(boolean writeMaxScore)
    Sets whether the maximum score data is to be written.
    void
    setWriteMinScore(boolean writeMinScore)
    Sets whether the minimum score data is to be written.
    void
    setWriteProgressMeasure(boolean writeProgressMeasure)
    Sets whether the progress measure data is to be written.
    void
    setWriteRawScore(boolean writeRawScore)
    Sets whether the raw score data is to be written.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MapInfo

      public MapInfo()
      Default constructor for the MapInfo class. Initializes a new instance of the MapInfo object with no specific configuration.
  • Method Details

    • getTargetObjectiveID

      public String getTargetObjectiveID()
      Retrieves the target objective ID associated with this instance.
      Returns:
      the target objective ID, represented as a string.
    • setTargetObjectiveID

      public void setTargetObjectiveID(String targetObjectiveID)
      Sets the target objective ID for this instance.
      Parameters:
      targetObjectiveID - the target objective ID to be set, represented as a string
    • isReadRawScore

      public boolean isReadRawScore()
      Determines whether the raw score data is set to be read.
      Returns:
      true if the raw score data is configured to be read, false otherwise.
    • setReadRawScore

      public void setReadRawScore(boolean readRawScore)
      Sets whether the raw score data is to be read.
      Parameters:
      readRawScore - a boolean value indicating whether the raw score data should be read. If true, the raw score data will be read; otherwise, it will not be read.
    • isReadMinScore

      public boolean isReadMinScore()
      Determines whether the minimum score data is set to be read.
      Returns:
      true if the minimum score data is configured to be read, false otherwise.
    • setReadMinScore

      public void setReadMinScore(boolean readMinScore)
      Sets whether the minimum score data is to be read.
      Parameters:
      readMinScore - a boolean value indicating whether the minimum score data should be read. If true, the minimum score data will be read; otherwise, it will not be read.
    • isReadMaxScore

      public boolean isReadMaxScore()
      Determines whether the maximum score data is set to be read.
      Returns:
      true if the maximum score data is configured to be read, false otherwise.
    • setReadMaxScore

      public void setReadMaxScore(boolean readMaxScore)
      Sets whether the maximum score data is to be read.
      Parameters:
      readMaxScore - a boolean value indicating whether the maximum score data should be read. If true, the maximum score data will be read; otherwise, it will not be read.
    • isReadCompletionStatus

      public boolean isReadCompletionStatus()
      Determines whether the completion status data is set to be read.
      Returns:
      true if the completion status data is configured to be read, false otherwise.
    • setReadCompletionStatus

      public void setReadCompletionStatus(boolean readCompletionStatus)
      Sets whether the completion status data is to be read.
      Parameters:
      readCompletionStatus - a boolean value indicating whether the completion status data should be read. If true, the completion status data will be read; otherwise, it will not be read.
    • isReadProgressMeasure

      public boolean isReadProgressMeasure()
      Determines whether the progress measure data is set to be read.
      Returns:
      true if the progress measure data is configured to be read, false otherwise.
    • setReadProgressMeasure

      public void setReadProgressMeasure(boolean readProgressMeasure)
      Sets whether the progress measure data is to be read.
      Parameters:
      readProgressMeasure - a boolean value indicating whether the progress measure data should be read. If true, the progress measure data will be read; otherwise, it will not be read.
    • isWriteRawScore

      public boolean isWriteRawScore()
      Determines whether the raw score data is set to be written.
      Returns:
      true if the raw score data is configured to be written, false otherwise.
    • setWriteRawScore

      public void setWriteRawScore(boolean writeRawScore)
      Sets whether the raw score data is to be written.
      Parameters:
      writeRawScore - a boolean value indicating whether the raw score data should be written. If true, the raw score data will be written; otherwise, it will not be written.
    • isWriteMinScore

      public boolean isWriteMinScore()
      Determines whether the minimum score data is set to be written.
      Returns:
      true if the minimum score data is configured to be written, false otherwise.
    • setWriteMinScore

      public void setWriteMinScore(boolean writeMinScore)
      Sets whether the minimum score data is to be written.
      Parameters:
      writeMinScore - a boolean value indicating whether the minimum score data should be written. If true, the minimum score data will be written; otherwise, it will not be written.
    • isWriteMaxScore

      public boolean isWriteMaxScore()
      Determines whether the maximum score data is set to be written.
      Returns:
      true if the maximum score data is configured to be written, false otherwise.
    • setWriteMaxScore

      public void setWriteMaxScore(boolean writeMaxScore)
      Sets whether the maximum score data is to be written.
      Parameters:
      writeMaxScore - a boolean value indicating whether the maximum score data should be written. If true, the maximum score data will be written; otherwise, it will not be written.
    • isWriteCompletionStatus

      public boolean isWriteCompletionStatus()
      Determines whether the completion status data is set to be written.
      Returns:
      true if the completion status data is configured to be written, false otherwise.
    • setWriteCompletionStatus

      public void setWriteCompletionStatus(boolean writeCompletionStatus)
      Sets whether the completion status data is to be written.
      Parameters:
      writeCompletionStatus - a boolean value indicating whether the completion status data should be written. If true, the completion status data will be written; otherwise, it will not be written.
    • isWriteProgressMeasure

      public boolean isWriteProgressMeasure()
      Determines whether the progress measure data is set to be written.
      Returns:
      true if the progress measure data is configured to be written, false otherwise.
    • setWriteProgressMeasure

      public void setWriteProgressMeasure(boolean writeProgressMeasure)
      Sets whether the progress measure data is to be written.
      Parameters:
      writeProgressMeasure - a boolean value indicating whether the progress measure data should be written. If true, the progress measure data will be written; otherwise, it will not be written.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object