Class 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
    • 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 relation SolrFacetSearchConfig2CurrencyRelation defining source attribute facetSearchConfigs in extension solrfacetsearch.
        See Also:
        Constant Field Values
      • _BASESTORE2CURRENCYREL

        public static final java.lang.String _BASESTORE2CURRENCYREL
        Generated relation code constant for relation BaseStore2CurrencyRel defining source attribute baseStores in extension commerceservices.
        See Also:
        Constant Field Values
      • BASE

        public static final java.lang.String BASE
        Generated constant - Attribute key of Currency.base attribute defined at extension core.
        See Also:
        Constant Field Values
      • CONVERSION

        public static final java.lang.String CONVERSION
        Generated constant - Attribute key of Currency.conversion attribute defined at extension core.
        See Also:
        Constant Field Values
      • DIGITS

        public static final java.lang.String DIGITS
        Generated constant - Attribute key of Currency.digits attribute defined at extension core.
        See Also:
        Constant Field Values
      • SYMBOL

        public static final java.lang.String SYMBOL
        Generated constant - Attribute key of Currency.symbol attribute defined at extension core.
        See Also:
        Constant Field Values
      • FACETSEARCHCONFIGS

        public static final java.lang.String FACETSEARCHCONFIGS
        Generated constant - Attribute key of Currency.facetSearchConfigs attribute defined at extension solrfacetsearch.
        See Also:
        Constant Field Values
      • BASESTORES

        public static final java.lang.String BASESTORES
        Generated constant - Attribute key of Currency.baseStores attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • SAPCODE

        public static final java.lang.String SAPCODE
        Generated constant - Attribute key of Currency.sapCode attribute defined at extension sapmodel.
        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 parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _isocode - initial attribute declared by type Currency at extension core
        _symbol - initial attribute declared by type Currency at extension core
      • 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 parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _isocode - initial attribute declared by type Currency at extension core
        _owner - initial attribute declared by type Item at extension core
        _symbol - initial attribute declared by type Currency at extension core
    • Method Detail

      • getBase

        @Accessor(qualifier="base",
                  type=GETTER)
        public java.lang.Boolean getBase()
        Generated method - Getter of the Currency.base attribute defined at extension core.
        Returns:
        the base
      • getBaseStores

        @Accessor(qualifier="baseStores",
                  type=GETTER)
        public java.util.Collection<BaseStoreModel> getBaseStores()
        Generated method - Getter of the Currency.baseStores attribute defined at extension commerceservices. 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 the Currency.conversion attribute defined at extension core.
        Returns:
        the conversion
      • getDigits

        @Accessor(qualifier="digits",
                  type=GETTER)
        public java.lang.Integer getDigits()
        Generated method - Getter of the Currency.digits attribute defined at extension core.
        Returns:
        the digits
      • getFacetSearchConfigs

        @Accessor(qualifier="facetSearchConfigs",
                  type=GETTER)
        public java.util.List<SolrFacetSearchConfigModel> getFacetSearchConfigs()
        Generated method - Getter of the Currency.facetSearchConfigs attribute defined at extension solrfacetsearch. 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 the Currency.sapCode attribute defined at extension sapmodel.
        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 the Currency.symbol attribute defined at extension core.
        Returns:
        the symbol
      • setBase

        @Accessor(qualifier="base",
                  type=SETTER)
        public void setBase​(java.lang.Boolean value)
        Generated method - Setter of Currency.base attribute defined at extension core.
        Parameters:
        value - the base
      • setBaseStores

        @Accessor(qualifier="baseStores",
                  type=SETTER)
        public void setBaseStores​(java.util.Collection<BaseStoreModel> value)
        Generated method - Setter of Currency.baseStores attribute defined at extension commerceservices.
        Parameters:
        value - the baseStores
      • setConversion

        @Accessor(qualifier="conversion",
                  type=SETTER)
        public void setConversion​(java.lang.Double value)
        Generated method - Setter of Currency.conversion attribute defined at extension core.
        Parameters:
        value - the conversion
      • setDigits

        @Accessor(qualifier="digits",
                  type=SETTER)
        public void setDigits​(java.lang.Integer value)
        Generated method - Setter of Currency.digits attribute defined at extension core.
        Parameters:
        value - the digits
      • setFacetSearchConfigs

        @Accessor(qualifier="facetSearchConfigs",
                  type=SETTER)
        public void setFacetSearchConfigs​(java.util.List<SolrFacetSearchConfigModel> value)
        Generated method - Setter of Currency.facetSearchConfigs attribute defined at extension solrfacetsearch.
        Parameters:
        value - the facetSearchConfigs
      • setSapCode

        @Accessor(qualifier="sapCode",
                  type=SETTER)
        public void setSapCode​(java.lang.String value)
        Generated method - Setter of Currency.sapCode attribute defined at extension sapmodel.
        Parameters:
        value - the sapCode - SAP Code (ERP Table TCURC field WAERS)
      • setSymbol

        @Accessor(qualifier="symbol",
                  type=SETTER)
        public void setSymbol​(java.lang.String value)
        Generated method - Setter of Currency.symbol attribute defined at extension core.
        Parameters:
        value - the symbol