Class LocaleConfig


  • @StableMinor(version="14.0",
                 sinceVersion="4.0")
    public class LocaleConfig
    extends Object
    Represents a Locale object
    Since:
    4.0.0
    Version:
    $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
    • Constructor Detail

      • LocaleConfig

        public LocaleConfig()
    • 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