Class B2BQuoteLimitModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class B2BQuoteLimitModel
    extends ItemModel
    Generated model class for type B2BQuoteLimit first defined at extension b2bcommerce.
    See Also:
    Serialized Form
    • 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 java.lang.String _B2BUNIT2B2BQUOTELIMIT
      Generated relation code constant for relation B2BUnit2B2BQuoteLimit defining source attribute Unit in extension b2bcommerce.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String AMOUNT
      Generated constant - Attribute key of B2BQuoteLimit.amount attribute defined at extension b2bcommerce.
      static java.lang.String CODE
      Generated constant - Attribute key of B2BQuoteLimit.code attribute defined at extension b2bcommerce.
      static java.lang.String CURRENCY
      Generated constant - Attribute key of B2BQuoteLimit.currency attribute defined at extension b2bcommerce.
      static java.lang.String UNIT
      Generated constant - Attribute key of B2BQuoteLimit.Unit attribute defined at extension b2bcommerce.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      B2BQuoteLimitModel()
      Generated constructor - Default constructor for generic creation.
      B2BQuoteLimitModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      B2BQuoteLimitModel​(java.math.BigDecimal _amount, java.lang.String _code, CurrencyModel _currency)
      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
      B2BQuoteLimitModel​(java.math.BigDecimal _amount, java.lang.String _code, CurrencyModel _currency, ItemModel _owner)
      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.math.BigDecimal getAmount()
      Generated method - Getter of the B2BQuoteLimit.amount attribute defined at extension b2bcommerce.
      java.lang.String getCode()
      Generated method - Getter of the B2BQuoteLimit.code attribute defined at extension b2bcommerce.
      CurrencyModel getCurrency()
      Generated method - Getter of the B2BQuoteLimit.currency attribute defined at extension b2bcommerce.
      java.util.Collection<B2BUnitModel> getUnit()
      Generated method - Getter of the B2BQuoteLimit.Unit attribute defined at extension b2bcommerce.
      void setAmount​(java.math.BigDecimal value)
      Generated method - Setter of B2BQuoteLimit.amount attribute defined at extension b2bcommerce.
      void setCode​(java.lang.String value)
      Generated method - Setter of B2BQuoteLimit.code attribute defined at extension b2bcommerce.
      void setCurrency​(CurrencyModel value)
      Generated method - Setter of B2BQuoteLimit.currency attribute defined at extension b2bcommerce.
      void setUnit​(java.util.Collection<B2BUnitModel> value)
      Generated method - Setter of B2BQuoteLimit.Unit attribute defined at extension b2bcommerce.
      • 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 Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _B2BUNIT2B2BQUOTELIMIT

        public static final java.lang.String _B2BUNIT2B2BQUOTELIMIT
        Generated relation code constant for relation B2BUnit2B2BQuoteLimit defining source attribute Unit in extension b2bcommerce.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of B2BQuoteLimit.code attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • AMOUNT

        public static final java.lang.String AMOUNT
        Generated constant - Attribute key of B2BQuoteLimit.amount attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • CURRENCY

        public static final java.lang.String CURRENCY
        Generated constant - Attribute key of B2BQuoteLimit.currency attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • UNIT

        public static final java.lang.String UNIT
        Generated constant - Attribute key of B2BQuoteLimit.Unit attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
    • Constructor Detail

      • B2BQuoteLimitModel

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

        public B2BQuoteLimitModel​(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
      • B2BQuoteLimitModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BQuoteLimitModel​(java.math.BigDecimal _amount,
                                  java.lang.String _code,
                                  CurrencyModel _currency)
        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:
        _amount - initial attribute declared by type B2BQuoteLimit at extension b2bcommerce
        _code - initial attribute declared by type B2BQuoteLimit at extension b2bcommerce
        _currency - initial attribute declared by type B2BQuoteLimit at extension b2bcommerce
      • B2BQuoteLimitModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BQuoteLimitModel​(java.math.BigDecimal _amount,
                                  java.lang.String _code,
                                  CurrencyModel _currency,
                                  ItemModel _owner)
        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:
        _amount - initial attribute declared by type B2BQuoteLimit at extension b2bcommerce
        _code - initial attribute declared by type B2BQuoteLimit at extension b2bcommerce
        _currency - initial attribute declared by type B2BQuoteLimit at extension b2bcommerce
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getAmount

        @Accessor(qualifier="amount",
                  type=GETTER)
        public java.math.BigDecimal getAmount()
        Generated method - Getter of the B2BQuoteLimit.amount attribute defined at extension b2bcommerce.
        Returns:
        the amount
      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the B2BQuoteLimit.code attribute defined at extension b2bcommerce.
        Returns:
        the code
      • getCurrency

        @Accessor(qualifier="currency",
                  type=GETTER)
        public CurrencyModel getCurrency()
        Generated method - Getter of the B2BQuoteLimit.currency attribute defined at extension b2bcommerce.
        Returns:
        the currency
      • getUnit

        @Accessor(qualifier="Unit",
                  type=GETTER)
        public java.util.Collection<B2BUnitModel> getUnit()
        Generated method - Getter of the B2BQuoteLimit.Unit attribute defined at extension b2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the Unit
      • setAmount

        @Accessor(qualifier="amount",
                  type=SETTER)
        public void setAmount​(java.math.BigDecimal value)
        Generated method - Setter of B2BQuoteLimit.amount attribute defined at extension b2bcommerce.
        Parameters:
        value - the amount
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Setter of B2BQuoteLimit.code attribute defined at extension b2bcommerce.
        Parameters:
        value - the code
      • setCurrency

        @Accessor(qualifier="currency",
                  type=SETTER)
        public void setCurrency​(CurrencyModel value)
        Generated method - Setter of B2BQuoteLimit.currency attribute defined at extension b2bcommerce.
        Parameters:
        value - the currency
      • setUnit

        @Accessor(qualifier="Unit",
                  type=SETTER)
        public void setUnit​(java.util.Collection<B2BUnitModel> value)
        Generated method - Setter of B2BQuoteLimit.Unit attribute defined at extension b2bcommerce.
        Parameters:
        value - the Unit