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