org.broadleafcommerce.common.locale.domain
Class LocaleImpl

java.lang.Object
  extended by org.broadleafcommerce.common.locale.domain.LocaleImpl
All Implemented Interfaces:
Serializable, Locale

@Entity
public class LocaleImpl
extends Object
implements Locale

Created by jfischer

See Also:
Serialized Form

Field Summary
protected  BroadleafCurrency defaultCurrency
           
protected  Boolean defaultFlag
           
protected  String friendlyName
           
protected  String localeCode
           
protected  Boolean useInSearchIndex
           
 
Constructor Summary
LocaleImpl()
           
 
Method Summary
 boolean equals(Object o)
           
 BroadleafCurrency getDefaultCurrency()
           
 Boolean getDefaultFlag()
           
 String getFriendlyName()
           
 String getLocaleCode()
           
 Boolean getUseInSearchIndex()
           
 int hashCode()
           
 void setDefaultCurrency(BroadleafCurrency defaultCurrency)
           
 void setDefaultFlag(Boolean defaultFlag)
           
 void setFriendlyName(String friendlyName)
           
 void setLocaleCode(String localeCode)
           
 void setUseInSearchIndex(Boolean useInSearchIndex)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localeCode

protected String localeCode

friendlyName

protected String friendlyName

defaultFlag

protected Boolean defaultFlag

defaultCurrency

protected BroadleafCurrency defaultCurrency

useInSearchIndex

protected Boolean useInSearchIndex
Constructor Detail

LocaleImpl

public LocaleImpl()
Method Detail

getLocaleCode

public String getLocaleCode()
Specified by:
getLocaleCode in interface Locale

setLocaleCode

public void setLocaleCode(String localeCode)
Specified by:
setLocaleCode in interface Locale

getFriendlyName

public String getFriendlyName()
Specified by:
getFriendlyName in interface Locale

setFriendlyName

public void setFriendlyName(String friendlyName)
Specified by:
setFriendlyName in interface Locale

setDefaultFlag

public void setDefaultFlag(Boolean defaultFlag)
Specified by:
setDefaultFlag in interface Locale

getDefaultFlag

public Boolean getDefaultFlag()
Specified by:
getDefaultFlag in interface Locale

getDefaultCurrency

public BroadleafCurrency getDefaultCurrency()
Specified by:
getDefaultCurrency in interface Locale

setDefaultCurrency

public void setDefaultCurrency(BroadleafCurrency defaultCurrency)
Specified by:
setDefaultCurrency in interface Locale

getUseInSearchIndex

public Boolean getUseInSearchIndex()
Specified by:
getUseInSearchIndex in interface Locale

setUseInSearchIndex

public void setUseInSearchIndex(Boolean useInSearchIndex)
Specified by:
setUseInSearchIndex in interface Locale

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.