public class PromotionResultModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_ORDER2PROMOTIONRESULTSRELATION
Generated relation code constant for relation
Order2PromotionResultsRelation defining source attribute order in extension promotions. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
ACTIONS
Generated constant - Attribute key of
PromotionResult.actions attribute defined at extension promotions. |
static String |
ALLPROMOTIONACTIONS
Generated constant - Attribute key of
PromotionResult.allPromotionActions attribute defined at extension promotions. |
static String |
CERTAINTY
Generated constant - Attribute key of
PromotionResult.certainty attribute defined at extension promotions. |
static String |
CONSUMEDENTRIES
Generated constant - Attribute key of
PromotionResult.consumedEntries attribute defined at extension promotions. |
static String |
CUSTOM
Generated constant - Attribute key of
PromotionResult.custom attribute defined at extension promotions. |
static String |
MODULEVERSION
Generated constant - Attribute key of
PromotionResult.moduleVersion attribute defined at extension promotionengineservices. |
static String |
ORDER
Generated constant - Attribute key of
PromotionResult.order attribute defined at extension promotions. |
static String |
PROMOTION
Generated constant - Attribute key of
PromotionResult.promotion attribute defined at extension promotions. |
static String |
RULEVERSION
Generated constant - Attribute key of
PromotionResult.ruleVersion attribute defined at extension promotionengineservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_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 |
|---|---|
Collection<AbstractPromotionActionModel> |
getActions()
Generated method - Getter of the
PromotionResult.actions attribute defined at extension promotions. |
Set<AbstractPromotionActionModel> |
getAllPromotionActions()
Generated method - Getter of the
PromotionResult.allPromotionActions attribute defined at extension promotions. |
Float |
getCertainty()
Generated method - Getter of the
PromotionResult.certainty attribute defined at extension promotions. |
Collection<PromotionOrderEntryConsumedModel> |
getConsumedEntries()
Generated method - Getter of the
PromotionResult.consumedEntries attribute defined at extension promotions. |
String |
getCustom()
Generated method - Getter of the
PromotionResult.custom attribute defined at extension promotions. |
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. |
AbstractPromotionModel |
getPromotion()
Generated method - Getter of the
PromotionResult.promotion attribute defined at extension promotions. |
Long |
getRuleVersion()
Generated method - Getter of the
PromotionResult.ruleVersion attribute defined at extension promotionengineservices. |
void |
setActions(Collection<AbstractPromotionActionModel> value)
Generated method - Setter of
PromotionResult.actions attribute defined at extension promotions. |
void |
setAllPromotionActions(Set<AbstractPromotionActionModel> value)
Generated method - Setter of
PromotionResult.allPromotionActions attribute defined at extension promotions. |
void |
setCertainty(Float value)
Generated method - Setter of
PromotionResult.certainty attribute defined at extension promotions. |
void |
setConsumedEntries(Collection<PromotionOrderEntryConsumedModel> value)
Generated method - Setter of
PromotionResult.consumedEntries attribute defined at extension promotions. |
void |
setCustom(String value)
Generated method - Setter of
PromotionResult.custom attribute defined at extension promotions. |
void |
setModuleVersion(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 |
setPromotion(AbstractPromotionModel value)
Generated method - Setter of
PromotionResult.promotion attribute defined at extension promotions. |
void |
setRuleVersion(Long value)
Generated method - Setter of
PromotionResult.ruleVersion attribute defined at extension promotionengineservices. |
getComments, getCreationtime, getModifiedtime, getOwner, 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 String _TYPECODE
public static final String _ORDER2PROMOTIONRESULTSRELATION
Order2PromotionResultsRelation defining source attribute order in extension promotions.public static final String ACTIONS
PromotionResult.actions attribute defined at extension promotions.public static final String CONSUMEDENTRIES
PromotionResult.consumedEntries attribute defined at extension promotions.public static final String PROMOTION
PromotionResult.promotion attribute defined at extension promotions.public static final String CERTAINTY
PromotionResult.certainty attribute defined at extension promotions.public static final String CUSTOM
PromotionResult.custom attribute defined at extension promotions.public static final String ORDER
PromotionResult.order attribute defined at extension promotions.public static final String ALLPROMOTIONACTIONS
PromotionResult.allPromotionActions attribute defined at extension promotions.public static final String MODULEVERSION
PromotionResult.moduleVersion attribute defined at extension promotionengineservices.public static final String RULEVERSION
PromotionResult.ruleVersion 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 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 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 Float getCertainty()
PromotionResult.certainty attribute defined at extension promotions.@Accessor(qualifier="consumedEntries", type=GETTER) public 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 String getCustom()
PromotionResult.custom attribute defined at extension promotions.@Accessor(qualifier="moduleVersion", type=GETTER) public 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="promotion", type=GETTER) public AbstractPromotionModel getPromotion()
PromotionResult.promotion attribute defined at extension promotions.@Accessor(qualifier="ruleVersion", type=GETTER) public Long getRuleVersion()
PromotionResult.ruleVersion attribute defined at extension promotionengineservices.@Accessor(qualifier="actions", type=SETTER) public void setActions(Collection<AbstractPromotionActionModel> value)
PromotionResult.actions attribute defined at extension promotions.value - the actions - List of actions@Accessor(qualifier="allPromotionActions", type=SETTER) public void setAllPromotionActions(Set<AbstractPromotionActionModel> value)
PromotionResult.allPromotionActions attribute defined at extension promotions.value - the allPromotionActions@Accessor(qualifier="certainty", type=SETTER) public void setCertainty(Float value)
PromotionResult.certainty attribute defined at extension promotions.value - the certainty - Certainty@Accessor(qualifier="consumedEntries", type=SETTER) public void setConsumedEntries(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(String value)
PromotionResult.custom attribute defined at extension promotions.value - the custom - Custom data stored on this promotion result by the promotion.@Accessor(qualifier="moduleVersion", type=SETTER) public void setModuleVersion(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="promotion", type=SETTER) public void setPromotion(AbstractPromotionModel value)
PromotionResult.promotion attribute defined at extension promotions.value - the promotion - The promotionCopyright © 2017 SAP SE. All Rights Reserved.