Class Educational

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

public final class Educational extends Object implements Serializable
Represents the educational information about a learning object in a Learning Object Metadata (LOM) document. Educational information includes details about the interactivity type, intended user roles, and other pedagogical aspects of the learning object.

Schema snippet:


 <complexType name="educational">
   <choice minOccurs="0" maxOccurs="unbounded">
     <group ref="interactivityType"/>
     <group ref="learningResourceType"/>
     <group ref="interactivityLevel"/>
     <group ref="semanticDensity"/>
     <group ref="intendedEndUserRole"/>
     <group ref="context"/>
     <group ref="typicalAgeRange"/>
     <group ref="difficulty"/>
     <group ref="typicalLearningTime"/>
     <group ref="descriptionUnbounded"/>
     <group ref="languageId"/>
     <group ref="ex:customElements"/>
   </choice>
   <attributeGroup ref="ag:educational"/>
 </complexType>
 
See Also:
  • Constructor Details

    • Educational

      public Educational()
      Constructs an instance of the Educational class. This is a no-operation constructor designed for creating objects of the Educational class with default settings or properties.
  • Method Details

    • getInteractivityType

      public SourceValuePair<InteractivityType> getInteractivityType()
      Retrieves the interactivity type of the learning resource. The interactivity type specifies the degree of interactivity, which can be active, expositive, mixed, or unknown.
      Returns:
      a SourceValuePair containing the interactivity type of the learning resource
    • setInteractivityType

      public void setInteractivityType(SourceValuePair<InteractivityType> interactivityType)
      Sets the interactivity type for the learning resource. The interactivity type specifies the degree of interactivity, which can be active, expositive, mixed, or unknown.
      Parameters:
      interactivityType - a SourceValuePair containing the interactivity type of the learning resource
    • getLearningResourceType

      public List<SourceValuePair<LearningResourceType>> getLearningResourceType()
      Retrieves the list of learning resource types associated with this educational resource. A learning resource type specifies the primary nature or format of the resource, such as exercise, simulation, lecture, etc.
      Returns:
      a list of SourceValuePair objects representing the learning resource types
    • setLearningResourceType

      public void setLearningResourceType(List<SourceValuePair<LearningResourceType>> learningResourceType)
      Sets the list of learning resource types associated with this educational resource. A learning resource type specifies the primary nature or format of the resource, such as exercise, simulation, lecture, etc.
      Parameters:
      learningResourceType - a list of SourceValuePair objects representing the learning resource types
    • getInteractivityLevel

      public SourceValuePair<InteractivityLevel> getInteractivityLevel()
      Retrieves the interactivity level of the learning resource. The interactivity level specifies the degree of interactivity, which can range from very low to very high.
      Returns:
      a SourceValuePair containing the interactivity level of the learning resource
    • setInteractivityLevel

      public void setInteractivityLevel(SourceValuePair<InteractivityLevel> interactivityLevel)
      Sets the interactivity level for the learning resource. The interactivity level defines the degree of interaction that the resource promotes, which can range from very low to very high.
      Parameters:
      interactivityLevel - a SourceValuePair containing the interactivity level of the learning resource
    • getSemanticDensity

      public SourceValuePair<SemanticDensity> getSemanticDensity()
      Retrieves the semantic density of the learning resource. Semantic density refers to the level of complexity or information richness in the content of the learning resource.
      Returns:
      a SourceValuePair containing the semantic density of the learning resource
    • setSemanticDensity

      public void setSemanticDensity(SourceValuePair<SemanticDensity> semanticDensity)
      Sets the semantic density for the learning resource. Semantic density refers to the level of complexity or information richness in the content of the learning resource.
      Parameters:
      semanticDensity - a SourceValuePair containing the semantic density of the learning resource
    • getIntendedEndUserRole

      public List<SourceValuePair<IntendedEndUserRole>> getIntendedEndUserRole()
      Retrieves the list of intended end user roles associated with this educational resource. The intended end user role specifies the role of the individual for whom the resource is designed, such as teacher, author, learner, or manager.
      Returns:
      a list of SourceValuePair objects representing the intended end user roles
    • setIntendedEndUserRole

      public void setIntendedEndUserRole(List<SourceValuePair<IntendedEndUserRole>> intendedEndUserRole)
      Sets the list of intended end user roles associated with this educational resource. The intended end user role specifies the role of the individual for whom the resource is designed, such as teacher, author, learner, or manager.
      Parameters:
      intendedEndUserRole - a list of SourceValuePair objects representing the intended end user roles
    • getContext

      public List<SourceValuePair<Context>> getContext()
      Retrieves the list of contexts associated with this educational resource. The context specifies the environment or setting in which the learning object is intended to be used, such as school, higher education, training, or other.
      Returns:
      a list of SourceValuePair objects representing the contexts of the educational resource
    • setContext

      public void setContext(List<SourceValuePair<Context>> context)
      Sets the context for the learning object. The context specifies the environment or setting for which the learning object is intended, such as school, higher education, training, or other contexts.
      Parameters:
      context - a list of SourceValuePair objects representing the contexts applicable to the learning object
    • getTypicalAgeRange

      public UnboundLangString getTypicalAgeRange()
      Retrieves the typical age range associated with the educational resource. The typical age range specifies the intended age group for which the resource is designed or most suitable.
      Returns:
      an UnboundLangString representing the typical age range of the educational resource
    • setTypicalAgeRange

      public void setTypicalAgeRange(UnboundLangString typicalAgeRange)
      Sets the typical age range for the educational resource. The typical age range specifies the intended age group for which the resource is designed or most suitable.
      Parameters:
      typicalAgeRange - an UnboundLangString representing the age range for the educational resource
    • getDifficulty

      public SourceValuePair<Difficulty> getDifficulty()
      Retrieves the difficulty level of the learning resource. The difficulty represents the level of challenge associated with the learning object.
      Returns:
      a SourceValuePair containing the difficulty of the learning resource
    • setDifficulty

      public void setDifficulty(SourceValuePair<Difficulty> difficulty)
      Sets the difficulty level of the educational resource. The difficulty represents the level of challenge associated with the learning object.
      Parameters:
      difficulty - a SourceValuePair containing the difficulty level of the educational resource
    • getTypicalLearningTime

      public LomDuration getTypicalLearningTime()
      Retrieves the typical learning time associated with the educational resource. The typical learning time indicates the amount of time generally required to complete the learning activity represented by the resource.
      Returns:
      the typical learning time as a LomDuration object
    • setTypicalLearningTime

      public void setTypicalLearningTime(LomDuration typicalLearningTime)
      Sets the typical learning time for the educational resource. The typical learning time indicates the approximate amount of time generally required to complete the learning activity represented by the resource.
      Parameters:
      typicalLearningTime - the typical learning time as a LomDuration object
    • getDescriptions

      public UnboundLangString getDescriptions()
      Retrieves the descriptions of the educational resource. The descriptions provide multilingual text details that describe the resource.
      Returns:
      an UnboundLangString containing the descriptions of the educational resource
    • setDescriptions

      public void setDescriptions(UnboundLangString descriptions)
      Sets the value of descriptions.
      Parameters:
      descriptions - the UnboundLangString object to set as the descriptions
    • getLanguages

      public List<String> getLanguages()
      Retrieves the list of languages.
      Returns:
      a list of strings representing the languages
    • setLanguages

      public void setLanguages(List<String> languages)
      Sets the list of languages.
      Parameters:
      languages - the list of languages to be set
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object