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_BASESTORE2CURRENCYRELGenerated relation code constant for relationBaseStore2CurrencyReldefining source attributebaseStoresin extensioncommerceservices.static java.lang.String_SOLRFACETSEARCHCONFIG2CURRENCYRELATIONGenerated relation code constant for relationSolrFacetSearchConfig2CurrencyRelationdefining source attributefacetSearchConfigsin extensionsolrfacetsearch.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringBASEGenerated constant - Attribute key ofCurrency.baseattribute defined at extensioncore.static java.lang.StringBASESTORESGenerated constant - Attribute key ofCurrency.baseStoresattribute defined at extensioncommerceservices.static java.lang.StringCONVERSIONGenerated constant - Attribute key ofCurrency.conversionattribute defined at extensioncore.static java.lang.StringDIGITSGenerated constant - Attribute key ofCurrency.digitsattribute defined at extensioncore.static java.lang.StringFACETSEARCHCONFIGSGenerated constant - Attribute key ofCurrency.facetSearchConfigsattribute defined at extensionsolrfacetsearch.static java.lang.StringSAPCODEGenerated constant - Attribute key ofCurrency.sapCodeattribute defined at extensionsapmodel.static java.lang.StringSYMBOLGenerated constant - Attribute key ofCurrency.symbolattribute 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.BooleangetBase()Generated method - Getter of theCurrency.baseattribute defined at extensioncore.java.util.Collection<BaseStoreModel>getBaseStores()Generated method - Getter of theCurrency.baseStoresattribute defined at extensioncommerceservices.java.lang.DoublegetConversion()Generated method - Getter of theCurrency.conversionattribute defined at extensioncore.java.lang.IntegergetDigits()Generated method - Getter of theCurrency.digitsattribute defined at extensioncore.java.util.List<SolrFacetSearchConfigModel>getFacetSearchConfigs()Generated method - Getter of theCurrency.facetSearchConfigsattribute defined at extensionsolrfacetsearch.java.lang.StringgetSapCode()Generated method - Getter of theCurrency.sapCodeattribute defined at extensionsapmodel.java.lang.StringgetSymbol()Generated method - Getter of theCurrency.symbolattribute defined at extensioncore.voidsetBase(java.lang.Boolean value)Generated method - Setter ofCurrency.baseattribute defined at extensioncore.voidsetBaseStores(java.util.Collection<BaseStoreModel> value)Generated method - Setter ofCurrency.baseStoresattribute defined at extensioncommerceservices.voidsetConversion(java.lang.Double value)Generated method - Setter ofCurrency.conversionattribute defined at extensioncore.voidsetDigits(java.lang.Integer value)Generated method - Setter ofCurrency.digitsattribute defined at extensioncore.voidsetFacetSearchConfigs(java.util.List<SolrFacetSearchConfigModel> value)Generated method - Setter ofCurrency.facetSearchConfigsattribute defined at extensionsolrfacetsearch.voidsetSapCode(java.lang.String value)Generated method - Setter ofCurrency.sapCodeattribute defined at extensionsapmodel.voidsetSymbol(java.lang.String value)Generated method - Setter ofCurrency.symbolattribute 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 relationSolrFacetSearchConfig2CurrencyRelationdefining source attributefacetSearchConfigsin extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
_BASESTORE2CURRENCYREL
public static final java.lang.String _BASESTORE2CURRENCYREL
Generated relation code constant for relationBaseStore2CurrencyReldefining source attributebaseStoresin extensioncommerceservices.- See Also:
- Constant Field Values
-
BASE
public static final java.lang.String BASE
Generated constant - Attribute key ofCurrency.baseattribute defined at extensioncore.- See Also:
- Constant Field Values
-
CONVERSION
public static final java.lang.String CONVERSION
Generated constant - Attribute key ofCurrency.conversionattribute defined at extensioncore.- See Also:
- Constant Field Values
-
DIGITS
public static final java.lang.String DIGITS
Generated constant - Attribute key ofCurrency.digitsattribute defined at extensioncore.- See Also:
- Constant Field Values
-
SYMBOL
public static final java.lang.String SYMBOL
Generated constant - Attribute key ofCurrency.symbolattribute defined at extensioncore.- See Also:
- Constant Field Values
-
FACETSEARCHCONFIGS
public static final java.lang.String FACETSEARCHCONFIGS
Generated constant - Attribute key ofCurrency.facetSearchConfigsattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
BASESTORES
public static final java.lang.String BASESTORES
Generated constant - Attribute key ofCurrency.baseStoresattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
SAPCODE
public static final java.lang.String SAPCODE
Generated constant - Attribute key ofCurrency.sapCodeattribute 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 typeCurrencyat extensioncore_symbol- initial attribute declared by typeCurrencyat 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 typeCurrencyat extensioncore_owner- initial attribute declared by typeItemat extensioncore_symbol- initial attribute declared by typeCurrencyat extensioncore
-
-
Method Detail
-
getBase
@Accessor(qualifier="base", type=GETTER) public java.lang.Boolean getBase()
Generated method - Getter of theCurrency.baseattribute defined at extensioncore.- Returns:
- the base
-
getBaseStores
@Accessor(qualifier="baseStores", type=GETTER) public java.util.Collection<BaseStoreModel> getBaseStores()
Generated method - Getter of theCurrency.baseStoresattribute 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.conversionattribute defined at extensioncore.- Returns:
- the conversion
-
getDigits
@Accessor(qualifier="digits", type=GETTER) public java.lang.Integer getDigits()
Generated method - Getter of theCurrency.digitsattribute defined at extensioncore.- Returns:
- the digits
-
getFacetSearchConfigs
@Accessor(qualifier="facetSearchConfigs", type=GETTER) public java.util.List<SolrFacetSearchConfigModel> getFacetSearchConfigs()
Generated method - Getter of theCurrency.facetSearchConfigsattribute 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.sapCodeattribute 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.symbolattribute defined at extensioncore.- Returns:
- the symbol
-
setBase
@Accessor(qualifier="base", type=SETTER) public void setBase(java.lang.Boolean value)
Generated method - Setter ofCurrency.baseattribute 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.baseStoresattribute defined at extensioncommerceservices.- Parameters:
value- the baseStores
-
setConversion
@Accessor(qualifier="conversion", type=SETTER) public void setConversion(java.lang.Double value)
Generated method - Setter ofCurrency.conversionattribute defined at extensioncore.- Parameters:
value- the conversion
-
setDigits
@Accessor(qualifier="digits", type=SETTER) public void setDigits(java.lang.Integer value)
Generated method - Setter ofCurrency.digitsattribute 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.facetSearchConfigsattribute defined at extensionsolrfacetsearch.- Parameters:
value- the facetSearchConfigs
-
setSapCode
@Accessor(qualifier="sapCode", type=SETTER) public void setSapCode(java.lang.String value)
Generated method - Setter ofCurrency.sapCodeattribute defined at extensionsapmodel.- Parameters:
value- the sapCode - SAP Code (ERP Table TCURC field WAERS)
-
-