Package org.gbif.api.model.checklistbank
Class TableOfContents
java.lang.Object
org.gbif.api.model.checklistbank.TableOfContents
A simple class to represent a table of contents for multiple languages. It is used by species
pages to generate a table of contents menu with asynchronous loading of full descriptions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDescription
(int key, Language lang, String topic) boolean
getToc()
int
hashCode()
boolean
isEmpty()
listTopicEntries
(Language lang) toString()
-
Constructor Details
-
TableOfContents
public TableOfContents()
-
-
Method Details
-
addDescription
-
isEmpty
-
listLanguages
- Returns:
- list of all languages available for this ToC
-
listTopicEntries
- Returns:
- map of all topics for a given language with a list of entry keys for each language
-
getToc
-
equals
-
hashCode
-
toString
-