Class FutureStockModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class FutureStockModel
    extends ItemModel
    Generated model class for type FutureStock 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 _TYPECODE
      Generated model type code constant.
      static java.lang.String DATE
      Generated constant - Attribute key of FutureStock.date attribute defined at extension b2bcommerce.
      static java.lang.String PRODUCTCODE
      Generated constant - Attribute key of FutureStock.productCode attribute defined at extension b2bcommerce.
      static java.lang.String PRODUCTS
      Generated constant - Attribute key of FutureStock.products attribute defined at extension b2bcommerce.
      static java.lang.String QUANTITY
      Generated constant - Attribute key of FutureStock.quantity 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
      FutureStockModel()
      Generated constructor - Default constructor for generic creation.
      FutureStockModel​(ItemModel _owner, java.lang.String _productCode)
      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
      FutureStockModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      FutureStockModel​(java.lang.String _productCode)
      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.util.Date getDate()
      Generated method - Getter of the FutureStock.date attribute defined at extension b2bcommerce.
      java.lang.String getProductCode()
      Generated method - Getter of the FutureStock.productCode attribute defined at extension b2bcommerce.
      java.util.Collection<ProductModel> getProducts()
      Generated method - Getter of the FutureStock.products attribute defined at extension b2bcommerce.
      java.lang.Integer getQuantity()
      Generated method - Getter of the FutureStock.quantity attribute defined at extension b2bcommerce.
      void setDate​(java.util.Date value)
      Generated method - Setter of FutureStock.date attribute defined at extension b2bcommerce.
      void setProductCode​(java.lang.String value)
      Generated method - Setter of FutureStock.productCode attribute defined at extension b2bcommerce.
      void setProducts​(java.util.Collection<ProductModel> value)
      Generated method - Setter of FutureStock.products attribute defined at extension b2bcommerce.
      void setQuantity​(java.lang.Integer value)
      Generated method - Setter of FutureStock.quantity 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
      • PRODUCTCODE

        public static final java.lang.String PRODUCTCODE
        Generated constant - Attribute key of FutureStock.productCode attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • QUANTITY

        public static final java.lang.String QUANTITY
        Generated constant - Attribute key of FutureStock.quantity attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • DATE

        public static final java.lang.String DATE
        Generated constant - Attribute key of FutureStock.date attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • PRODUCTS

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

      • FutureStockModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public FutureStockModel​(java.lang.String _productCode)
        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:
        _productCode - initial attribute declared by type FutureStock at extension b2bcommerce
      • FutureStockModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public FutureStockModel​(ItemModel _owner,
                                java.lang.String _productCode)
        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:
        _owner - initial attribute declared by type Item at extension core
        _productCode - initial attribute declared by type FutureStock at extension b2bcommerce
    • Method Detail

      • getDate

        @Accessor(qualifier="date",
                  type=GETTER)
        public java.util.Date getDate()
        Generated method - Getter of the FutureStock.date attribute defined at extension b2bcommerce.
        Returns:
        the date - Data on which the product will be available
      • getProductCode

        @Accessor(qualifier="productCode",
                  type=GETTER)
        public java.lang.String getProductCode()
        Generated method - Getter of the FutureStock.productCode attribute defined at extension b2bcommerce.
        Returns:
        the productCode
      • getProducts

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

        @Accessor(qualifier="quantity",
                  type=GETTER)
        public java.lang.Integer getQuantity()
        Generated method - Getter of the FutureStock.quantity attribute defined at extension b2bcommerce.
        Returns:
        the quantity - Amount that will be available
      • setDate

        @Accessor(qualifier="date",
                  type=SETTER)
        public void setDate​(java.util.Date value)
        Generated method - Setter of FutureStock.date attribute defined at extension b2bcommerce.
        Parameters:
        value - the date - Data on which the product will be available
      • setProductCode

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

        @Accessor(qualifier="products",
                  type=SETTER)
        public void setProducts​(java.util.Collection<ProductModel> value)
        Generated method - Setter of FutureStock.products attribute defined at extension b2bcommerce.
        Parameters:
        value - the products
      • setQuantity

        @Accessor(qualifier="quantity",
                  type=SETTER)
        public void setQuantity​(java.lang.Integer value)
        Generated method - Setter of FutureStock.quantity attribute defined at extension b2bcommerce.
        Parameters:
        value - the quantity - Amount that will be available