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