Class CatalogEntry
java.lang.Object
dev.jcputney.elearning.parser.input.lom.types.CatalogEntry
- All Implemented Interfaces:
Serializable
Represents a catalog entry in LOM metadata. This type is used for fields that require a catalog
entry.
<xsd:complexType name="catalogentryType" mixed="true">
<xsd:sequence>
<xsd:element ref="catalog"/>
<xsd:element ref="entry"/>
<xsd:group ref="grp.any"/>
</xsd:sequence>
</xsd:complexType>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the catalog associated with this catalog entry.getEntry()Retrieves the entry associated with this catalog entry.inthashCode()voidsetCatalog(String catalog) Sets the catalog for this catalog entry.voidsetEntry(UnboundLangString entry) Sets the entry for this catalog entry.
-
Constructor Details
-
CatalogEntry
public CatalogEntry()Default constructor for the CatalogEntry class.Initializes an empty instance of the CatalogEntry object with no assigned catalog or entry values. Primarily used for deserialization or creating placeholders before explicit values are set.
-
-
Method Details
-
getCatalog
Retrieves the catalog associated with this catalog entry.- Returns:
- the catalog as a string
-
setCatalog
Sets the catalog for this catalog entry.- Parameters:
catalog- the name of the catalog to set
-
getEntry
Retrieves the entry associated with this catalog entry.- Returns:
- the entry as an UnboundLangString, representing multiple language-specific string values
-
setEntry
Sets the entry for this catalog entry.- Parameters:
entry- the entry to set, represented as an UnboundLangString containing multiple language-specific string values
-
equals
-
hashCode
public int hashCode()
-