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:
java.io.Serializable
- Direct Known Subclasses:
AbstractRuleBasedPromotionActionModel
,PromotionNullActionModel
,PromotionOrderAddFreeGiftActionModel
,PromotionOrderAdjustTotalActionModel
,PromotionOrderChangeDeliveryModeActionModel
,PromotionOrderEntryAdjustActionModel
public class AbstractPromotionActionModel extends ItemModel
Generated model class for type AbstractPromotionAction first defined at extension promotions.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_PROMOTIONRESULT2PROMOTIONACTIONSRELATION
Generated relation code constant for relationPromotionResult2PromotionActionsRelation
defining source attributepromotionResult
in extensionpromotions
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
GUID
Generated constant - Attribute key ofAbstractPromotionAction.guid
attribute defined at extensionpromotions
.static java.lang.String
MARKEDAPPLIED
Generated constant - Attribute key ofAbstractPromotionAction.markedApplied
attribute defined at extensionpromotions
.static java.lang.String
PROMOTIONRESULT
Generated constant - Attribute key ofAbstractPromotionAction.promotionResult
attribute defined at extensionpromotions
.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description AbstractPromotionActionModel()
Generated constructor - Default constructor for generic creation.AbstractPromotionActionModel(ItemModel _owner)
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(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getGuid()
Generated method - Getter of theAbstractPromotionAction.guid
attribute defined at extensionpromotions
.java.lang.Boolean
getMarkedApplied()
Generated method - Getter of theAbstractPromotionAction.markedApplied
attribute defined at extensionpromotions
.PromotionResultModel
getPromotionResult()
Generated method - Getter of theAbstractPromotionAction.promotionResult
attribute defined at extensionpromotions
.void
setGuid(java.lang.String value)
Generated method - Setter ofAbstractPromotionAction.guid
attribute defined at extensionpromotions
.void
setMarkedApplied(java.lang.Boolean value)
Generated method - Setter ofAbstractPromotionAction.markedApplied
attribute defined at extensionpromotions
.void
setPromotionResult(PromotionResultModel value)
Generated method - Setter ofAbstractPromotionAction.promotionResult
attribute defined at extensionpromotions
.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_PROMOTIONRESULT2PROMOTIONACTIONSRELATION
public static final java.lang.String _PROMOTIONRESULT2PROMOTIONACTIONSRELATION
Generated relation code constant for relationPromotionResult2PromotionActionsRelation
defining source attributepromotionResult
in extensionpromotions
.- See Also:
- Constant Field Values
-
MARKEDAPPLIED
public static final java.lang.String MARKEDAPPLIED
Generated constant - Attribute key ofAbstractPromotionAction.markedApplied
attribute defined at extensionpromotions
.- See Also:
- Constant Field Values
-
GUID
public static final java.lang.String GUID
Generated constant - Attribute key ofAbstractPromotionAction.guid
attribute defined at extensionpromotions
.- See Also:
- Constant Field Values
-
PROMOTIONRESULT
public static final java.lang.String PROMOTIONRESULT
Generated constant - Attribute key ofAbstractPromotionAction.promotionResult
attribute defined at extensionpromotions
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractPromotionActionModel
public AbstractPromotionActionModel()
Generated constructor - Default constructor for generic creation.
-
AbstractPromotionActionModel
public AbstractPromotionActionModel(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(since="4.1.1", forRemoval=true) public AbstractPromotionActionModel(ItemModel _owner)
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 typeItem
at extensioncore
-
-
Method Detail
-
getGuid
@Accessor(qualifier="guid", type=GETTER) public java.lang.String getGuid()
Generated method - Getter of theAbstractPromotionAction.guid
attribute defined at extensionpromotions
.- Returns:
- the guid - The unique identifier for this action.
-
getMarkedApplied
@Accessor(qualifier="markedApplied", type=GETTER) public java.lang.Boolean getMarkedApplied()
Generated method - Getter of theAbstractPromotionAction.markedApplied
attribute 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.promotionResult
attribute defined at extensionpromotions
.- Returns:
- the promotionResult
-
setGuid
@Accessor(qualifier="guid", type=SETTER) public void setGuid(java.lang.String value)
Generated method - Setter ofAbstractPromotionAction.guid
attribute defined at extensionpromotions
.- Parameters:
value
- the guid - The unique identifier for this action.
-
setMarkedApplied
@Accessor(qualifier="markedApplied", type=SETTER) public void setMarkedApplied(java.lang.Boolean value)
Generated method - Setter ofAbstractPromotionAction.markedApplied
attribute 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.promotionResult
attribute defined at extensionpromotions
.- Parameters:
value
- the promotionResult
-
-