public interface LanguageAgent
Examples:
SpecialistsBroker.requireSpecialist(LanguageAgent.TYPE)
.getLanguages()
SpecialistsBroker.requireSpecialist(LanguageAgent.TYPE)
.getMasterLanguage()
Modifier and Type | Field and Description |
---|---|
static SpecialistType<LanguageAgent> |
TYPE
The agent's technical type to be used for requesting the agent from a
SpecialistsBroker . |
Modifier and Type | Method and Description |
---|---|
List<Language> |
getLanguages()
Provide access to available persistency languages.
|
Language |
getMasterLanguage()
Provides the persistency language used as master.
|
Map<String,Language> |
getProjectLanguages(boolean includeFallback)
Provide access to available persistency languages, mapping abbreviations to the respective language definition.
|
static final SpecialistType<LanguageAgent> TYPE
SpecialistsBroker
.Language getMasterLanguage()
List<Language> getLanguages()
Map<String,Language> getProjectLanguages(boolean includeFallback)
includeFallback
- If true
, the Fallback-Language
is included in the resulting map.abbreviation
.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500