public class LoneLeafVariantProductReferenceTargetStrategy extends java.lang.Object implements ProductReferenceTargetStrategy
| Constructor and Description |
|---|
LoneLeafVariantProductReferenceTargetStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected ProductModel |
findSingleLeafVariant(ProductModel currentProduct) |
ProductModel |
getTarget(ProductModel sourceProduct,
ProductReferenceModel reference)
Gets the target product for the given product reference.
|
public LoneLeafVariantProductReferenceTargetStrategy()
public ProductModel getTarget(ProductModel sourceProduct, ProductReferenceModel reference)
ProductReferenceTargetStrategygetTarget in interface ProductReferenceTargetStrategysourceProduct - the source productreference - the product referenceprotected ProductModel findSingleLeafVariant(ProductModel currentProduct)
Copyright © 2018 SAP SE. All Rights Reserved.