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 LocalegetLocale()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.voidsetLocale(Locale locale)Sets 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. 
 - 
 
- 
- 
Method Detail
- 
getLocale
public Locale getLocale()
Description copied from interface:ILocalizationViewModelEntryThe locale for which the localized messages are stored.- Specified by:
 getLocalein interfaceILocalizationViewModelEntry- Returns:
 - The locale.
 
 
- 
setLocale
public void setLocale(Locale locale)
Description copied from interface:ILocalizationViewModelEntrySets the locale for which the localized messages are stored.- Specified by:
 setLocalein interfaceILocalizationViewModelEntry- Parameters:
 locale- The locale.
 
- 
getMessages
public Map<String,String> 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
public void setMessages(Map<String,String> messages)
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.
 
 - 
 
 -