Package de.hybris.platform.b2b.model
Class FutureStockModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.b2b.model.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
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringDATEGenerated constant - Attribute key ofFutureStock.dateattribute defined at extensionb2bcommerce.static java.lang.StringPRODUCTCODEGenerated constant - Attribute key ofFutureStock.productCodeattribute defined at extensionb2bcommerce.static java.lang.StringPRODUCTSGenerated constant - Attribute key ofFutureStock.productsattribute defined at extensionb2bcommerce.static java.lang.StringQUANTITYGenerated constant - Attribute key ofFutureStock.quantityattribute defined at extensionb2bcommerce.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
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 parametersFutureStockModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextFutureStockModel(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.DategetDate()Generated method - Getter of theFutureStock.dateattribute defined at extensionb2bcommerce.java.lang.StringgetProductCode()Generated method - Getter of theFutureStock.productCodeattribute defined at extensionb2bcommerce.java.util.Collection<ProductModel>getProducts()Generated method - Getter of theFutureStock.productsattribute defined at extensionb2bcommerce.java.lang.IntegergetQuantity()Generated method - Getter of theFutureStock.quantityattribute defined at extensionb2bcommerce.voidsetDate(java.util.Date value)Generated method - Setter ofFutureStock.dateattribute defined at extensionb2bcommerce.voidsetProductCode(java.lang.String value)Generated method - Setter ofFutureStock.productCodeattribute defined at extensionb2bcommerce.voidsetProducts(java.util.Collection<ProductModel> value)Generated method - Setter ofFutureStock.productsattribute defined at extensionb2bcommerce.voidsetQuantity(java.lang.Integer value)Generated method - Setter ofFutureStock.quantityattribute defined at extensionb2bcommerce.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
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
-
-
-
-
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 ofFutureStock.productCodeattribute defined at extensionb2bcommerce.- See Also:
- Constant Field Values
-
QUANTITY
public static final java.lang.String QUANTITY
Generated constant - Attribute key ofFutureStock.quantityattribute defined at extensionb2bcommerce.- See Also:
- Constant Field Values
-
DATE
public static final java.lang.String DATE
Generated constant - Attribute key ofFutureStock.dateattribute defined at extensionb2bcommerce.- See Also:
- Constant Field Values
-
PRODUCTS
public static final java.lang.String PRODUCTS
Generated constant - Attribute key ofFutureStock.productsattribute defined at extensionb2bcommerce.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_productCode- initial attribute declared by typeFutureStockat extensionb2bcommerce
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner- initial attribute declared by typeItemat extensioncore_productCode- initial attribute declared by typeFutureStockat extensionb2bcommerce
-
-
Method Detail
-
getDate
@Accessor(qualifier="date", type=GETTER) public java.util.Date getDate()
Generated method - Getter of theFutureStock.dateattribute defined at extensionb2bcommerce.- 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 theFutureStock.productCodeattribute defined at extensionb2bcommerce.- Returns:
- the productCode
-
getProducts
@Accessor(qualifier="products", type=GETTER) public java.util.Collection<ProductModel> getProducts()
Generated method - Getter of theFutureStock.productsattribute defined at extensionb2bcommerce. 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 theFutureStock.quantityattribute defined at extensionb2bcommerce.- Returns:
- the quantity - Amount that will be available
-
setDate
@Accessor(qualifier="date", type=SETTER) public void setDate(java.util.Date value)
Generated method - Setter ofFutureStock.dateattribute defined at extensionb2bcommerce.- 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 ofFutureStock.productCodeattribute defined at extensionb2bcommerce.- Parameters:
value- the productCode
-
setProducts
@Accessor(qualifier="products", type=SETTER) public void setProducts(java.util.Collection<ProductModel> value)
Generated method - Setter ofFutureStock.productsattribute defined at extensionb2bcommerce.- Parameters:
value- the products
-
-