Interface ISynonym

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getId()
      Returns the id.
      java.util.Locale getLocale()
      Returns the locale.
      java.lang.String getTitle()
      Returns the title.
      java.util.Set<java.lang.String> getWords()
      Returns the words.
      void setLocale​(java.util.Locale locale)
      Sets the locale.
      void setTitle​(java.lang.String title)
      Sets the title.
      void setWords​(java.util.Set<java.lang.String> words)
      Sets the words.
    • Method Detail

      • getTitle

        java.lang.String getTitle()
        Returns the title.
        Returns:
        the title
        Since:
        11.1.0
      • setTitle

        void setTitle​(java.lang.String title)
        Sets the title.
        Parameters:
        title - the title value to set.
        Throws:
        java.lang.IllegalArgumentException - if the title is null or empty.
        Since:
        11.1.0
      • getLocale

        java.util.Locale getLocale()
        Returns the locale.
        Returns:
        the locale
        Since:
        11.1.0
      • setLocale

        void setLocale​(java.util.Locale locale)
        Sets the locale.
        Parameters:
        locale - the locale value to set.
        Throws:
        java.lang.IllegalArgumentException - if the given locale is null.
        Since:
        11.1.0
      • getWords

        java.util.Set<java.lang.String> getWords()
        Returns the words.
        Returns:
        the words
        Since:
        11.1.0
      • setWords

        void setWords​(java.util.Set<java.lang.String> words)
        Sets the words.
        Parameters:
        words - the words value to set.
        Throws:
        java.lang.IllegalArgumentException - if the given set is null or if it has less than two items.
        Since:
        11.1.0
      • getId

        java.lang.String getId()
        Returns the id.
        Returns:
        the id
        Since:
        11.1.0