Class Description

    • Method Detail

      • getKey

        public Integer getKey()
        A unique GBIF identifier for any description. This key is used in the table of contents to retrieve the detailed description.
      • getContributor

        @Nullable
        public String getContributor()
        An entity responsible for making contributions to the textual information provided for a description.
        Returns:
        the contributor
      • setContributor

        public void setContributor​(String contributor)
        Parameters:
        contributor - the contributor to set
      • getCreator

        @Nullable
        public String getCreator()
        The author(s) of the textual information provided for a description.
        Returns:
        the creator
      • setCreator

        public void setCreator​(String creator)
        Parameters:
        creator - the creator to set.
      • getDescription

        @Nullable
        public String getDescription()
        Any descriptive free text matching the category given as dc:type. The text should be either plain text or formatted with basic HTML tags, i.e. h1-4,p,i,b,a,img,ul and li. All other tags should be removed.
        Returns:
        the description
      • setDescription

        public void setDescription​(String description)
        Parameters:
        description - the description to set
      • getLanguage

        @Nullable
        public Language getLanguage()
        ISO 639-1 language code used for the description.
        Returns:
        the language
      • setLanguage

        public void setLanguage​(Language language)
        Parameters:
        language - the language to set
      • getLicense

        @Nullable
        public String getLicense()
        Official permission to do something with the resource. Please use Creative Commons URIs if you can.

        Example: CC-BY

        Returns:
        the license.
      • setLicense

        public void setLicense​(String license)
        Parameters:
        license - the license to set
      • getType

        @Nullable
        public String getType()
        Returns the type used to categorize paragraphs of a taxon description. Given the list of types is so broad, an Enum is not used to maintain it. Rather it is kept as plain text.
        Returns:
        the type
        See Also:
        Description type definition
      • setType

        public void setType​(String type)
        Parameters:
        type - the type to set