Class Descriptor

java.lang.Object
dev.jcputney.elearning.parser.input.aicc.Descriptor
All Implemented Interfaces:
Serializable

public final class Descriptor extends Object implements 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 Details

    • Descriptor

      public Descriptor(String systemId, String developerId, String title, String description)
      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

      public String getSystemId()
      Retrieves the system ID of the descriptor element.
      Returns:
      the system ID as a String
    • setSystemId

      public void setSystemId(String systemId)
      Sets the system ID of the descriptor element.
      Parameters:
      systemId - the system ID to be assigned
    • getDeveloperId

      public String getDeveloperId()
      Retrieves the developer ID of the descriptor element.
      Returns:
      the developer ID as a String
    • setDeveloperId

      public void setDeveloperId(String developerId)
      Sets the developer ID of the descriptor element.
      Parameters:
      developerId - the developer ID to be assigned
    • getTitle

      public String getTitle()
      Retrieves the title of the descriptor element.
      Returns:
      the title as a String
    • setTitle

      public void setTitle(String title)
      Sets the title of the descriptor element.
      Parameters:
      title - the title to be assigned
    • getDescription

      public String getDescription()
      Retrieves the description of the descriptor element.
      Returns:
      the description as a String
    • setDescription

      public void setDescription(String description)
      Sets the description of the descriptor element.
      Parameters:
      description - the description to be assigned
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object