@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 Locale
public void setLocaleCode(String localeCode)
setLocaleCode
in interface Locale
public String getFriendlyName()
getFriendlyName
in interface Locale
public void setFriendlyName(String friendlyName)
setFriendlyName
in interface Locale
public void setDefaultFlag(Boolean defaultFlag)
setDefaultFlag
in interface Locale
public Boolean getDefaultFlag()
getDefaultFlag
in interface Locale
public BroadleafCurrency getDefaultCurrency()
getDefaultCurrency
in interface Locale
public void setDefaultCurrency(BroadleafCurrency defaultCurrency)
setDefaultCurrency
in interface Locale
public Boolean getUseCountryInSearchIndex()
Locale
getUseCountryInSearchIndex
in interface Locale
public void setUseCountryInSearchIndex(Boolean useInSearchIndex)
Locale
setUseCountryInSearchIndex
in interface Locale
public Locale getJavaLocale()
getJavaLocale
in interface Locale
public String getMainEntityName()
getMainEntityName
in interface AdminMainEntity
Copyright © 2022. All rights reserved.