Class Technical
java.lang.Object
dev.jcputney.elearning.parser.input.lom.Technical
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionDefault constructor for the Technical class.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. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the list of custom elements associated with this instance.Retrieves the duration metadata associated with this instance.Retrieves the list of formats associated with this instance.Retrieves the installation remarks associated with this instance.Retrieves the list of locations associated with this instance.Retrieves the other platform requirements associated with this instance.Retrieves the package properties associated with this instance.Retrieves the list of requirements associated with this instance.getSize()Retrieves the size associated with this instance.inthashCode()voidsetCustomElements(List<Object> customElements) Sets the list of custom elements for this instance.voidsetDuration(LomDuration duration) Sets the duration metadata for this instance.voidSets the list of formats associated with this instance.voidsetInstallationRemarks(SingleLangString installationRemarks) Sets the installation remarks associated with this instance.voidsetLocation(List<String> location) Sets the list of location identifiers for this instance.voidsetOtherPlatformRequirements(SingleLangString otherPlatformRequirements) Sets the other platform requirements associated with this instance.voidsetPackageProperties(PackageProperties packageProperties) Sets the package properties associated with this instance.voidsetRequirements(List<Requirement> requirements) Sets the list of requirements associated with this instance.voidSets the size associated with this instance.
-
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 instancesize- an Integer representing the size associated with this instancelocation- a List of Strings representing the locations associated with this instancerequirements- a List ofRequirementobjects representing the requirements associated with this instanceinstallationRemarks- aSingleLangStringobject representing the installation remarks for this instanceotherPlatformRequirements- aSingleLangStringobject representing the other platform requirements for this instanceduration- aLomDurationobject representing the duration metadata for this instancepackageProperties- aPackagePropertiesobject representing the package properties for this instancecustomElements- 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
Retrieves the list of formats associated with this instance.- Returns:
- a List of Strings representing the formats.
-
setFormat
Sets the list of formats associated with this instance.- Parameters:
format- a List of Strings representing the formats to be set
-
getSize
Retrieves the size associated with this instance.- Returns:
- an Integer representing the size.
-
setSize
Sets the size associated with this instance.- Parameters:
size- the size to be set, represented as an Integer
-
getLocation
Retrieves the list of locations associated with this instance.- Returns:
- a List of Strings representing the locations.
-
setLocation
Sets the list of location identifiers for this instance.- Parameters:
location- a List of Strings representing the locations to be set
-
getRequirements
Retrieves the list of requirements associated with this instance.- Returns:
- a List of
Requirementobjects representing the requirements.
-
setRequirements
Sets the list of requirements associated with this instance.- Parameters:
requirements- a List ofRequirementobjects representing the requirements to be set
-
getInstallationRemarks
Retrieves the installation remarks associated with this instance.- Returns:
- a
SingleLangStringrepresenting the installation remarks.
-
setInstallationRemarks
Sets the installation remarks associated with this instance.- Parameters:
installationRemarks- aSingleLangStringobject representing the installation remarks to be set
-
getOtherPlatformRequirements
Retrieves the other platform requirements associated with this instance.- Returns:
- a
SingleLangStringobject representing the other platform requirements.
-
setOtherPlatformRequirements
Sets the other platform requirements associated with this instance.- Parameters:
otherPlatformRequirements- aSingleLangStringobject representing the other platform requirements to be set
-
getDuration
Retrieves the duration metadata associated with this instance.- Returns:
- a
LomDurationobject representing the duration metadata, including its value in ISO 8601 format and an optional description.
-
setDuration
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- aLomDurationobject representing the duration metadata, including its value in ISO 8601 format and an optional description
-
getPackageProperties
Retrieves the package properties associated with this instance.- Returns:
- a
PackagePropertiesobject representing the package properties.
-
setPackageProperties
Sets the package properties associated with this instance.- Parameters:
packageProperties- aPackagePropertiesobject representing the package properties to be set
-
getCustomElements
Retrieves the list of custom elements associated with this instance.- Returns:
- a List of Objects representing the custom elements.
-
setCustomElements
Sets the list of custom elements for this instance.- Parameters:
customElements- a List of Objects representing the custom elements to be set
-
equals
-
hashCode
public int hashCode()
-