public class ProductForPromotionSourceRuleModel extends ItemModel
Contains a relation between product code and PromotionSourceRule in which that product code is used.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
PRODUCTCODE
Generated constant - Attribute key of
ProductForPromotionSourceRule.productCode attribute defined at extension promotionengineservices. |
static java.lang.String |
PROMOTION
Generated constant - Attribute key of
ProductForPromotionSourceRule.promotion attribute defined at extension promotionengineservices. |
static java.lang.String |
RULE
Generated constant - Attribute key of
ProductForPromotionSourceRule.rule attribute defined at extension promotionengineservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ProductForPromotionSourceRuleModel()
Generated constructor - Default constructor for generic creation.
|
ProductForPromotionSourceRuleModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ProductForPromotionSourceRuleModel(ItemModel _owner,
java.lang.String _productCode,
RuleBasedPromotionModel _promotion,
PromotionSourceRuleModel _rule)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductForPromotionSourceRuleModel(java.lang.String _productCode,
RuleBasedPromotionModel _promotion,
PromotionSourceRuleModel _rule)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProductCode()
Generated method - Getter of the
ProductForPromotionSourceRule.productCode attribute defined at extension promotionengineservices. |
RuleBasedPromotionModel |
getPromotion()
Generated method - Getter of the
ProductForPromotionSourceRule.promotion attribute defined at extension promotionengineservices. |
PromotionSourceRuleModel |
getRule()
Generated method - Getter of the
ProductForPromotionSourceRule.rule attribute defined at extension promotionengineservices. |
void |
setProductCode(java.lang.String value)
Generated method - Initial setter of
ProductForPromotionSourceRule.productCode attribute defined at extension promotionengineservices. |
void |
setPromotion(RuleBasedPromotionModel value)
Generated method - Initial setter of
ProductForPromotionSourceRule.promotion attribute defined at extension promotionengineservices. |
void |
setRule(PromotionSourceRuleModel value)
Generated method - Initial setter of
ProductForPromotionSourceRule.rule attribute defined at extension promotionengineservices. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String PRODUCTCODE
ProductForPromotionSourceRule.productCode attribute defined at extension promotionengineservices.public static final java.lang.String RULE
ProductForPromotionSourceRule.rule attribute defined at extension promotionengineservices.public static final java.lang.String PROMOTION
ProductForPromotionSourceRule.promotion attribute defined at extension promotionengineservices.public ProductForPromotionSourceRuleModel()
public ProductForPromotionSourceRuleModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public ProductForPromotionSourceRuleModel(java.lang.String _productCode,
RuleBasedPromotionModel _promotion,
PromotionSourceRuleModel _rule)
_productCode - initial attribute declared by type ProductForPromotionSourceRule at extension promotionengineservices_promotion - initial attribute declared by type ProductForPromotionSourceRule at extension promotionengineservices_rule - initial attribute declared by type ProductForPromotionSourceRule at extension promotionengineservices@Deprecated public ProductForPromotionSourceRuleModel(ItemModel _owner, java.lang.String _productCode, RuleBasedPromotionModel _promotion, PromotionSourceRuleModel _rule)
_owner - initial attribute declared by type Item at extension core_productCode - initial attribute declared by type ProductForPromotionSourceRule at extension promotionengineservices_promotion - initial attribute declared by type ProductForPromotionSourceRule at extension promotionengineservices_rule - initial attribute declared by type ProductForPromotionSourceRule at extension promotionengineservices@Accessor(qualifier="productCode", type=GETTER) public java.lang.String getProductCode()
ProductForPromotionSourceRule.productCode attribute defined at extension promotionengineservices.@Accessor(qualifier="promotion", type=GETTER) public RuleBasedPromotionModel getPromotion()
ProductForPromotionSourceRule.promotion attribute defined at extension promotionengineservices.@Accessor(qualifier="rule", type=GETTER) public PromotionSourceRuleModel getRule()
ProductForPromotionSourceRule.rule attribute defined at extension promotionengineservices.@Accessor(qualifier="productCode", type=SETTER) public void setProductCode(java.lang.String value)
ProductForPromotionSourceRule.productCode attribute defined at extension promotionengineservices. Can only be used at creation of model - before first save.value - the productCode - product code used in the given PromotionSourceRule@Accessor(qualifier="promotion", type=SETTER) public void setPromotion(RuleBasedPromotionModel value)
ProductForPromotionSourceRule.promotion attribute defined at extension promotionengineservices. Can only be used at creation of model - before first save.value - the promotion - RuleBasedPromotion related to the rule@Accessor(qualifier="rule", type=SETTER) public void setRule(PromotionSourceRuleModel value)
ProductForPromotionSourceRule.rule attribute defined at extension promotionengineservices. Can only be used at creation of model - before first save.value - the rule - PromotionSourceRule containing the product codeCopyright © 2018 SAP SE. All Rights Reserved.