Class BroadleafCurrencyImpl
java.lang.Object
org.broadleafcommerce.common.currency.domain.BroadleafCurrencyImpl
- All Implemented Interfaces:
Serializable,AdminMainEntity,BroadleafCurrency
@Entity
public class BroadleafCurrencyImpl
extends Object
implements BroadleafCurrency, AdminMainEntity
Author: jerryocanas Date: 9/6/12
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Booleanprotected Stringprotected CurrencyFields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleaninthashCode()voidsetCurrencyCode(String code) voidsetDefaultFlag(boolean defaultFlag) voidsetFriendlyName(String friendlyName)
-
Field Details
-
currencyCode
-
friendlyName
-
defaultFlag
-
javaCurrency
-
-
Constructor Details
-
BroadleafCurrencyImpl
public BroadleafCurrencyImpl()
-
-
Method Details
-
getCurrencyCode
- Specified by:
getCurrencyCodein interfaceBroadleafCurrency
-
setCurrencyCode
- Specified by:
setCurrencyCodein interfaceBroadleafCurrency
-
getJavaCurrency
- Specified by:
getJavaCurrencyin interfaceBroadleafCurrency
-
getFriendlyName
- Specified by:
getFriendlyNamein interfaceBroadleafCurrency
-
setFriendlyName
- Specified by:
setFriendlyNamein interfaceBroadleafCurrency
-
getDefaultFlag
public boolean getDefaultFlag()- Specified by:
getDefaultFlagin interfaceBroadleafCurrency
-
setDefaultFlag
public void setDefaultFlag(boolean defaultFlag) - Specified by:
setDefaultFlagin interfaceBroadleafCurrency
-
equals
-
hashCode
public int hashCode() -
getMainEntityName
- Specified by:
getMainEntityNamein interfaceAdminMainEntity- Returns:
- the display name of this entity for the admin screen
-