Class MapInfo
java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.adl.sequencing.MapInfo
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the target objective ID associated with this instance.inthashCode()booleanDetermines whether the completion status data is set to be read.booleanDetermines whether the maximum score data is set to be read.booleanDetermines whether the minimum score data is set to be read.booleanDetermines whether the progress measure data is set to be read.booleanDetermines whether the raw score data is set to be read.booleanDetermines whether the completion status data is set to be written.booleanDetermines whether the maximum score data is set to be written.booleanDetermines whether the minimum score data is set to be written.booleanDetermines whether the progress measure data is set to be written.booleanDetermines whether the raw score data is set to be written.voidsetReadCompletionStatus(boolean readCompletionStatus) Sets whether the completion status data is to be read.voidsetReadMaxScore(boolean readMaxScore) Sets whether the maximum score data is to be read.voidsetReadMinScore(boolean readMinScore) Sets whether the minimum score data is to be read.voidsetReadProgressMeasure(boolean readProgressMeasure) Sets whether the progress measure data is to be read.voidsetReadRawScore(boolean readRawScore) Sets whether the raw score data is to be read.voidsetTargetObjectiveID(String targetObjectiveID) Sets the target objective ID for this instance.voidsetWriteCompletionStatus(boolean writeCompletionStatus) Sets whether the completion status data is to be written.voidsetWriteMaxScore(boolean writeMaxScore) Sets whether the maximum score data is to be written.voidsetWriteMinScore(boolean writeMinScore) Sets whether the minimum score data is to be written.voidsetWriteProgressMeasure(boolean writeProgressMeasure) Sets whether the progress measure data is to be written.voidsetWriteRawScore(boolean writeRawScore) Sets whether the raw score data is to be written.
-
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
Retrieves the target objective ID associated with this instance.- Returns:
- the target objective ID, represented as a string.
-
setTargetObjectiveID
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
-
hashCode
public int hashCode()
-