Class DefaultLocalizationViewModelEntry
java.lang.Object
de.xima.fc.common.bean_models.DefaultLocalizationViewModelEntry
- All Implemented Interfaces:
ILocalizationViewModelEntry, Serializable
- Direct Known Subclasses:
EndUserStateLocalizationViewModelEntry, FcUserInvocationLocalizationEntry
public class DefaultLocalizationViewModelEntry
extends Object
implements ILocalizationViewModelEntry
Default POJO implementation of
ILocalizationViewModelEntry.- Since:
- 8.2.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe locale for which the localized messages are stored.Gets the map with the localized messages, a mapping from the message key to the localized message.voidSets the locale for which the localized messages are stored.voidsetMessages(Map<String, String> messages) Sets the map with the localized messages, a mapping from the message key to the localized message.
-
Constructor Details
-
DefaultLocalizationViewModelEntry
public DefaultLocalizationViewModelEntry()
-
-
Method Details
-
getLocale
Description copied from interface:ILocalizationViewModelEntryThe locale for which the localized messages are stored.- Specified by:
getLocalein interfaceILocalizationViewModelEntry- Returns:
- The locale.
-
setLocale
Description copied from interface:ILocalizationViewModelEntrySets the locale for which the localized messages are stored.- Specified by:
setLocalein interfaceILocalizationViewModelEntry- Parameters:
locale- The locale.
-
getMessages
Description copied from interface:ILocalizationViewModelEntryGets the map with the localized messages, a mapping from the message key to the localized message.- Specified by:
getMessagesin interfaceILocalizationViewModelEntry- Returns:
- The map with the localized messages.
-
setMessages
Description copied from interface:ILocalizationViewModelEntrySets the map with the localized messages, a mapping from the message key to the localized message.- Specified by:
setMessagesin interfaceILocalizationViewModelEntry- Parameters:
messages- The map with the localized messages.
-