Class VariantProductModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.product.ProductModel
de.hybris.platform.variants.model.VariantProductModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ApparelStyleVariantProductModel,ElectronicsColorVariantProductModel,GenericVariantProductModel,MockVariantProductModel
Generated model class for type VariantProduct first defined at extension catalog.
- 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 relation code constant for relationProduct2VariantRelationdefining source attributebaseProductin extensioncatalog.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofVariantProduct.baseProductattribute defined at extensioncatalog.Fields inherited from class de.hybris.platform.core.model.product.ProductModel
_ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION, _ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION, _CATEGORYPRODUCTRELATION, _FUTURESTOCKPRODUCTRELATION, _PRODUCT2KEYWORDRELATION, _PRODUCTDETAILCOMPONENTSFORPRODUCT, _PRODUCTFEATURECOMPONENTS2PRODUCTREL, _PRODUCTSFORPRODUCTCAROUSELCOMPONENT, _PRODUCTSFORPRODUCTLISTCOMPONENT, _PRODUCTSFORRESTRICTION, _STOCKLEVELPRODUCTRELATION, _SUBSCRIPTIONTERM2SUBSCRIPTIONPRODUCTRELATION, ALLYFORMDEFINITIONS, APPROVALSTATUS, ARTICLESTATUS, AVERAGERATING, BARCODES, BUNDLETEMPLATES, BUYERIDS, CATALOG, CATALOGVERSION, CLASSIFICATIONCLASSES, CODE, CONDITIONALBUNDLERULES, CONTENTUNIT, DATA_SHEET, DELIVERYMODES, DELIVERYTIME, DESCRIPTION, DETAIL, EAN, ENDLINENUMBER, ERPGROUPBUYER, ERPGROUPSUPPLIER, EUROPE1DISCOUNTS, EUROPE1PRICEFACTORY_PDG, EUROPE1PRICEFACTORY_PPG, EUROPE1PRICEFACTORY_PTG, EUROPE1PRICES, EUROPE1TAXES, FEATURES, FUTURESTOCKS, GALLERYIMAGES, KEYWORDS, LINKCOMPONENTS, LOGO, MANUFACTURERAID, MANUFACTURERNAME, MANUFACTURERTYPEDESCRIPTION, MAXORDERQUANTITY, MINORDERQUANTITY, NAME, NORMAL, NUMBERCONTENTUNITS, NUMBEROFREVIEWS, OFFLINEDATE, ONLINEDATE, ORDER, ORDERQUANTITYINTERVAL, OTHERS, OWNEUROPE1DISCOUNTS, OWNEUROPE1PRICES, OWNEUROPE1TAXES, PICTURE, PRICEQUANTITY, PRICEROWSVALID, PRODUCTCAROUSELCOMPONENTS, PRODUCTCONFIGURATION, PRODUCTDETAILCOMPONENTS, PRODUCTENTITLEMENTS, PRODUCTFEATURECOMPONENTS, PRODUCTINTERESTS, PRODUCTLISTCOMPONENTS, PRODUCTORDERLIMIT, PRODUCTREFERENCES, PRODUCTREVIEWS, PROMOTIONS, REMARKS, RESTRICTIONS, REVIEWCOUNT, REVIEWRATING, SALEABLE, SEGMENT, SEQUENCEID, SIMPLEBANNERCOMPONENTS, SIMPLERESPONSIVEBANNERCOMPONENTS, SOLDINDIVIDUALLY, SPECIALTREATMENTCLASSES, STARTLINENUMBER, STOCKLEVELS, SUBSCRIPTIONTERM, SUMMARY, SUPERCATEGORIES, SUPPLIERALTERNATIVEAID, TARGETBUNDLERULES, THUMBNAIL, THUMBNAILS, UNIT, UNITOFMEASURE, UNSPCS, UNTYPEDFEATURES, VARIANTS, VARIANTTYPE, VENDORS, VENDORSKU, VIDEOCOMPONENTS, XMLCONTENTFields 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.VariantProductModel(ProductModel _baseProduct, CatalogVersionModel _catalogVersion, String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersVariantProductModel(ProductModel _baseProduct, CatalogVersionModel _catalogVersion, String _code, ItemModel _owner) 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 context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theVariantProduct.baseProductattribute defined at extensioncatalog.voidsetBaseProduct(ProductModel value) Generated method - Setter ofVariantProduct.baseProductattribute defined at extensioncatalog.Methods inherited from class de.hybris.platform.core.model.product.ProductModel
getAllYFormDefinitions, getApprovalStatus, getArticleStatus, getArticleStatus, getAverageRating, getBarcodes, getBundleTemplates, getBuyerIDS, getCatalogVersion, getClassificationClasses, getCode, getConditionalBundleRules, getContentUnit, getData_sheet, getDeliveryModes, getDeliveryTime, getDescription, getDescription, getDetail, getEan, getEndLineNumber, getErpGroupBuyer, getErpGroupSupplier, getEurope1Discounts, getEurope1PriceFactory_PDG, getEurope1PriceFactory_PPG, getEurope1PriceFactory_PTG, getEurope1Prices, getEurope1Taxes, getFeatures, getFutureStocks, getGalleryImages, getKeywords, getKeywords, getLinkComponents, getLogo, getManufacturerAID, getManufacturerName, getManufacturerTypeDescription, getManufacturerTypeDescription, getMaxOrderQuantity, getMinOrderQuantity, getName, getName, getNormal, getNumberContentUnits, getNumberOfReviews, getOfflineDate, getOnlineDate, getOrder, getOrderQuantityInterval, getOthers, getOwnEurope1Discounts, getOwnEurope1Prices, getOwnEurope1Taxes, getPicture, getPriceQuantity, getPriceRowsValid, getProductCarouselComponents, getProductConfiguration, getProductDetailComponents, getProductEntitlements, getProductFeatureComponents, getProductInterests, getProductListComponents, getProductOrderLimit, getProductReferences, getProductReviews, getPromotions, getRemarks, getRemarks, getRestrictions, getReviewCount, getReviewRating, getSaleable, getSegment, getSegment, getSequenceId, getSimpleBannerComponents, getSimpleResponsiveBannerComponents, getSoldIndividually, getSpecialTreatmentClasses, getStartLineNumber, getStockLevels, getSubscriptionTerm, getSummary, getSummary, getSupercategories, getSupplierAlternativeAID, getTargetBundleRules, getThumbnail, getThumbnails, getUnit, getUnitOfMeasure, getUnspcs, getUntypedFeatures, getVariants, getVariantType, getVendors, getVendorSku, getVideoComponents, getXmlcontent, setApprovalStatus, setArticleStatus, setArticleStatus, setBundleTemplates, setBuyerIDS, setCatalogVersion, setCode, setConditionalBundleRules, setContentUnit, setData_sheet, setDeliveryModes, setDeliveryTime, setDescription, setDescription, setDetail, setEan, setEndLineNumber, setErpGroupBuyer, setErpGroupSupplier, setEurope1Discounts, setEurope1PriceFactory_PDG, setEurope1PriceFactory_PPG, setEurope1PriceFactory_PTG, setEurope1Prices, setEurope1Taxes, setFeatures, setFutureStocks, setGalleryImages, setKeywords, setKeywords, setLinkComponents, setLogo, setManufacturerAID, setManufacturerName, setManufacturerTypeDescription, setManufacturerTypeDescription, setMaxOrderQuantity, setMinOrderQuantity, setName, setName, setNormal, setNumberContentUnits, setOfflineDate, setOnlineDate, setOrder, setOrderQuantityInterval, setOthers, setOwnEurope1Discounts, setOwnEurope1Prices, setOwnEurope1Taxes, setPicture, setPriceQuantity, setProductCarouselComponents, setProductConfiguration, setProductDetailComponents, setProductEntitlements, setProductFeatureComponents, setProductInterests, setProductListComponents, setProductOrderLimit, setProductReferences, setProductReviews, setPromotions, setRemarks, setRemarks, setRestrictions, setReviewCount, setReviewRating, setSaleable, setSegment, setSegment, setSequenceId, setSimpleBannerComponents, setSimpleResponsiveBannerComponents, setSoldIndividually, setSpecialTreatmentClasses, setStartLineNumber, setStockLevels, setSubscriptionTerm, setSummary, setSummary, setSupercategories, setSupplierAlternativeAID, setTargetBundleRules, setThumbnail, setThumbnails, setUnit, setUnitOfMeasure, setUnspcs, setUntypedFeatures, setVariants, setVariantType, setVendors, setVendorSku, setVideoComponents, setXmlcontentMethods 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:
-
_PRODUCT2VARIANTRELATION
Generated relation code constant for relationProduct2VariantRelationdefining source attributebaseProductin extensioncatalog.- See Also:
-
BASEPRODUCT
Generated constant - Attribute key ofVariantProduct.baseProductattribute defined at extensioncatalog.- See Also:
-
-
Constructor Details
-
VariantProductModel
public VariantProductModel()Generated constructor - Default constructor for generic creation. -
VariantProductModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
VariantProductModel
@Deprecated(since="4.1.1", forRemoval=true) public VariantProductModel(ProductModel _baseProduct, CatalogVersionModel _catalogVersion, String _code) 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:
_baseProduct- initial attribute declared by typeVariantProductat extensioncatalog_catalogVersion- initial attribute declared by typeProductat extensioncatalog_code- initial attribute declared by typeProductat extensioncore
-
VariantProductModel
@Deprecated(since="4.1.1", forRemoval=true) public VariantProductModel(ProductModel _baseProduct, CatalogVersionModel _catalogVersion, String _code, ItemModel _owner) 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:
_baseProduct- initial attribute declared by typeVariantProductat extensioncatalog_catalogVersion- initial attribute declared by typeProductat extensioncatalog_code- initial attribute declared by typeProductat extensioncore_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getBaseProduct
Generated method - Getter of theVariantProduct.baseProductattribute defined at extensioncatalog.- Returns:
- the baseProduct
-
setBaseProduct
Generated method - Setter ofVariantProduct.baseProductattribute defined at extensioncatalog.- Parameters:
value- the baseProduct
-