Package org.bremersee.common.model
Class JavaLocaleDescription
- java.lang.Object
-
- org.bremersee.common.model.JavaLocaleDescription
-
- All Implemented Interfaces:
Serializable
@Validated public class JavaLocaleDescription extends Object implements Serializable
A java locale and it's description.- Author:
- Christian Bremer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavaLocaleDescription(String locale, String description)
Instantiates a new java locale description.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getDescription()
The description of the locale.@NotNull String
getLocale()
Get the locale.void
setDescription(String description)
Sets description.void
setLocale(String locale)
Sets locale.
-
-
-
Method Detail
-
getLocale
@NotNull public @NotNull String getLocale()
Get the locale.- Returns:
- the locale
-
setLocale
public void setLocale(String locale)
Sets locale.- Parameters:
locale
- the locale
-
getDescription
@NotNull public @NotNull String getDescription()
The description of the locale.- Returns:
- description description
-
setDescription
public void setDescription(String description)
Sets description.- Parameters:
description
- the description
-
-