Class ContributeEntity

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

public final class ContributeEntity extends Object implements Serializable
Represents an entity contributing 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:


 <xsd:complexType name="centityType">
 		<xsd:sequence>
 			<xsd:element ref="vcard"/>
 		</xsd:sequence>
 	</xsd:complexType>
 

Example XML representation:


 <contributeEntity vcard="BEGIN:VCARD
 VERSION:2.1
 FN:Jane Doe
 ORG:Example Organization
 TEL:+123456789
 END:VCARD"/>
 
See Also:
  • Constructor Details

    • ContributeEntity

      public ContributeEntity()
      Default constructor for the ContributeEntity class. Initializes a new instance of the class with no specific properties set. This constructor is primarily used for serialization, deserialization, or creating an empty instance to be configured later.
  • Method Details

    • getVCard

      public String getVCard()
      Retrieves the VCARD representation of the entity.
      Returns:
      a String containing the VCARD representation of the entity.
    • setVCard

      public void setVCard(String vCard)
      Sets the VCARD representation of the entity contributing to the lifecycle of the learning object.
      Parameters:
      vCard - a String containing the VCARD representation of the entity.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object