Package ai.promoted.delivery.model
Class Locale
- java.lang.Object
-
- ai.promoted.delivery.model.Locale
-
public class Locale extends Object
Locale
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_LANGUAGE_CODEstatic StringJSON_PROPERTY_REGION_CODE
-
Constructor Summary
Constructors Constructor Description Locale()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this Locale object is equal to o.StringgetLanguageCode()Get languageCodeStringgetRegionCode()Get regionCodeinthashCode()LocalelanguageCode(String languageCode)LocaleregionCode(String regionCode)voidsetLanguageCode(String languageCode)voidsetRegionCode(String regionCode)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LANGUAGE_CODE
public static final String JSON_PROPERTY_LANGUAGE_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REGION_CODE
public static final String JSON_PROPERTY_REGION_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLanguageCode
public String getLanguageCode()
Get languageCode- Returns:
- languageCode
-
setLanguageCode
public void setLanguageCode(String languageCode)
-
getRegionCode
public String getRegionCode()
Get regionCode- Returns:
- regionCode
-
setRegionCode
public void setRegionCode(String regionCode)
-
equals
public boolean equals(Object o)
Return true if this Locale object is equal to o.
-
-