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

public class Contribute extends Object implements Serializable
Represents a contribution to the lifecycle of the learning object in the Learning Object Metadata (LOM). This class is part of the lifecycle element and provides detailed information about the contributors, their roles, and the dates associated with their contributions.

The following schema snippet defines the structure of this element:


 <xs:complexType name="contribute">
   <xs:choice minOccurs="0" maxOccurs="unbounded">
     <xs:group ref="role"/>
     <xs:group ref="entityUnbounded"/>
     <xs:group ref="date"/>
     <xs:group ref="ex:customElements"/>
   </xs:choice>
   <xs:attributeGroup ref="ag:contribute"/>
 </xs:complexType>
 

Example XML representation:


 <contribute>
   <role>
     <source>LOMv1.0</source>
     <value>publisher</value>
   </role>
   <entity><![CDATA[BEGIN:VCARD
 VERSION:2.1
 FN:John Doe
 END:VCARD]]></entity>
   <date>
     <dateTime>2023-05-01</dateTime>
     <description>
       <string language="en">The date when the content was published.</string>
     </description>
   </date>
 </contribute>
 
See Also:
  • Constructor Details

    • Contribute

      public Contribute()