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