Class GeneratedFutureStock

    • Field Detail

      • PRODUCTCODE

        public static final java.lang.String PRODUCTCODE
        Qualifier of the FutureStock.productCode attribute
        See Also:
        Constant Field Values
      • QUANTITY

        public static final java.lang.String QUANTITY
        Qualifier of the FutureStock.quantity attribute
        See Also:
        Constant Field Values
      • DATE

        public static final java.lang.String DATE
        Qualifier of the FutureStock.date attribute
        See Also:
        Constant Field Values
      • PRODUCTS

        public static final java.lang.String PRODUCTS
        Qualifier of the FutureStock.products attribute
        See Also:
        Constant Field Values
      • FUTURESTOCKPRODUCTRELATION_SRC_ORDERED

        protected static java.lang.String FUTURESTOCKPRODUCTRELATION_SRC_ORDERED
        Relation ordering override parameter constants for FutureStockProductRelation from ((b2bcommerce))
      • FUTURESTOCKPRODUCTRELATION_TGT_ORDERED

        protected static java.lang.String FUTURESTOCKPRODUCTRELATION_TGT_ORDERED
      • FUTURESTOCKPRODUCTRELATION_MARKMODIFIED

        protected static java.lang.String FUTURESTOCKPRODUCTRELATION_MARKMODIFIED
        Relation disable markmodifed parameter constants for FutureStockProductRelation from ((b2bcommerce))
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedFutureStock

        public GeneratedFutureStock()
    • Method Detail

      • getDate

        public java.util.Date getDate​(SessionContext ctx)
        Generated method - Getter of the FutureStock.date attribute.
        Returns:
        the date - Data on which the product will be available
      • getDate

        public java.util.Date getDate()
        Generated method - Getter of the FutureStock.date attribute.
        Returns:
        the date - Data on which the product will be available
      • setDate

        public void setDate​(SessionContext ctx,
                            java.util.Date value)
        Generated method - Setter of the FutureStock.date attribute.
        Parameters:
        value - the date - Data on which the product will be available
      • setDate

        public void setDate​(java.util.Date value)
        Generated method - Setter of the FutureStock.date attribute.
        Parameters:
        value - the date - Data on which the product will be available
      • getProductCode

        public java.lang.String getProductCode​(SessionContext ctx)
        Generated method - Getter of the FutureStock.productCode attribute.
        Returns:
        the productCode
      • getProductCode

        public java.lang.String getProductCode()
        Generated method - Getter of the FutureStock.productCode attribute.
        Returns:
        the productCode
      • setProductCode

        public void setProductCode​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the FutureStock.productCode attribute.
        Parameters:
        value - the productCode
      • setProductCode

        public void setProductCode​(java.lang.String value)
        Generated method - Setter of the FutureStock.productCode attribute.
        Parameters:
        value - the productCode
      • getProducts

        public java.util.Collection<Product> getProducts​(SessionContext ctx)
        Generated method - Getter of the FutureStock.products attribute.
        Returns:
        the products
      • getProducts

        public java.util.Collection<Product> getProducts()
        Generated method - Getter of the FutureStock.products attribute.
        Returns:
        the products
      • getProductsCount

        public long getProductsCount​(SessionContext ctx)
      • getProductsCount

        public long getProductsCount()
      • setProducts

        public void setProducts​(SessionContext ctx,
                                java.util.Collection<Product> value)
        Generated method - Setter of the FutureStock.products attribute.
        Parameters:
        value - the products
      • setProducts

        public void setProducts​(java.util.Collection<Product> value)
        Generated method - Setter of the FutureStock.products attribute.
        Parameters:
        value - the products
      • addToProducts

        public void addToProducts​(SessionContext ctx,
                                  Product value)
        Generated method - Adds value to products.
        Parameters:
        value - the item to add to products
      • addToProducts

        public void addToProducts​(Product value)
        Generated method - Adds value to products.
        Parameters:
        value - the item to add to products
      • removeFromProducts

        public void removeFromProducts​(SessionContext ctx,
                                       Product value)
        Generated method - Removes value from products.
        Parameters:
        value - the item to remove from products
      • removeFromProducts

        public void removeFromProducts​(Product value)
        Generated method - Removes value from products.
        Parameters:
        value - the item to remove from products
      • getQuantity

        public java.lang.Integer getQuantity​(SessionContext ctx)
        Generated method - Getter of the FutureStock.quantity attribute.
        Returns:
        the quantity - Amount that will be available
      • getQuantity

        public java.lang.Integer getQuantity()
        Generated method - Getter of the FutureStock.quantity attribute.
        Returns:
        the quantity - Amount that will be available
      • getQuantityAsPrimitive

        public int getQuantityAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the FutureStock.quantity attribute.
        Returns:
        the quantity - Amount that will be available
      • getQuantityAsPrimitive

        public int getQuantityAsPrimitive()
        Generated method - Getter of the FutureStock.quantity attribute.
        Returns:
        the quantity - Amount that will be available
      • setQuantity

        public void setQuantity​(SessionContext ctx,
                                java.lang.Integer value)
        Generated method - Setter of the FutureStock.quantity attribute.
        Parameters:
        value - the quantity - Amount that will be available
      • setQuantity

        public void setQuantity​(java.lang.Integer value)
        Generated method - Setter of the FutureStock.quantity attribute.
        Parameters:
        value - the quantity - Amount that will be available
      • setQuantity

        public void setQuantity​(SessionContext ctx,
                                int value)
        Generated method - Setter of the FutureStock.quantity attribute.
        Parameters:
        value - the quantity - Amount that will be available
      • setQuantity

        public void setQuantity​(int value)
        Generated method - Setter of the FutureStock.quantity attribute.
        Parameters:
        value - the quantity - Amount that will be available