public class PromotionResultModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_ORDER2PROMOTIONRESULTSRELATION
Generated relation code constant for relation
Order2PromotionResultsRelation defining source attribute order in extension promotions. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
ACTIONS
Generated constant - Attribute key of
PromotionResult.actions attribute defined at extension promotions. |
static java.lang.String |
ALLPROMOTIONACTIONS
Generated constant - Attribute key of
PromotionResult.allPromotionActions attribute defined at extension promotions. |
static java.lang.String |
CERTAINTY
Generated constant - Attribute key of
PromotionResult.certainty attribute defined at extension promotions. |
static java.lang.String |
CONSUMEDENTRIES
Generated constant - Attribute key of
PromotionResult.consumedEntries attribute defined at extension promotions. |
static java.lang.String |
CUSTOM
Generated constant - Attribute key of
PromotionResult.custom attribute defined at extension promotions. |
static java.lang.String |
MESSAGEFIRED
Generated constant - Attribute key of
PromotionResult.messageFired attribute defined at extension promotionengineservices. |
static java.lang.String |
MODULEVERSION
Generated constant - Attribute key of
PromotionResult.moduleVersion attribute defined at extension promotionengineservices. |
static java.lang.String |
ORDER
Generated constant - Attribute key of
PromotionResult.order attribute defined at extension promotions. |
static java.lang.String |
ORDERCODE
Generated constant - Attribute key of
PromotionResult.orderCode attribute defined at extension promotionengineservices. |
static java.lang.String |
PROMOTION
Generated constant - Attribute key of
PromotionResult.promotion attribute defined at extension promotions. |
static java.lang.String |
RULESMODULENAME
Generated constant - Attribute key of
PromotionResult.rulesModuleName attribute defined at extension promotionengineservices. |
static java.lang.String |
RULEVERSION
Generated constant - Attribute key of
PromotionResult.ruleVersion attribute defined at extension promotionengineservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
PromotionResultModel()
Generated constructor - Default constructor for generic creation.
|
PromotionResultModel(ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
PromotionResultModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPromotionActionModel> |
getActions()
Generated method - Getter of the
PromotionResult.actions attribute defined at extension promotions. |
java.util.Set<AbstractPromotionActionModel> |
getAllPromotionActions()
Generated method - Getter of the
PromotionResult.allPromotionActions attribute defined at extension promotions. |
java.lang.Float |
getCertainty()
Generated method - Getter of the
PromotionResult.certainty attribute defined at extension promotions. |
java.util.Collection<PromotionOrderEntryConsumedModel> |
getConsumedEntries()
Generated method - Getter of the
PromotionResult.consumedEntries attribute defined at extension promotions. |
java.lang.String |
getCustom()
Generated method - Getter of the
PromotionResult.custom attribute defined at extension promotions. |
java.lang.String |
getMessageFired()
Generated method - Getter of the
PromotionResult.messageFired attribute defined at extension promotionengineservices. |
java.lang.String |
getMessageFired(java.util.Locale loc)
Generated method - Getter of the
PromotionResult.messageFired attribute defined at extension promotionengineservices. |
java.lang.Long |
getModuleVersion()
Generated method - Getter of the
PromotionResult.moduleVersion attribute defined at extension promotionengineservices. |
AbstractOrderModel |
getOrder()
Generated method - Getter of the
PromotionResult.order attribute defined at extension promotions. |
java.lang.String |
getOrderCode()
Generated method - Getter of the
PromotionResult.orderCode attribute defined at extension promotionengineservices. |
AbstractPromotionModel |
getPromotion()
Generated method - Getter of the
PromotionResult.promotion attribute defined at extension promotions. |
java.lang.String |
getRulesModuleName()
Generated method - Getter of the
PromotionResult.rulesModuleName attribute defined at extension promotionengineservices. |
java.lang.Long |
getRuleVersion()
Generated method - Getter of the
PromotionResult.ruleVersion attribute defined at extension promotionengineservices. |
void |
setActions(java.util.Collection<AbstractPromotionActionModel> value)
Generated method - Setter of
PromotionResult.actions attribute defined at extension promotions. |
void |
setAllPromotionActions(java.util.Set<AbstractPromotionActionModel> value)
Generated method - Setter of
PromotionResult.allPromotionActions attribute defined at extension promotions. |
void |
setCertainty(java.lang.Float value)
Generated method - Setter of
PromotionResult.certainty attribute defined at extension promotions. |
void |
setConsumedEntries(java.util.Collection<PromotionOrderEntryConsumedModel> value)
Generated method - Setter of
PromotionResult.consumedEntries attribute defined at extension promotions. |
void |
setCustom(java.lang.String value)
Generated method - Setter of
PromotionResult.custom attribute defined at extension promotions. |
void |
setMessageFired(java.lang.String value)
Generated method - Setter of
PromotionResult.messageFired attribute defined at extension promotionengineservices. |
void |
setMessageFired(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
PromotionResult.messageFired attribute defined at extension promotionengineservices. |
void |
setModuleVersion(java.lang.Long value)
Generated method - Setter of
PromotionResult.moduleVersion attribute defined at extension promotionengineservices. |
void |
setOrder(AbstractOrderModel value)
Generated method - Setter of
PromotionResult.order attribute defined at extension promotions. |
void |
setOrderCode(java.lang.String value)
Generated method - Setter of
PromotionResult.orderCode attribute defined at extension promotionengineservices. |
void |
setPromotion(AbstractPromotionModel value)
Generated method - Setter of
PromotionResult.promotion attribute defined at extension promotions. |
void |
setRulesModuleName(java.lang.String value)
Generated method - Setter of
PromotionResult.rulesModuleName attribute defined at extension promotionengineservices. |
void |
setRuleVersion(java.lang.Long value)
Generated method - Setter of
PromotionResult.ruleVersion 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 _ORDER2PROMOTIONRESULTSRELATION
Order2PromotionResultsRelation defining source attribute order in extension promotions.public static final java.lang.String ACTIONS
PromotionResult.actions attribute defined at extension promotions.public static final java.lang.String CONSUMEDENTRIES
PromotionResult.consumedEntries attribute defined at extension promotions.public static final java.lang.String PROMOTION
PromotionResult.promotion attribute defined at extension promotions.public static final java.lang.String CERTAINTY
PromotionResult.certainty attribute defined at extension promotions.public static final java.lang.String CUSTOM
PromotionResult.custom attribute defined at extension promotions.public static final java.lang.String ORDER
PromotionResult.order attribute defined at extension promotions.public static final java.lang.String ALLPROMOTIONACTIONS
PromotionResult.allPromotionActions attribute defined at extension promotions.public static final java.lang.String RULESMODULENAME
PromotionResult.rulesModuleName attribute defined at extension promotionengineservices.public static final java.lang.String MODULEVERSION
PromotionResult.moduleVersion attribute defined at extension promotionengineservices.public static final java.lang.String RULEVERSION
PromotionResult.ruleVersion attribute defined at extension promotionengineservices.public static final java.lang.String MESSAGEFIRED
PromotionResult.messageFired attribute defined at extension promotionengineservices.public static final java.lang.String ORDERCODE
PromotionResult.orderCode attribute defined at extension promotionengineservices.public PromotionResultModel()
public PromotionResultModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public PromotionResultModel(ItemModel _owner)
_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="actions", type=GETTER) public java.util.Collection<AbstractPromotionActionModel> getActions()
PromotionResult.actions attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="allPromotionActions", type=GETTER) public java.util.Set<AbstractPromotionActionModel> getAllPromotionActions()
PromotionResult.allPromotionActions attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="certainty", type=GETTER) public java.lang.Float getCertainty()
PromotionResult.certainty attribute defined at extension promotions.@Accessor(qualifier="consumedEntries", type=GETTER) public java.util.Collection<PromotionOrderEntryConsumedModel> getConsumedEntries()
PromotionResult.consumedEntries attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="custom", type=GETTER) public java.lang.String getCustom()
PromotionResult.custom attribute defined at extension promotions.@Accessor(qualifier="messageFired", type=GETTER) public java.lang.String getMessageFired()
PromotionResult.messageFired attribute defined at extension promotionengineservices.@Accessor(qualifier="messageFired", type=GETTER) public java.lang.String getMessageFired(java.util.Locale loc)
PromotionResult.messageFired attribute defined at extension promotionengineservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="moduleVersion", type=GETTER) public java.lang.Long getModuleVersion()
PromotionResult.moduleVersion attribute defined at extension promotionengineservices.@Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
PromotionResult.order attribute defined at extension promotions.@Accessor(qualifier="orderCode", type=GETTER) public java.lang.String getOrderCode()
PromotionResult.orderCode attribute defined at extension promotionengineservices.@Accessor(qualifier="promotion", type=GETTER) public AbstractPromotionModel getPromotion()
PromotionResult.promotion attribute defined at extension promotions.@Accessor(qualifier="rulesModuleName", type=GETTER) public java.lang.String getRulesModuleName()
PromotionResult.rulesModuleName attribute defined at extension promotionengineservices.@Accessor(qualifier="ruleVersion", type=GETTER) public java.lang.Long getRuleVersion()
PromotionResult.ruleVersion attribute defined at extension promotionengineservices.@Accessor(qualifier="actions", type=SETTER) public void setActions(java.util.Collection<AbstractPromotionActionModel> value)
PromotionResult.actions attribute defined at extension promotions.value - the actions - List of actions@Accessor(qualifier="allPromotionActions", type=SETTER) public void setAllPromotionActions(java.util.Set<AbstractPromotionActionModel> value)
PromotionResult.allPromotionActions attribute defined at extension promotions.value - the allPromotionActions@Accessor(qualifier="certainty", type=SETTER) public void setCertainty(java.lang.Float value)
PromotionResult.certainty attribute defined at extension promotions.value - the certainty - Certainty@Accessor(qualifier="consumedEntries", type=SETTER) public void setConsumedEntries(java.util.Collection<PromotionOrderEntryConsumedModel> value)
PromotionResult.consumedEntries attribute defined at extension promotions.value - the consumedEntries - List of consumed entries@Accessor(qualifier="custom", type=SETTER) public void setCustom(java.lang.String value)
PromotionResult.custom attribute defined at extension promotions.value - the custom - Custom data stored on this promotion result by the promotion.@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(java.lang.String value)
PromotionResult.messageFired attribute defined at extension promotionengineservices.value - the messageFired - fired promotion description message@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(java.lang.String value, java.util.Locale loc)
PromotionResult.messageFired attribute defined at extension promotionengineservices.value - the messageFired - fired promotion description messageloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="moduleVersion", type=SETTER) public void setModuleVersion(java.lang.Long value)
PromotionResult.moduleVersion attribute defined at extension promotionengineservices.value - the moduleVersion - applied module version@Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
PromotionResult.order attribute defined at extension promotions.value - the order@Accessor(qualifier="orderCode", type=SETTER) public void setOrderCode(java.lang.String value)
PromotionResult.orderCode attribute defined at extension promotionengineservices.value - the orderCode - Order code@Accessor(qualifier="promotion", type=SETTER) public void setPromotion(AbstractPromotionModel value)
PromotionResult.promotion attribute defined at extension promotions.value - the promotion - The promotion@Accessor(qualifier="rulesModuleName", type=SETTER) public void setRulesModuleName(java.lang.String value)
PromotionResult.rulesModuleName attribute defined at extension promotionengineservices.value - the rulesModuleName - applied rules module nameCopyright © 2018 SAP SE. All Rights Reserved.