Package de.xima.fc.common.bean_models
Class DefaultLocalizationViewModelEntry
- java.lang.Object
-
- de.xima.fc.common.bean_models.DefaultLocalizationViewModelEntry
-
- All Implemented Interfaces:
ILocalizationViewModelEntry
,Serializable
- Direct Known Subclasses:
FcUserInvocationLocalizationEntry
,UserPortalStateLocalizationViewModelEntry
public class DefaultLocalizationViewModelEntry extends Object implements ILocalizationViewModelEntry
Default POJO implementation ofILocalizationViewModelEntry
.- Since:
- 8.2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultLocalizationViewModelEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Locale
getLocale()
The locale for which the localized messages are stored.Map<String,String>
getMessages()
Gets the map with the localized messages, a mapping from the message key to the localized message.void
setLocale(Locale locale)
Sets the locale for which the localized messages are stored.void
setMessages(Map<String,String> messages)
Sets the map with the localized messages, a mapping from the message key to the localized message.
-
-
-
Method Detail
-
getLocale
public Locale getLocale()
Description copied from interface:ILocalizationViewModelEntry
The locale for which the localized messages are stored.- Specified by:
getLocale
in interfaceILocalizationViewModelEntry
- Returns:
- The locale.
-
setLocale
public void setLocale(Locale locale)
Description copied from interface:ILocalizationViewModelEntry
Sets the locale for which the localized messages are stored.- Specified by:
setLocale
in interfaceILocalizationViewModelEntry
- Parameters:
locale
- The locale.
-
getMessages
public Map<String,String> getMessages()
Description copied from interface:ILocalizationViewModelEntry
Gets the map with the localized messages, a mapping from the message key to the localized message.- Specified by:
getMessages
in interfaceILocalizationViewModelEntry
- Returns:
- The map with the localized messages.
-
setMessages
public void setMessages(Map<String,String> messages)
Description copied from interface:ILocalizationViewModelEntry
Sets the map with the localized messages, a mapping from the message key to the localized message.- Specified by:
setMessages
in interfaceILocalizationViewModelEntry
- Parameters:
messages
- The map with the localized messages.
-
-