Package lumis.portal.localization
Class LocaleConfig
- java.lang.Object
-
- lumis.portal.localization.LocaleConfig
-
@StableMinor(version="17.0", sinceVersion="4.0") public class LocaleConfig extends java.lang.Object
Represents a Locale object- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description LocaleConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLocale()
Returns the locale code.java.lang.String
getLocaleId()
Returns the localeId, a guid for identifying the locale in the portal database.java.lang.String
getName()
Returns the display name for this locale.void
setLocale(java.lang.String locale)
Sets the locale code.void
setLocaleId(java.lang.String localeId)
Sets the localeId.void
setName(java.lang.String name)
Sets the display name for this locale.
-
-
-
Method Detail
-
getLocaleId
public java.lang.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(java.lang.String localeId)
Sets the localeId.- Parameters:
localeId
- the localeId value to set- Since:
- 4.0.10
-
getLocale
public java.lang.String getLocale()
Returns the locale code.- Returns:
- the locale
- Since:
- 4.0.10
- See Also:
Locale.toString()
-
setLocale
public void setLocale(java.lang.String locale)
Sets the locale code.- Parameters:
locale
- the locale code value to set- Since:
- 4.0.10
- See Also:
Locale.toString()
-
getName
public java.lang.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(java.lang.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
-
-