Class CockpitLocale

  • All Implemented Interfaces:
    java.io.Serializable

    public class CockpitLocale
    extends java.lang.Object
    implements java.io.Serializable

    Java class for cockpit-locale complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="cockpit-locale">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="locale" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="enabled" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean defaultLocale  
      protected boolean enabled  
      protected java.util.Locale locale  
      protected java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      CockpitLocale()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.util.Locale getLocale()
      Gets the value of the locale property.
      java.lang.String getName()
      Gets the value of the name property.
      int hashCode()  
      boolean isDefaultLocale()  
      boolean isEnabled()
      Gets the value of the enabled property.
      void setDefaultLocale​(boolean defaultLocale)  
      void setEnabled​(boolean value)
      Sets the value of the enabled property.
      void setLocale​(java.util.Locale value)
      Sets the value of the locale property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • locale

        protected java.util.Locale locale
      • enabled

        protected boolean enabled
      • defaultLocale

        protected boolean defaultLocale
    • Constructor Detail

      • CockpitLocale

        public CockpitLocale()
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getLocale

        public java.util.Locale getLocale()
        Gets the value of the locale property.
        Returns:
        possible object is String
      • setLocale

        public void setLocale​(java.util.Locale value)
        Sets the value of the locale property.
        Parameters:
        value - allowed object is String
      • isEnabled

        public boolean isEnabled()
        Gets the value of the enabled property.
      • setEnabled

        public void setEnabled​(boolean value)
        Sets the value of the enabled property.
      • isDefaultLocale

        public boolean isDefaultLocale()
        Returns:
        the defaultLocale
      • setDefaultLocale

        public void setDefaultLocale​(boolean defaultLocale)
        Parameters:
        defaultLocale - the defaultLocale to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object