java.lang.Object
dev.jcputney.elearning.parser.input.lom.LOM
All Implemented Interfaces:
Serializable

public final class LOM extends Object implements Serializable
The root element of a Learning Object Metadata (LOM) document. This is the entry point for parsing a LOM document. The LOM can be used in a variety of contexts, such as SCORM package or a standalone XML file. The LOM is a standard for describing learning objects and is maintained by the IEEE Learning Technology Standards Committee.

 <xs:complexType name="lom">
   <xs:choice minOccurs="0" maxOccurs="unbounded">
     <xs:group ref="general"/>
     <xs:group ref="lifeCycle"/>
     <xs:group ref="metaMetadata"/>
     <xs:group ref="technical"/>
     <xs:group ref="educational"/>
     <xs:group ref="rights"/>
     <xs:group ref="relation"/>
     <xs:group ref="annotation"/>
     <xs:group ref="classification"/>
     <xs:group ref="ex:customElements"/>
   </xs:choice>
   <xs:attributeGroup ref="ag:lom"/>
 </xs:complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • LOM

      public LOM()
      Default constructor for the LOM class.

      This constructor creates an instance of the LOM class with no initial settings or configurations. Primarily used for deserialization or manual initialization purposes.

  • Method Details

    • getTitle

      public String getTitle()
      Get the title of the learning object.
      Returns:
      the title of the learning object
    • getDescription

      public String getDescription()
      Get the description of the learning object.
      Returns:
      the description of the learning object
    • getGeneral

      public General getGeneral()
      Retrieves the general information of the learning object.
      Returns:
      the general information of the learning object
    • setGeneral

      public void setGeneral(General general)
      Sets the general information for the learning object.
      Parameters:
      general - the general information to set
    • getLifecycle

      public LifeCycle getLifecycle()
      Retrieves the lifecycle information of the learning object.
      Returns:
      the lifecycle information associated with the learning object
    • setLifecycle

      public void setLifecycle(LifeCycle lifecycle)
      Sets the lifecycle information for the learning object.
      Parameters:
      lifecycle - the lifecycle information to set
    • getMetaMetadata

      public MetaMetadata getMetaMetadata()
      Retrieves the meta-metadata information of the learning object.
      Returns:
      the meta-metadata information associated with the learning object
    • setMetaMetadata

      public void setMetaMetadata(MetaMetadata metaMetadata)
      Sets the meta-metadata information for the learning object.
      Parameters:
      metaMetadata - the meta-metadata information to set
    • getTechnical

      public Technical getTechnical()
      Retrieves the technical information of the learning object.
      Returns:
      the technical information associated with the learning object
    • setTechnical

      public void setTechnical(Technical technical)
      Sets the technical information for the learning object.
      Parameters:
      technical - the technical information to set
    • getEducational

      public Educational getEducational()
      Retrieves the educational information of the learning object.
      Returns:
      the educational information associated with the learning object
    • setEducational

      public void setEducational(Educational educational)
      Sets the educational information for the learning object.
      Parameters:
      educational - the educational information to set
    • getRights

      public Rights getRights()
      Retrieves the rights information of the learning object.
      Returns:
      the rights information associated with the learning object
    • setRights

      public void setRights(Rights rights)
      Sets the rights information for the learning object.
      Parameters:
      rights - the rights information to set
    • getRelations

      public List<Relation> getRelations()
      Retrieves the list of relations associated with the learning object. Relations provide information about connections between the current learning object and other resources.
      Returns:
      a list of Relation objects representing the relationships of the learning object
    • setRelations

      public void setRelations(List<Relation> relations)
      Sets the list of relations associated with the learning object. Relations provide information about connections between the current learning object and other resources.
      Parameters:
      relations - a list of Relation objects representing the relationships of the learning object
    • getAnnotations

      public List<Annotation> getAnnotations()
      Retrieves the list of annotations associated with the learning object. Annotations provide additional comments, instructions, or explanations related to the learning object.
      Returns:
      a list of Annotation objects representing the associated annotations
    • setAnnotations

      public void setAnnotations(List<Annotation> annotations)
      Sets the list of annotations associated with the learning object. Annotations provide additional comments, instructions, or explanations related to the learning object.
      Parameters:
      annotations - a list of Annotation objects representing the annotations to associate with the learning object
    • getClassifications

      public List<Classification> getClassifications()
      Retrieves the classifications associated with the learning object.
      Returns:
      a list of Classification objects representing the classifications of the learning object
    • setClassifications

      public void setClassifications(List<Classification> classifications)
      Sets the classifications associated with the learning object.
      Parameters:
      classifications - a list of Classification objects representing the classifications to associate with the learning object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object