Class LOM
java.lang.Object
dev.jcputney.elearning.parser.input.lom.LOM
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the list of annotations associated with the learning object.Retrieves the classifications associated with the learning object.Get the description of the learning object.Retrieves the educational information of the learning object.Retrieves the general information of the learning object.Retrieves the lifecycle information of the learning object.Retrieves the meta-metadata information of the learning object.Retrieves the list of relations associated with the learning object.Retrieves the rights information of the learning object.Retrieves the technical information of the learning object.getTitle()Get the title of the learning object.inthashCode()voidsetAnnotations(List<Annotation> annotations) Sets the list of annotations associated with the learning object.voidsetClassifications(List<Classification> classifications) Sets the classifications associated with the learning object.voidsetEducational(Educational educational) Sets the educational information for the learning object.voidsetGeneral(General general) Sets the general information for the learning object.voidsetLifecycle(LifeCycle lifecycle) Sets the lifecycle information for the learning object.voidsetMetaMetadata(MetaMetadata metaMetadata) Sets the meta-metadata information for the learning object.voidsetRelations(List<Relation> relations) Sets the list of relations associated with the learning object.voidSets the rights information for the learning object.voidsetTechnical(Technical technical) Sets the technical information for the learning object.
-
Field Details
-
NAMESPACE_URI
The namespace URI for the LOM schema.- See Also:
-
-
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
Get the title of the learning object.- Returns:
- the title of the learning object
-
getDescription
Get the description of the learning object.- Returns:
- the description of the learning object
-
getGeneral
Retrieves the general information of the learning object.- Returns:
- the general information of the learning object
-
setGeneral
Sets the general information for the learning object.- Parameters:
general- the general information to set
-
getLifecycle
Retrieves the lifecycle information of the learning object.- Returns:
- the lifecycle information associated with the learning object
-
setLifecycle
Sets the lifecycle information for the learning object.- Parameters:
lifecycle- the lifecycle information to set
-
getMetaMetadata
Retrieves the meta-metadata information of the learning object.- Returns:
- the meta-metadata information associated with the learning object
-
setMetaMetadata
Sets the meta-metadata information for the learning object.- Parameters:
metaMetadata- the meta-metadata information to set
-
getTechnical
Retrieves the technical information of the learning object.- Returns:
- the technical information associated with the learning object
-
setTechnical
Sets the technical information for the learning object.- Parameters:
technical- the technical information to set
-
getEducational
Retrieves the educational information of the learning object.- Returns:
- the educational information associated with the learning object
-
setEducational
Sets the educational information for the learning object.- Parameters:
educational- the educational information to set
-
getRights
Retrieves the rights information of the learning object.- Returns:
- the rights information associated with the learning object
-
setRights
Sets the rights information for the learning object.- Parameters:
rights- the rights information to set
-
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
Relationobjects representing the relationships of the learning object
-
setRelations
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 ofRelationobjects representing the relationships of the learning object
-
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
Annotationobjects representing the associated annotations
-
setAnnotations
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 ofAnnotationobjects representing the annotations to associate with the learning object
-
getClassifications
Retrieves the classifications associated with the learning object.- Returns:
- a list of
Classificationobjects representing the classifications of the learning object
-
setClassifications
Sets the classifications associated with the learning object.- Parameters:
classifications- a list ofClassificationobjects representing the classifications to associate with the learning object
-
equals
-
hashCode
public int hashCode()
-