Class CurrencyModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class CurrencyModel extends C2LItemModel
Generated model class for type Currency first defined at extension core.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation BaseStore2CurrencyRel defining source attribute baseStores in extension commerceservices.
    static final String
    Generated relation code constant for relation SolrFacetSearchConfig2CurrencyRelation defining source attribute facetSearchConfigs in extension solrfacetsearch.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of Currency.base attribute defined at extension core.
    static final String
    Generated constant - Attribute key of Currency.baseStores attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of Currency.conversion attribute defined at extension core.
    static final String
    Generated constant - Attribute key of Currency.digits attribute defined at extension core.
    static final String
    Generated constant - Attribute key of Currency.facetSearchConfigs attribute defined at extension solrfacetsearch.
    static final String
    Generated constant - Attribute key of Currency.symbol attribute defined at extension core.

    Fields inherited from class de.hybris.platform.core.model.c2l.C2LItemModel

    ACTIVE, ISOCODE, NAME

    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
    Generated constructor - Default constructor for generic creation.
    CurrencyModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    CurrencyModel(String _isocode, ItemModel _owner, 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
    CurrencyModel(String _isocode, 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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the Currency.base attribute defined at extension core.
    Generated method - Getter of the Currency.baseStores attribute defined at extension commerceservices.
    Generated method - Getter of the Currency.conversion attribute defined at extension core.
    Generated method - Getter of the Currency.digits attribute defined at extension core.
    Generated method - Getter of the Currency.facetSearchConfigs attribute defined at extension solrfacetsearch.
    Generated method - Getter of the Currency.symbol attribute defined at extension core.
    void
    Generated method - Setter of Currency.base attribute defined at extension core.
    void
    Generated method - Setter of Currency.baseStores attribute defined at extension commerceservices.
    void
    Generated method - Setter of Currency.conversion attribute defined at extension core.
    void
    Generated method - Setter of Currency.digits attribute defined at extension core.
    void
    Generated method - Setter of Currency.facetSearchConfigs attribute defined at extension solrfacetsearch.
    void
    Generated method - Setter of Currency.symbol attribute defined at extension core.

    Methods inherited from class de.hybris.platform.core.model.c2l.C2LItemModel

    getActive, getIsocode, getName, getName, setActive, setIsocode, setName, setName

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _SOLRFACETSEARCHCONFIG2CURRENCYRELATION

      public static final String _SOLRFACETSEARCHCONFIG2CURRENCYRELATION
      Generated relation code constant for relation SolrFacetSearchConfig2CurrencyRelation defining source attribute facetSearchConfigs in extension solrfacetsearch.
      See Also:
    • _BASESTORE2CURRENCYREL

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

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

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

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

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

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

      public static final String BASESTORES
      Generated constant - Attribute key of Currency.baseStores attribute defined at extension commerceservices.
      See Also:
  • Constructor Details

    • CurrencyModel

      public CurrencyModel()
      Generated constructor - Default constructor for generic creation.
    • CurrencyModel

      public CurrencyModel(de.hybris.platform.servicelayer.model.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(String _isocode, 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(String _isocode, ItemModel _owner, 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 Details

    • getBase

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

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

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

      @Accessor(qualifier="facetSearchConfigs", type=GETTER) public 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
    • getSymbol

      @Accessor(qualifier="symbol", type=GETTER) public 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(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(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(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(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(List<SolrFacetSearchConfigModel> value)
      Generated method - Setter of Currency.facetSearchConfigs attribute defined at extension solrfacetsearch.
      Parameters:
      value - the facetSearchConfigs
    • setSymbol

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