java.lang.Object
dev.jcputney.elearning.parser.input.cmi5.types.Objective
All Implemented Interfaces:
Serializable

public final class Objective extends Object implements Serializable
Represents a single objective with a title, description, and unique identifier.
See Also:
  • Constructor Details

    • Objective

      public Objective()
      Default constructor for the Objective class. This constructor initializes an Objective instance with no predefined values.
  • Method Details

    • getTitle

      public TextType getTitle()
      Retrieves the title of the objective, represented as a localized text type.
      Returns:
      the title of the objective
    • setTitle

      public void setTitle(TextType title)
      Sets the title of the objective.
      Parameters:
      title - the new title of the objective, represented as a TextType object
    • getDescription

      public TextType getDescription()
      Retrieves the description of the objective, represented as a localized text type.
      Returns:
      the description of the objective as a TextType
    • setDescription

      public void setDescription(TextType description)
      Sets the description of the objective.
      Parameters:
      description - the new description of the objective, represented as a TextType object
    • getId

      public String getId()
      Retrieves the unique identifier for the objective.
      Returns:
      the unique identifier of the objective as a string
    • setId

      public void setId(String id)
      Sets the unique identifier for the objective.
      Parameters:
      id - the new unique identifier for the objective, represented as a string
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object