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