Class Technical

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

public final class Technical extends Object implements Serializable
Represents the technical information about a learning object in a Learning Object Metadata (LOM) document. Technical information includes details about formats, size, location, requirements, and other platform-specific details.

Schema snippet:


 <complexType name="technical">
   <choice minOccurs="0" maxOccurs="unbounded">
     <group ref="format"/>
     <group ref="size"/>
     <group ref="location"/>
     <group ref="requirement"/>
     <group ref="installationRemarks"/>
     <group ref="otherPlatformRequirements"/>
     <group ref="duration"/>
     <group ref="ex:customElements"/>
   </choice>
   <attributeGroup ref="ag:technical"/>
 </complexType>
 
See Also:
  • Constructor Details

    • Technical

      public Technical(List<String> format, Integer size, List<String> location, List<Requirement> requirements, SingleLangString installationRemarks, SingleLangString otherPlatformRequirements, LomDuration duration, PackageProperties packageProperties, List<Object> customElements)
      Constructs a new instance of the Technical class with the specified parameters.
      Parameters:
      format - a List of Strings representing the formats associated with this instance
      size - an Integer representing the size associated with this instance
      location - a List of Strings representing the locations associated with this instance
      requirements - a List of Requirement objects representing the requirements associated with this instance
      installationRemarks - a SingleLangString object representing the installation remarks for this instance
      otherPlatformRequirements - a SingleLangString object representing the other platform requirements for this instance
      duration - a LomDuration object representing the duration metadata for this instance
      packageProperties - a PackageProperties object representing the package properties for this instance
      customElements - a List of Objects representing custom elements associated with this instance
    • Technical

      public Technical()
      Default constructor for the Technical class. Initializes a new instance of the Technical class with no parameters.
  • Method Details

    • getFormat

      public List<String> getFormat()
      Retrieves the list of formats associated with this instance.
      Returns:
      a List of Strings representing the formats.
    • setFormat

      public void setFormat(List<String> format)
      Sets the list of formats associated with this instance.
      Parameters:
      format - a List of Strings representing the formats to be set
    • getSize

      public Integer getSize()
      Retrieves the size associated with this instance.
      Returns:
      an Integer representing the size.
    • setSize

      public void setSize(Integer size)
      Sets the size associated with this instance.
      Parameters:
      size - the size to be set, represented as an Integer
    • getLocation

      public List<String> getLocation()
      Retrieves the list of locations associated with this instance.
      Returns:
      a List of Strings representing the locations.
    • setLocation

      public void setLocation(List<String> location)
      Sets the list of location identifiers for this instance.
      Parameters:
      location - a List of Strings representing the locations to be set
    • getRequirements

      public List<Requirement> getRequirements()
      Retrieves the list of requirements associated with this instance.
      Returns:
      a List of Requirement objects representing the requirements.
    • setRequirements

      public void setRequirements(List<Requirement> requirements)
      Sets the list of requirements associated with this instance.
      Parameters:
      requirements - a List of Requirement objects representing the requirements to be set
    • getInstallationRemarks

      public SingleLangString getInstallationRemarks()
      Retrieves the installation remarks associated with this instance.
      Returns:
      a SingleLangString representing the installation remarks.
    • setInstallationRemarks

      public void setInstallationRemarks(SingleLangString installationRemarks)
      Sets the installation remarks associated with this instance.
      Parameters:
      installationRemarks - a SingleLangString object representing the installation remarks to be set
    • getOtherPlatformRequirements

      public SingleLangString getOtherPlatformRequirements()
      Retrieves the other platform requirements associated with this instance.
      Returns:
      a SingleLangString object representing the other platform requirements.
    • setOtherPlatformRequirements

      public void setOtherPlatformRequirements(SingleLangString otherPlatformRequirements)
      Sets the other platform requirements associated with this instance.
      Parameters:
      otherPlatformRequirements - a SingleLangString object representing the other platform requirements to be set
    • getDuration

      public LomDuration getDuration()
      Retrieves the duration metadata associated with this instance.
      Returns:
      a LomDuration object representing the duration metadata, including its value in ISO 8601 format and an optional description.
    • setDuration

      public void setDuration(LomDuration duration)
      Sets the duration metadata for this instance. The duration is typically represented in ISO 8601 format (e.g., "PT10M" for 10 minutes) and may include an optional description for additional context.
      Parameters:
      duration - a LomDuration object representing the duration metadata, including its value in ISO 8601 format and an optional description
    • getPackageProperties

      public PackageProperties getPackageProperties()
      Retrieves the package properties associated with this instance.
      Returns:
      a PackageProperties object representing the package properties.
    • setPackageProperties

      public void setPackageProperties(PackageProperties packageProperties)
      Sets the package properties associated with this instance.
      Parameters:
      packageProperties - a PackageProperties object representing the package properties to be set
    • getCustomElements

      public List<Object> getCustomElements()
      Retrieves the list of custom elements associated with this instance.
      Returns:
      a List of Objects representing the custom elements.
    • setCustomElements

      public void setCustomElements(List<Object> customElements)
      Sets the list of custom elements for this instance.
      Parameters:
      customElements - a List of Objects representing the custom elements to be set
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object