Class Objective
java.lang.Object
dev.jcputney.elearning.parser.input.cmi5.types.Objective
- All Implemented Interfaces:
Serializable
Represents a single objective with a title, description, and unique identifier.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the description of the objective, represented as a localized text type.getId()Retrieves the unique identifier for the objective.getTitle()Retrieves the title of the objective, represented as a localized text type.inthashCode()voidsetDescription(TextType description) Sets the description of the objective.voidSets the unique identifier for the objective.voidSets the title of the objective.
-
Constructor Details
-
Objective
public Objective()Default constructor for the Objective class. This constructor initializes an Objective instance with no predefined values.
-
-
Method Details
-
getTitle
Retrieves the title of the objective, represented as a localized text type.- Returns:
- the title of the objective
-
setTitle
Sets the title of the objective.- Parameters:
title- the new title of the objective, represented as aTextTypeobject
-
getDescription
Retrieves the description of the objective, represented as a localized text type.- Returns:
- the description of the objective as a
TextType
-
setDescription
Sets the description of the objective.- Parameters:
description- the new description of the objective, represented as aTextTypeobject
-
getId
Retrieves the unique identifier for the objective.- Returns:
- the unique identifier of the objective as a string
-
setId
Sets the unique identifier for the objective.- Parameters:
id- the new unique identifier for the objective, represented as a string
-
equals
-
hashCode
public int hashCode()
-