Package org.n52.shetland.inspire
Class InspireSupportedLanguages
java.lang.Object
org.n52.shetland.inspire.InspireSupportedLanguages
- All Implemented Interfaces:
InspireObject
Service internal representation of INSPIRE supported languages
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionInspireSupportedLanguages(InspireLanguageISO6392B defaultLanguage) constructor -
Method Summary
Modifier and TypeMethodDescriptionaddSupportedLanguage(InspireLanguageISO6392B supportedLanguage) Add the supported languageGet the default languageGet the supported languagesbooleanCheck if supported languages are setvoidsetSupportedLanguages(Collection<InspireLanguageISO6392B> supportedLanguages) Set the supported languages, clears the existing collectiontoString()
-
Constructor Details
-
InspireSupportedLanguages
constructor- Parameters:
defaultLanguage- the mandatory default language
-
-
Method Details
-
getDefaultLanguage
Get the default language- Returns:
- the defaultLanguage
-
getSupportedLanguages
Get the supported languages- Returns:
- the supportedLanguages
-
setSupportedLanguages
Set the supported languages, clears the existing collection- Parameters:
supportedLanguages- the supportedLanguages to set
-
addSupportedLanguage
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
-