public class ExcludedProductForRuleModel extends ItemModel
Contains a relation between excluded product code and PromotionSourceRule in which that product 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
ExcludedProductForRule.productCode attribute defined at extension promotionengineservices. |
static java.lang.String |
RULE
Generated constant - Attribute key of
ExcludedProductForRule.rule attribute defined at extension promotionengineservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ExcludedProductForRuleModel()
Generated constructor - Default constructor for generic creation.
|
ExcludedProductForRuleModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ExcludedProductForRuleModel(ItemModel _owner,
java.lang.String _productCode,
PromotionSourceRuleModel _rule)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ExcludedProductForRuleModel(java.lang.String _productCode,
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
ExcludedProductForRule.productCode attribute defined at extension promotionengineservices. |
PromotionSourceRuleModel |
getRule()
Generated method - Getter of the
ExcludedProductForRule.rule attribute defined at extension promotionengineservices. |
void |
setProductCode(java.lang.String value)
Generated method - Initial setter of
ExcludedProductForRule.productCode attribute defined at extension promotionengineservices. |
void |
setRule(PromotionSourceRuleModel value)
Generated method - Initial setter of
ExcludedProductForRule.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
ExcludedProductForRule.productCode attribute defined at extension promotionengineservices.public static final java.lang.String RULE
ExcludedProductForRule.rule attribute defined at extension promotionengineservices.public ExcludedProductForRuleModel()
public ExcludedProductForRuleModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public ExcludedProductForRuleModel(java.lang.String _productCode,
PromotionSourceRuleModel _rule)
_productCode - initial attribute declared by type ExcludedProductForRule at extension promotionengineservices_rule - initial attribute declared by type ExcludedProductForRule at extension promotionengineservices@Deprecated public ExcludedProductForRuleModel(ItemModel _owner, java.lang.String _productCode, PromotionSourceRuleModel _rule)
_owner - initial attribute declared by type Item at extension core_productCode - initial attribute declared by type ExcludedProductForRule at extension promotionengineservices_rule - initial attribute declared by type ExcludedProductForRule at extension promotionengineservices@Accessor(qualifier="productCode", type=GETTER) public java.lang.String getProductCode()
ExcludedProductForRule.productCode attribute defined at extension promotionengineservices.@Accessor(qualifier="rule", type=GETTER) public PromotionSourceRuleModel getRule()
ExcludedProductForRule.rule attribute defined at extension promotionengineservices.@Accessor(qualifier="productCode", type=SETTER) public void setProductCode(java.lang.String value)
ExcludedProductForRule.productCode attribute defined at extension promotionengineservices. Can only be used at creation of model - before first save.value - the productCode@Accessor(qualifier="rule", type=SETTER) public void setRule(PromotionSourceRuleModel value)
ExcludedProductForRule.rule attribute defined at extension promotionengineservices. Can only be used at creation of model - before first save.value - the rule - PromotionSourceRule containing the excluded product codeCopyright © 2018 SAP SE. All Rights Reserved.