Class Requirement
java.lang.Object
dev.jcputney.elearning.parser.input.lom.types.OrComposite
dev.jcputney.elearning.parser.input.lom.types.Requirement
- All Implemented Interfaces:
Serializable
Represents a requirement for a learning object in a Learning Object Metadata (LOM) document. A
requirement is a list of conditions that must be met to use the learning object.
Schema snippet:
<complexType name="requirement">
<choice minOccurs="0" maxOccurs="unbounded">
<group ref="orComposite"/>
<group ref="ex:customElements"/>
</choice>
<attributeGroup ref="ag:requirement"/>
</complexType>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the list of OR-composite elements, which represent a set of alternative conditions that must be met to use the associated learning object.inthashCode()Methods inherited from class dev.jcputney.elearning.parser.input.lom.types.OrComposite
getMaximumVersion, getMinimumVersion, getName, getType, setMaximumVersion, setMinimumVersion, setName, setType
-
Constructor Details
-
Requirement
public Requirement()Default constructor for theRequirementclass.Initializes a new instance of the
Requirementclass without performing any specific operations. This constructor allows object creation without the need for initial parameters or state.
-
-
Method Details
-
getOrCompositeList
Retrieves the list of OR-composite elements, which represent a set of alternative conditions that must be met to use the associated learning object.- Returns:
- a list of
OrCompositeinstances, where each represents a platform or software requirement for the learning object.
-
equals
- Overrides:
equalsin classOrComposite
-
hashCode
public int hashCode()- Overrides:
hashCodein classOrComposite
-