Class AbstractPromotionActionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.promotions.model.AbstractPromotionActionModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractRuleBasedPromotionActionModel,PromotionNullActionModel,PromotionOrderAddFreeGiftActionModel,PromotionOrderAdjustTotalActionModel,PromotionOrderChangeDeliveryModeActionModel,PromotionOrderEntryAdjustActionModel
Generated model class for type AbstractPromotionAction first defined at extension promotions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationPromotionResult2PromotionActionsRelationdefining source attributepromotionResultin extensionpromotions.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAbstractPromotionAction.guidattribute defined at extensionpromotions.static final StringGenerated constant - Attribute key ofAbstractPromotionAction.markedAppliedattribute defined at extensionpromotions.static final StringGenerated constant - Attribute key ofAbstractPromotionAction.promotionResultattribute defined at extensionpromotions.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAbstractPromotionActionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptiongetGuid()Generated method - Getter of theAbstractPromotionAction.guidattribute defined at extensionpromotions.Generated method - Getter of theAbstractPromotionAction.markedAppliedattribute defined at extensionpromotions.Generated method - Getter of theAbstractPromotionAction.promotionResultattribute defined at extensionpromotions.voidGenerated method - Setter ofAbstractPromotionAction.guidattribute defined at extensionpromotions.voidsetMarkedApplied(Boolean value) Generated method - Setter ofAbstractPromotionAction.markedAppliedattribute defined at extensionpromotions.voidGenerated method - Setter ofAbstractPromotionAction.promotionResultattribute defined at extensionpromotions.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, 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, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_PROMOTIONRESULT2PROMOTIONACTIONSRELATION
Generated relation code constant for relationPromotionResult2PromotionActionsRelationdefining source attributepromotionResultin extensionpromotions.- See Also:
-
MARKEDAPPLIED
Generated constant - Attribute key ofAbstractPromotionAction.markedAppliedattribute defined at extensionpromotions.- See Also:
-
GUID
Generated constant - Attribute key ofAbstractPromotionAction.guidattribute defined at extensionpromotions.- See Also:
-
PROMOTIONRESULT
Generated constant - Attribute key ofAbstractPromotionAction.promotionResultattribute defined at extensionpromotions.- See Also:
-
-
Constructor Details
-
AbstractPromotionActionModel
public AbstractPromotionActionModel()Generated constructor - Default constructor for generic creation. -
AbstractPromotionActionModel
public AbstractPromotionActionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
AbstractPromotionActionModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getGuid
Generated method - Getter of theAbstractPromotionAction.guidattribute defined at extensionpromotions.- Returns:
- the guid - The unique identifier for this action.
-
getMarkedApplied
Generated method - Getter of theAbstractPromotionAction.markedAppliedattribute defined at extensionpromotions.- Returns:
- the markedApplied - Flag to indicate that this promotion is applied.
-
getPromotionResult
@Accessor(qualifier="promotionResult", type=GETTER) public PromotionResultModel getPromotionResult()Generated method - Getter of theAbstractPromotionAction.promotionResultattribute defined at extensionpromotions.- Returns:
- the promotionResult
-
setGuid
Generated method - Setter ofAbstractPromotionAction.guidattribute defined at extensionpromotions.- Parameters:
value- the guid - The unique identifier for this action.
-
setMarkedApplied
Generated method - Setter ofAbstractPromotionAction.markedAppliedattribute defined at extensionpromotions.- Parameters:
value- the markedApplied - Flag to indicate that this promotion is applied.
-
setPromotionResult
@Accessor(qualifier="promotionResult", type=SETTER) public void setPromotionResult(PromotionResultModel value) Generated method - Setter ofAbstractPromotionAction.promotionResultattribute defined at extensionpromotions.- Parameters:
value- the promotionResult
-