Class InspireSupportedLanguages

java.lang.Object
org.n52.shetland.inspire.InspireSupportedLanguages
All Implemented Interfaces:
InspireObject

public class InspireSupportedLanguages extends Object implements InspireObject
Service internal representation of INSPIRE supported languages
Since:
1.0.0
  • Constructor Details

    • InspireSupportedLanguages

      public InspireSupportedLanguages(InspireLanguageISO6392B defaultLanguage)
      constructor
      Parameters:
      defaultLanguage - the mandatory default language
  • Method Details

    • getDefaultLanguage

      public InspireLanguageISO6392B getDefaultLanguage()
      Get the default language
      Returns:
      the defaultLanguage
    • getSupportedLanguages

      public Set<InspireLanguageISO6392B> getSupportedLanguages()
      Get the supported languages
      Returns:
      the supportedLanguages
    • setSupportedLanguages

      public void setSupportedLanguages(Collection<InspireLanguageISO6392B> supportedLanguages)
      Set the supported languages, clears the existing collection
      Parameters:
      supportedLanguages - the supportedLanguages to set
    • addSupportedLanguage

      public InspireSupportedLanguages addSupportedLanguage(InspireLanguageISO6392B supportedLanguage)
      Add the supported language
      Parameters:
      supportedLanguage - the supported language to add
      Returns:
      this
    • isSetSupportedLanguages

      public boolean isSetSupportedLanguages()
      Check if supported languages are set
      Returns:
      true, if supported languages are set
    • toString

      public String toString()
      Overrides:
      toString in class Object