Package lumis.portal.localization
Class LocaleConfig
- java.lang.Object
-
- lumis.portal.localization.LocaleConfig
-
@StableMinor(version="14.1", sinceVersion="4.0") public class LocaleConfig extends Object
Represents a Locale object- Since:
- 4.0.0
- Version:
- $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
-
-
Constructor Summary
Constructors Constructor Description LocaleConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocale()
Returns the locale code.String
getLocaleId()
Returns the localeId, a guid for identifying the locale in the portal database.String
getName()
Returns the display name for this locale.void
setLocale(String locale)
Sets the locale code.void
setLocaleId(String localeId)
Sets the localeId.void
setName(String name)
Sets the display name for this locale.
-
-
-
Method Detail
-
getLocaleId
public String getLocaleId()
Returns the localeId, a guid for identifying the locale in the portal database.- Returns:
- the localeId
- Since:
- 4.0.10
-
setLocaleId
public void setLocaleId(String localeId)
Sets the localeId.- Parameters:
localeId
- the localeId value to set- Since:
- 4.0.10
-
getLocale
public String getLocale()
Returns the locale code.- Returns:
- the locale
- Since:
- 4.0.10
- See Also:
Locale.toString()
-
setLocale
public void setLocale(String locale)
Sets the locale code.- Parameters:
locale
- the locale code value to set- Since:
- 4.0.10
- See Also:
Locale.toString()
-
getName
public String getName()
Returns the display name for this locale. The name is expected to already be localized in its locale language.- Returns:
- this locale's display name.
- Since:
- 4.0.10
-
setName
public void setName(String name)
Sets the display name for this locale. The name is expected to already be localized in its locale language.- Parameters:
name
- this locale's display name.- Since:
- 4.0.10
-
-