Class FutureStockModel

All Implemented Interfaces:
Serializable

public class FutureStockModel extends ItemModel
Generated model class for type FutureStock first defined at extension commerceservices.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String PRODUCTCODE
      Generated constant - Attribute key of FutureStock.productCode attribute defined at extension commerceservices.
      See Also:
    • QUANTITY

      public static final String QUANTITY
      Generated constant - Attribute key of FutureStock.quantity attribute defined at extension commerceservices.
      See Also:
    • DATE

      public static final String DATE
      Generated constant - Attribute key of FutureStock.date attribute defined at extension commerceservices.
      See Also:
    • PRODUCTS

      public static final String PRODUCTS
      Generated constant - Attribute key of FutureStock.products attribute defined at extension commerceservices.
      See Also:
  • Constructor Details

    • 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(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 commerceservices
    • FutureStockModel

      @Deprecated(since="4.1.1", forRemoval=true) public FutureStockModel(ItemModel _owner, 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 commerceservices
  • Method Details

    • getDate

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

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

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

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

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

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

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

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