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:
java.io.Serializable
- Direct Known Subclasses:
ApparelSizeVariantProductModel
public class ApparelStyleVariantProductModel extends VariantProductModel
Generated model class for type ApparelStyleVariantProduct first defined at extension yacceleratorcore.Apparel style variant type that contains additional attribute describing variant style.
- 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.StringSTYLEGenerated constant - Attribute key ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.static java.lang.StringSWATCHCOLORSGenerated constant - Attribute key ofApparelStyleVariantProduct.swatchColorsattribute defined at extensionyacceleratorcore.-
Fields inherited from class de.hybris.platform.variants.model.VariantProductModel
_PRODUCT2VARIANTRELATION, BASEPRODUCT
-
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 ApparelStyleVariantProductModel()Generated constructor - Default constructor for generic creation.ApparelStyleVariantProductModel(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 parametersApparelStyleVariantProductModel(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 parametersApparelStyleVariantProductModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetStyle()Generated method - Getter of theApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.java.lang.StringgetStyle(java.util.Locale loc)Generated method - Getter of theApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.java.util.Set<SwatchColorEnum>getSwatchColors()Generated method - Getter of theApparelStyleVariantProduct.swatchColorsattribute defined at extensionyacceleratorcore.voidsetStyle(java.lang.String value)Generated method - Setter ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.voidsetStyle(java.lang.String value, java.util.Locale loc)Generated method - Setter ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.voidsetSwatchColors(java.util.Set<SwatchColorEnum> value)Generated method - Setter ofApparelStyleVariantProduct.swatchColorsattribute defined at extensionyacceleratorcore.-
Methods inherited from class de.hybris.platform.variants.model.VariantProductModel
getBaseProduct, setBaseProduct
-
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
-
STYLE
public static final java.lang.String STYLE
Generated constant - Attribute key ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.- See Also:
- Constant Field Values
-
SWATCHCOLORS
public static final java.lang.String SWATCHCOLORS
Generated constant - Attribute key ofApparelStyleVariantProduct.swatchColorsattribute defined at extensionyacceleratorcore.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ApparelStyleVariantProductModel
public ApparelStyleVariantProductModel()
Generated constructor - Default constructor for generic creation.
-
ApparelStyleVariantProductModel
public ApparelStyleVariantProductModel(ItemModelContext ctx)
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, 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
-
ApparelStyleVariantProductModel
@Deprecated(since="4.1.1", forRemoval=true) public ApparelStyleVariantProductModel(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
-
getStyle
@Accessor(qualifier="style", type=GETTER) public java.lang.String getStyle()
Generated method - Getter of theApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.- Returns:
- the style - Color/Pattern of the product.
-
getStyle
@Accessor(qualifier="style", type=GETTER) public java.lang.String getStyle(java.util.Locale loc)
Generated method - Getter of theApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.- Parameters:
loc- the value localization key- Returns:
- the style - Color/Pattern of the product.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getSwatchColors
@Accessor(qualifier="swatchColors", type=GETTER) public java.util.Set<SwatchColorEnum> 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
@Accessor(qualifier="style", type=SETTER) public void setStyle(java.lang.String value)
Generated method - Setter ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.- Parameters:
value- the style - Color/Pattern of the product.
-
setStyle
@Accessor(qualifier="style", type=SETTER) public void setStyle(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofApparelStyleVariantProduct.styleattribute defined at extensionyacceleratorcore.- Parameters:
value- the style - Color/Pattern of the product.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setSwatchColors
@Accessor(qualifier="swatchColors", type=SETTER) public void setSwatchColors(java.util.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.
-
-