Class Scorm12Prerequisites
java.lang.Object
dev.jcputney.elearning.parser.input.scorm12.adl.Scorm12Prerequisites
- All Implemented Interfaces:
Serializable
Represents the
<adlcp:prerequisites> element in SCORM 1.2. This element includes a string
value and an optional type attribute.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for the Scorm12Prerequisites class. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()Retrieves the type attribute of the "prerequisites" element.getValue()Retrieves the string value of the prerequisites element.inthashCode()voidSets the type attribute of the "prerequisites" element.voidSets the string value of the prerequisites element.
-
Constructor Details
-
Scorm12Prerequisites
public Scorm12Prerequisites()Default constructor for the Scorm12Prerequisites class.This constructor initializes a new instance of the Scorm12Prerequisites class without assigning any initial values to its attributes. It is primarily used for creating an object in its default state.
-
-
Method Details
-
getValue
Retrieves the string value of the prerequisites element.- Returns:
- The string content of the "prerequisites" element.
-
setValue
Sets the string value of the prerequisites element.- Parameters:
value- The string content to set for the "prerequisites" element.
-
getType
Retrieves the type attribute of the "prerequisites" element.- Returns:
- The type attribute of the "prerequisites" element, or null if not specified.
-
setType
Sets the type attribute of the "prerequisites" element.- Parameters:
type- The type attribute to set for the "prerequisites" element. This value may represent a specification-dependent string, such as "aicc_script".
-
equals
-
hashCode
public int hashCode()
-