Class CockpitLocale
- java.lang.Object
-
- com.hybris.cockpitng.config.locales.jaxb.CockpitLocale
-
- All Implemented Interfaces:
java.io.Serializable
public class CockpitLocale extends java.lang.Object implements java.io.SerializableJava 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 booleandefaultLocaleprotected booleanenabledprotected java.util.Localelocaleprotected java.lang.Stringname
-
Constructor Summary
Constructors Constructor Description CockpitLocale()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.LocalegetLocale()Gets the value of the locale property.java.lang.StringgetName()Gets the value of the name property.inthashCode()booleanisDefaultLocale()booleanisEnabled()Gets the value of the enabled property.voidsetDefaultLocale(boolean defaultLocale)voidsetEnabled(boolean value)Sets the value of the enabled property.voidsetLocale(java.util.Locale value)Sets the value of the locale property.voidsetName(java.lang.String value)Sets the value of the name property.
-
-
-
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 isString
-
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 isString
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-