public class PromotionResultModel extends ItemModel
| 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 |
ORDER
Generated constant - Attribute key of
PromotionResult.order attribute defined at extension promotions. |
static java.lang.String |
PROMOTION
Generated constant - Attribute key of
PromotionResult.promotion attribute defined at extension promotions. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED| Constructor and Description |
|---|
PromotionResultModel()
Generated constructor - Default constructor for generic creation.
|
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. |
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. |
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 |
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. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerpublic 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 PromotionResultModel()
public PromotionResultModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be nullpublic java.util.Collection<AbstractPromotionActionModel> getActions()
PromotionResult.actions attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.public java.util.Set<AbstractPromotionActionModel> getAllPromotionActions()
PromotionResult.allPromotionActions attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.public java.lang.Float getCertainty()
PromotionResult.certainty attribute defined at extension promotions.public java.util.Collection<PromotionOrderEntryConsumedModel> getConsumedEntries()
PromotionResult.consumedEntries attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.public java.lang.String getCustom()
PromotionResult.custom attribute defined at extension promotions.public AbstractOrderModel getOrder()
PromotionResult.order attribute defined at extension promotions.public AbstractPromotionModel getPromotion()
PromotionResult.promotion attribute defined at extension promotions.public void setActions(java.util.Collection<AbstractPromotionActionModel> value)
PromotionResult.actions attribute defined at extension promotions.value - the actions - List of actionspublic void setAllPromotionActions(java.util.Set<AbstractPromotionActionModel> value)
PromotionResult.allPromotionActions attribute defined at extension promotions.value - the allPromotionActionspublic void setCertainty(java.lang.Float value)
PromotionResult.certainty attribute defined at extension promotions.value - the certainty - Certaintypublic void setConsumedEntries(java.util.Collection<PromotionOrderEntryConsumedModel> value)
PromotionResult.consumedEntries attribute defined at extension promotions.value - the consumedEntries - List of consumed entriespublic 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.public void setOrder(AbstractOrderModel value)
PromotionResult.order attribute defined at extension promotions.value - the orderpublic void setPromotion(AbstractPromotionModel value)
PromotionResult.promotion attribute defined at extension promotions.value - the promotion - The promotionCopyright © 2018 SAP SE. All Rights Reserved.