Class FutureStockModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.commerceservices.model.FutureStockModel
- All Implemented Interfaces:
Serializable
Generated model class for type FutureStock first defined at extension commerceservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofFutureStock.dateattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofFutureStock.productCodeattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofFutureStock.productsattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofFutureStock.quantityattribute defined at extensioncommerceservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.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 parametersGenerated constructor - Default constructor for creation with existing contextFutureStockModel(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
Modifier and TypeMethodDescriptiongetDate()Generated method - Getter of theFutureStock.dateattribute defined at extensioncommerceservices.Generated method - Getter of theFutureStock.productCodeattribute defined at extensioncommerceservices.Generated method - Getter of theFutureStock.productsattribute defined at extensioncommerceservices.Generated method - Getter of theFutureStock.quantityattribute defined at extensioncommerceservices.voidGenerated method - Setter ofFutureStock.dateattribute defined at extensioncommerceservices.voidsetProductCode(String value) Generated method - Setter ofFutureStock.productCodeattribute defined at extensioncommerceservices.voidsetProducts(Collection<ProductModel> value) Generated method - Setter ofFutureStock.productsattribute defined at extensioncommerceservices.voidsetQuantity(Integer value) Generated method - Setter ofFutureStock.quantityattribute defined at extensioncommerceservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
PRODUCTCODE
Generated constant - Attribute key ofFutureStock.productCodeattribute defined at extensioncommerceservices.- See Also:
-
QUANTITY
Generated constant - Attribute key ofFutureStock.quantityattribute defined at extensioncommerceservices.- See Also:
-
DATE
Generated constant - Attribute key ofFutureStock.dateattribute defined at extensioncommerceservices.- See Also:
-
PRODUCTS
Generated constant - Attribute key ofFutureStock.productsattribute defined at extensioncommerceservices.- See Also:
-
-
Constructor Details
-
FutureStockModel
public FutureStockModel()Generated constructor - Default constructor for generic creation. -
FutureStockModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
FutureStockModel
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 extensioncommerceservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner- initial attribute declared by typeItemat extensioncore_productCode- initial attribute declared by typeFutureStockat extensioncommerceservices
-
-
Method Details
-
getDate
Generated method - Getter of theFutureStock.dateattribute defined at extensioncommerceservices.- Returns:
- the date - Data on which the product will be available
-
getProductCode
Generated method - Getter of theFutureStock.productCodeattribute defined at extensioncommerceservices.- Returns:
- the productCode
-
getProducts
Generated method - Getter of theFutureStock.productsattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the products
-
getQuantity
Generated method - Getter of theFutureStock.quantityattribute defined at extensioncommerceservices.- Returns:
- the quantity - Amount that will be available
-
setDate
Generated method - Setter ofFutureStock.dateattribute defined at extensioncommerceservices.- Parameters:
value- the date - Data on which the product will be available
-
setProductCode
Generated method - Setter ofFutureStock.productCodeattribute defined at extensioncommerceservices.- Parameters:
value- the productCode
-
setProducts
@Accessor(qualifier="products", type=SETTER) public void setProducts(Collection<ProductModel> value) Generated method - Setter ofFutureStock.productsattribute defined at extensioncommerceservices.- Parameters:
value- the products
-
setQuantity
Generated method - Setter ofFutureStock.quantityattribute defined at extensioncommerceservices.- Parameters:
value- the quantity - Amount that will be available
-