Class CurrencyModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.c2l.C2LItemModel
-
- de.hybris.platform.core.model.c2l.CurrencyModel
-
- All Implemented Interfaces:
java.io.Serializable
public class CurrencyModel extends C2LItemModel
Generated model class for type Currency first defined at extension core.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_BASESTORE2CURRENCYREL
Generated relation code constant for relationBaseStore2CurrencyRel
defining source attributebaseStores
in extensioncommerceservices
.static java.lang.String
_SOLRFACETSEARCHCONFIG2CURRENCYRELATION
Generated relation code constant for relationSolrFacetSearchConfig2CurrencyRelation
defining source attributefacetSearchConfigs
in extensionsolrfacetsearch
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
BASE
Generated constant - Attribute key ofCurrency.base
attribute defined at extensioncore
.static java.lang.String
BASESTORES
Generated constant - Attribute key ofCurrency.baseStores
attribute defined at extensioncommerceservices
.static java.lang.String
CONVERSION
Generated constant - Attribute key ofCurrency.conversion
attribute defined at extensioncore
.static java.lang.String
DIGITS
Generated constant - Attribute key ofCurrency.digits
attribute defined at extensioncore
.static java.lang.String
FACETSEARCHCONFIGS
Generated constant - Attribute key ofCurrency.facetSearchConfigs
attribute defined at extensionsolrfacetsearch
.static java.lang.String
SAPCODE
Generated constant - Attribute key ofCurrency.sapCode
attribute defined at extensionsapmodel
.static java.lang.String
SYMBOL
Generated constant - Attribute key ofCurrency.symbol
attribute defined at extensioncore
.-
Fields inherited from class de.hybris.platform.core.model.c2l.C2LItemModel
ACTIVE, ISOCODE, NAME, ZONE
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description CurrencyModel()
Generated constructor - Default constructor for generic creation.CurrencyModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextCurrencyModel(java.lang.String _isocode, ItemModel _owner, java.lang.String _symbol)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCurrencyModel(java.lang.String _isocode, java.lang.String _symbol)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getBase()
Generated method - Getter of theCurrency.base
attribute defined at extensioncore
.java.util.Collection<BaseStoreModel>
getBaseStores()
Generated method - Getter of theCurrency.baseStores
attribute defined at extensioncommerceservices
.java.lang.Double
getConversion()
Generated method - Getter of theCurrency.conversion
attribute defined at extensioncore
.java.lang.Integer
getDigits()
Generated method - Getter of theCurrency.digits
attribute defined at extensioncore
.java.util.List<SolrFacetSearchConfigModel>
getFacetSearchConfigs()
Generated method - Getter of theCurrency.facetSearchConfigs
attribute defined at extensionsolrfacetsearch
.java.lang.String
getSapCode()
Generated method - Getter of theCurrency.sapCode
attribute defined at extensionsapmodel
.java.lang.String
getSymbol()
Generated method - Getter of theCurrency.symbol
attribute defined at extensioncore
.void
setBase(java.lang.Boolean value)
Generated method - Setter ofCurrency.base
attribute defined at extensioncore
.void
setBaseStores(java.util.Collection<BaseStoreModel> value)
Generated method - Setter ofCurrency.baseStores
attribute defined at extensioncommerceservices
.void
setConversion(java.lang.Double value)
Generated method - Setter ofCurrency.conversion
attribute defined at extensioncore
.void
setDigits(java.lang.Integer value)
Generated method - Setter ofCurrency.digits
attribute defined at extensioncore
.void
setFacetSearchConfigs(java.util.List<SolrFacetSearchConfigModel> value)
Generated method - Setter ofCurrency.facetSearchConfigs
attribute defined at extensionsolrfacetsearch
.void
setSapCode(java.lang.String value)
Generated method - Setter ofCurrency.sapCode
attribute defined at extensionsapmodel
.void
setSymbol(java.lang.String value)
Generated method - Setter ofCurrency.symbol
attribute defined at extensioncore
.-
Methods inherited from class de.hybris.platform.core.model.c2l.C2LItemModel
getActive, getIsocode, getName, getName, getZone, setActive, setIsocode, setName, setName, setZone
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_SOLRFACETSEARCHCONFIG2CURRENCYRELATION
public static final java.lang.String _SOLRFACETSEARCHCONFIG2CURRENCYRELATION
Generated relation code constant for relationSolrFacetSearchConfig2CurrencyRelation
defining source attributefacetSearchConfigs
in extensionsolrfacetsearch
.- See Also:
- Constant Field Values
-
_BASESTORE2CURRENCYREL
public static final java.lang.String _BASESTORE2CURRENCYREL
Generated relation code constant for relationBaseStore2CurrencyRel
defining source attributebaseStores
in extensioncommerceservices
.- See Also:
- Constant Field Values
-
BASE
public static final java.lang.String BASE
Generated constant - Attribute key ofCurrency.base
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
CONVERSION
public static final java.lang.String CONVERSION
Generated constant - Attribute key ofCurrency.conversion
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
DIGITS
public static final java.lang.String DIGITS
Generated constant - Attribute key ofCurrency.digits
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
SYMBOL
public static final java.lang.String SYMBOL
Generated constant - Attribute key ofCurrency.symbol
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
FACETSEARCHCONFIGS
public static final java.lang.String FACETSEARCHCONFIGS
Generated constant - Attribute key ofCurrency.facetSearchConfigs
attribute defined at extensionsolrfacetsearch
.- See Also:
- Constant Field Values
-
BASESTORES
public static final java.lang.String BASESTORES
Generated constant - Attribute key ofCurrency.baseStores
attribute defined at extensioncommerceservices
.- See Also:
- Constant Field Values
-
SAPCODE
public static final java.lang.String SAPCODE
Generated constant - Attribute key ofCurrency.sapCode
attribute defined at extensionsapmodel
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CurrencyModel
public CurrencyModel()
Generated constructor - Default constructor for generic creation.
-
CurrencyModel
public CurrencyModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
CurrencyModel
@Deprecated(since="4.1.1", forRemoval=true) public CurrencyModel(java.lang.String _isocode, java.lang.String _symbol)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_isocode
- initial attribute declared by typeCurrency
at extensioncore
_symbol
- initial attribute declared by typeCurrency
at extensioncore
-
CurrencyModel
@Deprecated(since="4.1.1", forRemoval=true) public CurrencyModel(java.lang.String _isocode, ItemModel _owner, java.lang.String _symbol)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_isocode
- initial attribute declared by typeCurrency
at extensioncore
_owner
- initial attribute declared by typeItem
at extensioncore
_symbol
- initial attribute declared by typeCurrency
at extensioncore
-
-
Method Detail
-
getBase
@Accessor(qualifier="base", type=GETTER) public java.lang.Boolean getBase()
Generated method - Getter of theCurrency.base
attribute defined at extensioncore
.- Returns:
- the base
-
getBaseStores
@Accessor(qualifier="baseStores", type=GETTER) public java.util.Collection<BaseStoreModel> getBaseStores()
Generated method - Getter of theCurrency.baseStores
attribute defined at extensioncommerceservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the baseStores
-
getConversion
@Accessor(qualifier="conversion", type=GETTER) public java.lang.Double getConversion()
Generated method - Getter of theCurrency.conversion
attribute defined at extensioncore
.- Returns:
- the conversion
-
getDigits
@Accessor(qualifier="digits", type=GETTER) public java.lang.Integer getDigits()
Generated method - Getter of theCurrency.digits
attribute defined at extensioncore
.- Returns:
- the digits
-
getFacetSearchConfigs
@Accessor(qualifier="facetSearchConfigs", type=GETTER) public java.util.List<SolrFacetSearchConfigModel> getFacetSearchConfigs()
Generated method - Getter of theCurrency.facetSearchConfigs
attribute defined at extensionsolrfacetsearch
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the facetSearchConfigs
-
getSapCode
@Accessor(qualifier="sapCode", type=GETTER) public java.lang.String getSapCode()
Generated method - Getter of theCurrency.sapCode
attribute defined at extensionsapmodel
.- Returns:
- the sapCode - SAP Code (ERP Table TCURC field WAERS)
-
getSymbol
@Accessor(qualifier="symbol", type=GETTER) public java.lang.String getSymbol()
Generated method - Getter of theCurrency.symbol
attribute defined at extensioncore
.- Returns:
- the symbol
-
setBase
@Accessor(qualifier="base", type=SETTER) public void setBase(java.lang.Boolean value)
Generated method - Setter ofCurrency.base
attribute defined at extensioncore
.- Parameters:
value
- the base
-
setBaseStores
@Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(java.util.Collection<BaseStoreModel> value)
Generated method - Setter ofCurrency.baseStores
attribute defined at extensioncommerceservices
.- Parameters:
value
- the baseStores
-
setConversion
@Accessor(qualifier="conversion", type=SETTER) public void setConversion(java.lang.Double value)
Generated method - Setter ofCurrency.conversion
attribute defined at extensioncore
.- Parameters:
value
- the conversion
-
setDigits
@Accessor(qualifier="digits", type=SETTER) public void setDigits(java.lang.Integer value)
Generated method - Setter ofCurrency.digits
attribute defined at extensioncore
.- Parameters:
value
- the digits
-
setFacetSearchConfigs
@Accessor(qualifier="facetSearchConfigs", type=SETTER) public void setFacetSearchConfigs(java.util.List<SolrFacetSearchConfigModel> value)
Generated method - Setter ofCurrency.facetSearchConfigs
attribute defined at extensionsolrfacetsearch
.- Parameters:
value
- the facetSearchConfigs
-
setSapCode
@Accessor(qualifier="sapCode", type=SETTER) public void setSapCode(java.lang.String value)
Generated method - Setter ofCurrency.sapCode
attribute defined at extensionsapmodel
.- Parameters:
value
- the sapCode - SAP Code (ERP Table TCURC field WAERS)
-
-