Class LocaleConfig


  • @StableMinor(version="15.0",
                 sinceVersion="4.0")
    public class LocaleConfig
    extends java.lang.Object
    Represents a Locale object
    Since:
    4.0.0
    Version:
    $Revision: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocaleConfig

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