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_PROMOTIONRESULT2PROMOTIONACTIONSRELATIONGenerated relation code constant for relationPromotionResult2PromotionActionsRelationdefining source attributepromotionResultin extensionpromotions.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringGUIDGenerated constant - Attribute key ofAbstractPromotionAction.guidattribute defined at extensionpromotions.static java.lang.StringMARKEDAPPLIEDGenerated constant - Attribute key ofAbstractPromotionAction.markedAppliedattribute defined at extensionpromotions.static java.lang.StringPROMOTIONRESULTGenerated 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, 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.StringgetGuid()Generated method - Getter of theAbstractPromotionAction.guidattribute defined at extensionpromotions.java.lang.BooleangetMarkedApplied()Generated method - Getter of theAbstractPromotionAction.markedAppliedattribute defined at extensionpromotions.PromotionResultModelgetPromotionResult()Generated method - Getter of theAbstractPromotionAction.promotionResultattribute defined at extensionpromotions.voidsetGuid(java.lang.String value)Generated method - Setter ofAbstractPromotionAction.guidattribute defined at extensionpromotions.voidsetMarkedApplied(java.lang.Boolean value)Generated method - Setter ofAbstractPromotionAction.markedAppliedattribute defined at extensionpromotions.voidsetPromotionResult(PromotionResultModel value)Generated 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, 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 relationPromotionResult2PromotionActionsRelationdefining source attributepromotionResultin extensionpromotions.- See Also:
- Constant Field Values
-
MARKEDAPPLIED
public static final java.lang.String MARKEDAPPLIED
Generated constant - Attribute key ofAbstractPromotionAction.markedAppliedattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
GUID
public static final java.lang.String GUID
Generated constant - Attribute key ofAbstractPromotionAction.guidattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
PROMOTIONRESULT
public static final java.lang.String PROMOTIONRESULT
Generated constant - Attribute key ofAbstractPromotionAction.promotionResultattribute 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 typeItemat extensioncore
-
-
Method Detail
-
getGuid
@Accessor(qualifier="guid", type=GETTER) public java.lang.String getGuid()
Generated method - Getter of theAbstractPromotionAction.guidattribute 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.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
@Accessor(qualifier="guid", type=SETTER) public void setGuid(java.lang.String value)
Generated method - Setter ofAbstractPromotionAction.guidattribute 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.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
-
-