java.lang.Object
dev.jcputney.elearning.parser.input.lom.types.OrComposite
dev.jcputney.elearning.parser.input.lom.types.Requirement
All Implemented Interfaces:
Serializable

public final class Requirement extends OrComposite
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 Details

    • Requirement

      public Requirement()
      Default constructor for the Requirement class.

      Initializes a new instance of the Requirement class without performing any specific operations. This constructor allows object creation without the need for initial parameters or state.

  • Method Details

    • getOrCompositeList

      public List<OrComposite> 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 OrComposite instances, where each represents a platform or software requirement for the learning object.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class OrComposite