Class KeywordsImpl

  • All Implemented Interfaces:
    Serializable, Cloneable, Keywords

    public class KeywordsImpl
    extends MetadataEntity
    implements Keywords
    Keywords, their type and reference source.
    Since:
    2.1
    Author:
    Martin Desruisseaux (IRD), Touraïvane
    See Also:
    Serialized Form
    • Constructor Detail

      • KeywordsImpl

        public KeywordsImpl()
        Constructs an initially empty keywords.
      • KeywordsImpl

        public KeywordsImpl​(Keywords source)
        Constructs a metadata entity initialized with the values from the specified metadata.
        Since:
        2.4
      • KeywordsImpl

        public KeywordsImpl​(Collection<? extends InternationalString> keywords)
        Creates keywords initialized to the given list.
    • Method Detail

      • getKeywords

        public Collection<InternationalString> getKeywords()
        Commonly used word(s) or formalised word(s) or phrase(s) used to describe the subject.
        Specified by:
        getKeywords in interface Keywords
        Returns:
        Word(s) or phrase(s) used to describe the subject.
      • setKeywords

        public void setKeywords​(Collection<? extends InternationalString> newValues)
        Set commonly used word(s) or formalised word(s) or phrase(s) used to describe the subject.
      • getType

        public KeywordType getType()
        Subject matter used to group similar keywords.
        Specified by:
        getType in interface Keywords
        Returns:
        Subject matter used to group similar keywords, or null.
      • setType

        public void setType​(KeywordType newValue)
        Set the subject matter used to group similar keywords.
      • getThesaurusName

        public Citation getThesaurusName()
        Name of the formally registered thesaurus or a similar authoritative source of keywords.
        Specified by:
        getThesaurusName in interface Keywords
        Returns:
        Name of registered thesaurus or similar authoritative source of keywords, or null.
      • setThesaurusName

        public void setThesaurusName​(Citation newValue)
        Set the name of the formally registered thesaurus or a similar authoritative source of keywords.