Class ElectronicsColorVariantProductModel
- 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.ElectronicsColorVariantProductModel
-
- All Implemented Interfaces:
java.io.Serializable
public class ElectronicsColorVariantProductModel extends VariantProductModel
Generated model class for type ElectronicsColorVariantProduct first defined at extension yacceleratorcore.Electronics color variant type that contains additional attribute describing variant color.
- 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.StringCOLORGenerated constant - Attribute key ofElectronicsColorVariantProduct.colorattribute 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 ElectronicsColorVariantProductModel()Generated constructor - Default constructor for generic creation.ElectronicsColorVariantProductModel(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 parametersElectronicsColorVariantProductModel(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 parametersElectronicsColorVariantProductModel(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.StringgetColor()Generated method - Getter of theElectronicsColorVariantProduct.colorattribute defined at extensionyacceleratorcore.java.lang.StringgetColor(java.util.Locale loc)Generated method - Getter of theElectronicsColorVariantProduct.colorattribute defined at extensionyacceleratorcore.voidsetColor(java.lang.String value)Generated method - Setter ofElectronicsColorVariantProduct.colorattribute defined at extensionyacceleratorcore.voidsetColor(java.lang.String value, java.util.Locale loc)Generated method - Setter ofElectronicsColorVariantProduct.colorattribute 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
-
COLOR
public static final java.lang.String COLOR
Generated constant - Attribute key ofElectronicsColorVariantProduct.colorattribute defined at extensionyacceleratorcore.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ElectronicsColorVariantProductModel
public ElectronicsColorVariantProductModel()
Generated constructor - Default constructor for generic creation.
-
ElectronicsColorVariantProductModel
public ElectronicsColorVariantProductModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ElectronicsColorVariantProductModel
@Deprecated(since="4.1.1", forRemoval=true) public ElectronicsColorVariantProductModel(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
-
ElectronicsColorVariantProductModel
@Deprecated(since="4.1.1", forRemoval=true) public ElectronicsColorVariantProductModel(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
-
getColor
@Accessor(qualifier="color", type=GETTER) public java.lang.String getColor()
Generated method - Getter of theElectronicsColorVariantProduct.colorattribute defined at extensionyacceleratorcore.- Returns:
- the color - Color of the product.
-
getColor
@Accessor(qualifier="color", type=GETTER) public java.lang.String getColor(java.util.Locale loc)
Generated method - Getter of theElectronicsColorVariantProduct.colorattribute defined at extensionyacceleratorcore.- Parameters:
loc- the value localization key- Returns:
- the color - Color of the product.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setColor
@Accessor(qualifier="color", type=SETTER) public void setColor(java.lang.String value)
Generated method - Setter ofElectronicsColorVariantProduct.colorattribute defined at extensionyacceleratorcore.- Parameters:
value- the color - Color of the product.
-
setColor
@Accessor(qualifier="color", type=SETTER) public void setColor(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofElectronicsColorVariantProduct.colorattribute defined at extensionyacceleratorcore.- Parameters:
value- the color - Color of the product.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
-