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:
java.io.Serializable
- Direct Known Subclasses:
ApparelStyleVariantProductModel,ElectronicsColorVariantProductModel,ERPVariantProductModel,GenericVariantProductModel
public class VariantProductModel extends ProductModel
Generated model class for type VariantProduct first defined at extension catalog.- 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_PRODUCT2VARIANTRELATIONGenerated relation code constant for relationProduct2VariantRelationdefining source attributebaseProductin extensioncatalog.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringBASEPRODUCTGenerated 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, CONTRACTTERMS, 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, SAPBASEUNITCONVERSION, SAPBLOCKED, SAPBLOCKEDDATE, SAPCONFIGURABLE, SAPEAN, SAPPLANT, SAPPRODUCTID, SEGMENT, SEQUENCEID, SOLDINDIVIDUALLY, SPECIALTREATMENTCLASSES, STARTLINENUMBER, STOCKLEVELS, SUBSCRIPTIONCODE, SUBSCRIPTIONTERM, SUBSCRIPTIONTYPE, SUMMARY, SUPERCATEGORIES, SUPPLIERALTERNATIVEAID, TARGETBUNDLERULES, THUMBNAIL, THUMBNAILS, UNIT, UNITOFMEASURE, UNSPCS, UNTYPEDFEATURES, VARIANTS, VARIANTTYPE, VENDORS, VENDORSKU, XMLCONTENT
-
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 VariantProductModel()Generated constructor - Default constructor for generic creation.VariantProductModel(ProductModel _baseProduct, CatalogVersionModel _catalogVersion, java.lang.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, java.lang.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 parametersVariantProductModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductModelgetBaseProduct()Generated 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, getContractTerms, 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, getSapBaseUnitConversion, getSapBlocked, getSapBlockedDate, getSapConfigurable, getSapEAN, getSapPlant, getSapProductID, getSegment, getSegment, getSequenceId, getSoldIndividually, getSpecialTreatmentClasses, getStartLineNumber, getStockLevels, getSubscriptionCode, getSubscriptionTerm, getSubscriptionType, getSummary, getSummary, getSupercategories, getSupplierAlternativeAID, getTargetBundleRules, getThumbnail, getThumbnails, getUnit, getUnitOfMeasure, getUnspcs, getUntypedFeatures, getVariants, getVariantType, getVendors, getVendorSku, getXmlcontent, setApprovalStatus, setArticleStatus, setArticleStatus, setBundleTemplates, setBuyerIDS, setCatalogVersion, setCode, setConditionalBundleRules, setContentUnit, setContractTerms, 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, setSapBaseUnitConversion, setSapBlocked, setSapBlockedDate, setSapConfigurable, setSapEAN, setSapPlant, setSegment, setSegment, setSequenceId, setSoldIndividually, setSpecialTreatmentClasses, setStartLineNumber, setStockLevels, setSubscriptionCode, setSubscriptionTerm, setSubscriptionType, setSummary, setSummary, setSupercategories, setSupplierAlternativeAID, setTargetBundleRules, setThumbnail, setThumbnails, setUnit, setUnitOfMeasure, setUnspcs, setUntypedFeatures, setVariants, setVariantType, setVendors, setVendorSku, setXmlcontent
-
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
-
_PRODUCT2VARIANTRELATION
public static final java.lang.String _PRODUCT2VARIANTRELATION
Generated relation code constant for relationProduct2VariantRelationdefining source attributebaseProductin extensioncatalog.- See Also:
- Constant Field Values
-
BASEPRODUCT
public static final java.lang.String BASEPRODUCT
Generated constant - Attribute key ofVariantProduct.baseProductattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VariantProductModel
public VariantProductModel()
Generated constructor - Default constructor for generic creation.
-
VariantProductModel
public VariantProductModel(ItemModelContext ctx)
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, java.lang.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, java.lang.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 Detail
-
getBaseProduct
@Accessor(qualifier="baseProduct", type=GETTER) public ProductModel getBaseProduct()
Generated method - Getter of theVariantProduct.baseProductattribute defined at extensioncatalog.- Returns:
- the baseProduct
-
setBaseProduct
@Accessor(qualifier="baseProduct", type=SETTER) public void setBaseProduct(ProductModel value)
Generated method - Setter ofVariantProduct.baseProductattribute defined at extensioncatalog.- Parameters:
value- the baseProduct
-
-