Class ApparelStyleVariantProductModel
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
de.hybris.platform.yacceleratorcore.model.ApparelStyleVariantProductModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ApparelSizeVariantProductModel
Generated model class for type ApparelStyleVariantProduct first defined at extension yacceleratorcore.
Apparel style variant type that contains additional attribute describing variant style.
- 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 ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.static final StringGenerated constant - Attribute key ofApparelStyleVariantProduct.swatchColorsattribute defined at extensionyacceleratorcore.Fields inherited from class de.hybris.platform.variants.model.VariantProductModel
_PRODUCT2VARIANTRELATION, BASEPRODUCTFields 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.ApparelStyleVariantProductModel(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 parametersApparelStyleVariantProductModel(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 TypeMethodDescriptiongetStyle()Generated method - Getter of theApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.Generated method - Getter of theApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.Generated method - Getter of theApparelStyleVariantProduct.swatchColorsattribute defined at extensionyacceleratorcore.voidGenerated method - Setter ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.voidGenerated method - Setter ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.voidsetSwatchColors(Set<SwatchColorEnum> value) Generated method - Setter ofApparelStyleVariantProduct.swatchColorsattribute defined at extensionyacceleratorcore.Methods inherited from class de.hybris.platform.variants.model.VariantProductModel
getBaseProduct, setBaseProductMethods 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:
-
STYLE
Generated constant - Attribute key ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.- See Also:
-
SWATCHCOLORS
Generated constant - Attribute key ofApparelStyleVariantProduct.swatchColorsattribute defined at extensionyacceleratorcore.- See Also:
-
-
Constructor Details
-
ApparelStyleVariantProductModel
public ApparelStyleVariantProductModel()Generated constructor - Default constructor for generic creation. -
ApparelStyleVariantProductModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ApparelStyleVariantProductModel
@Deprecated(since="4.1.1", forRemoval=true) public ApparelStyleVariantProductModel(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
-
ApparelStyleVariantProductModel
@Deprecated(since="4.1.1", forRemoval=true) public ApparelStyleVariantProductModel(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
-
getStyle
Generated method - Getter of theApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.- Returns:
- the style - Color/Pattern of the product.
-
getStyle
Generated method - Getter of theApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.- Parameters:
loc- the value localization key- Returns:
- the style - Color/Pattern of the product.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getSwatchColors
Generated method - Getter of theApparelStyleVariantProduct.swatchColorsattribute defined at extensionyacceleratorcore. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the swatchColors - A normalized color mapping to a standardized front-end navigable name.
-
setStyle
Generated method - Setter ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.- Parameters:
value- the style - Color/Pattern of the product.
-
setStyle
Generated method - Setter ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.- Parameters:
value- the style - Color/Pattern of the product.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setSwatchColors
@Accessor(qualifier="swatchColors", type=SETTER) public void setSwatchColors(Set<SwatchColorEnum> value) Generated method - Setter ofApparelStyleVariantProduct.swatchColorsattribute defined at extensionyacceleratorcore.- Parameters:
value- the swatchColors - A normalized color mapping to a standardized front-end navigable name.
-