Package org.n52.shetland.inspire
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 Summary
Constructors Constructor Description InspireSupportedLanguages(InspireLanguageISO6392B defaultLanguage)constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InspireSupportedLanguagesaddSupportedLanguage(InspireLanguageISO6392B supportedLanguage)Add the supported languageInspireLanguageISO6392BgetDefaultLanguage()Get the default languageSet<InspireLanguageISO6392B>getSupportedLanguages()Get the supported languagesbooleanisSetSupportedLanguages()Check if supported languages are setvoidsetSupportedLanguages(Collection<InspireLanguageISO6392B> supportedLanguages)Set the supported languages, clears the existing collectionStringtoString()
-
-
-
Constructor Detail
-
InspireSupportedLanguages
public InspireSupportedLanguages(InspireLanguageISO6392B defaultLanguage)
constructor- Parameters:
defaultLanguage- the mandatory default language
-
-
Method Detail
-
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
-
-