Class Descriptor
java.lang.Object
dev.jcputney.elearning.parser.input.aicc.Descriptor
- All Implemented Interfaces:
Serializable
Represents the descriptor element in an AICC module.
This class is used to parse the descriptor element of an AICC module file. It contains information about the system ID, developer ID, title, and description of the module.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for the Descriptor class.Descriptor(String systemId, String developerId, String title, String description) Constructs a Descriptor object with the specified system ID, developer ID, title, and description. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the description of the descriptor element.Retrieves the developer ID of the descriptor element.Retrieves the system ID of the descriptor element.getTitle()Retrieves the title of the descriptor element.inthashCode()voidsetDescription(String description) Sets the description of the descriptor element.voidsetDeveloperId(String developerId) Sets the developer ID of the descriptor element.voidsetSystemId(String systemId) Sets the system ID of the descriptor element.voidSets the title of the descriptor element.
-
Constructor Details
-
Descriptor
Constructs a Descriptor object with the specified system ID, developer ID, title, and description.- Parameters:
systemId- the unique identifier for the system.developerId- the unique identifier for the developer.title- the title of the descriptor.description- a detailed description of the descriptor.
-
Descriptor
public Descriptor()Default constructor for the Descriptor class. Initializes an instance of the Descriptor object with no initial values set for its fields.
-
-
Method Details
-
getSystemId
Retrieves the system ID of the descriptor element.- Returns:
- the system ID as a String
-
setSystemId
Sets the system ID of the descriptor element.- Parameters:
systemId- the system ID to be assigned
-
getDeveloperId
Retrieves the developer ID of the descriptor element.- Returns:
- the developer ID as a String
-
setDeveloperId
Sets the developer ID of the descriptor element.- Parameters:
developerId- the developer ID to be assigned
-
getTitle
Retrieves the title of the descriptor element.- Returns:
- the title as a String
-
setTitle
Sets the title of the descriptor element.- Parameters:
title- the title to be assigned
-
getDescription
Retrieves the description of the descriptor element.- Returns:
- the description as a String
-
setDescription
Sets the description of the descriptor element.- Parameters:
description- the description to be assigned
-
equals
-
hashCode
public int hashCode()
-