@Entity public class LocaleImpl extends Object implements Locale, AdminMainEntity
| Modifier and Type | Field and Description |
|---|---|
protected BroadleafCurrency |
defaultCurrency |
protected Boolean |
defaultFlag |
protected String |
friendlyName |
protected Locale |
javaLocale |
protected String |
localeCode |
protected Boolean |
useInSearchIndex |
MAIN_ENTITY_NAME_PROPERTY| Constructor and Description |
|---|
LocaleImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
BroadleafCurrency |
getDefaultCurrency() |
Boolean |
getDefaultFlag() |
String |
getFriendlyName() |
Locale |
getJavaLocale() |
String |
getLocaleCode() |
String |
getMainEntityName() |
Boolean |
getUseCountryInSearchIndex()
If true then the country portion of the locale will be used when building the search index.
|
int |
hashCode() |
void |
setDefaultCurrency(BroadleafCurrency defaultCurrency) |
void |
setDefaultFlag(Boolean defaultFlag) |
void |
setFriendlyName(String friendlyName) |
void |
setLocaleCode(String localeCode) |
void |
setUseCountryInSearchIndex(Boolean useInSearchIndex)
Sets whether or not to use the country portion of the locale in the search index.
|
protected String localeCode
protected String friendlyName
protected Boolean defaultFlag
protected BroadleafCurrency defaultCurrency
protected Boolean useInSearchIndex
protected Locale javaLocale
public String getLocaleCode()
getLocaleCode in interface Localepublic void setLocaleCode(String localeCode)
setLocaleCode in interface Localepublic String getFriendlyName()
getFriendlyName in interface Localepublic void setFriendlyName(String friendlyName)
setFriendlyName in interface Localepublic void setDefaultFlag(Boolean defaultFlag)
setDefaultFlag in interface Localepublic Boolean getDefaultFlag()
getDefaultFlag in interface Localepublic BroadleafCurrency getDefaultCurrency()
getDefaultCurrency in interface Localepublic void setDefaultCurrency(BroadleafCurrency defaultCurrency)
setDefaultCurrency in interface Localepublic Boolean getUseCountryInSearchIndex()
LocalegetUseCountryInSearchIndex in interface Localepublic void setUseCountryInSearchIndex(Boolean useInSearchIndex)
LocalesetUseCountryInSearchIndex in interface Localepublic Locale getJavaLocale()
getJavaLocale in interface Localepublic String getMainEntityName()
getMainEntityName in interface AdminMainEntityCopyright © 2022. All rights reserved.