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

public class AbstractPromotionActionModel extends ItemModel
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation PromotionResult2PromotionActionsRelation defining source attribute promotionResult in extension promotions.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of AbstractPromotionAction.guid attribute defined at extension promotions.
    static final String
    Generated constant - Attribute key of AbstractPromotionAction.markedApplied attribute defined at extension promotions.
    static final String
    Generated constant - Attribute key of AbstractPromotionAction.promotionResult attribute defined at extension promotions.

    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
    Generated 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 parameters
    AbstractPromotionActionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the AbstractPromotionAction.guid attribute defined at extension promotions.
    Generated method - Getter of the AbstractPromotionAction.markedApplied attribute defined at extension promotions.
    Generated method - Getter of the AbstractPromotionAction.promotionResult attribute defined at extension promotions.
    void
    setGuid(String value)
    Generated method - Setter of AbstractPromotionAction.guid attribute defined at extension promotions.
    void
    Generated method - Setter of AbstractPromotionAction.markedApplied attribute defined at extension promotions.
    void
    Generated method - Setter of AbstractPromotionAction.promotionResult attribute defined at extension promotions.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _PROMOTIONRESULT2PROMOTIONACTIONSRELATION

      public static final String _PROMOTIONRESULT2PROMOTIONACTIONSRELATION
      Generated relation code constant for relation PromotionResult2PromotionActionsRelation defining source attribute promotionResult in extension promotions.
      See Also:
    • MARKEDAPPLIED

      public static final String MARKEDAPPLIED
      Generated constant - Attribute key of AbstractPromotionAction.markedApplied attribute defined at extension promotions.
      See Also:
    • GUID

      public static final String GUID
      Generated constant - Attribute key of AbstractPromotionAction.guid attribute defined at extension promotions.
      See Also:
    • PROMOTIONRESULT

      public static final String PROMOTIONRESULT
      Generated constant - Attribute key of AbstractPromotionAction.promotionResult attribute defined at extension promotions.
      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(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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getGuid

      @Accessor(qualifier="guid", type=GETTER) public String getGuid()
      Generated method - Getter of the AbstractPromotionAction.guid attribute defined at extension promotions.
      Returns:
      the guid - The unique identifier for this action.
    • getMarkedApplied

      @Accessor(qualifier="markedApplied", type=GETTER) public Boolean getMarkedApplied()
      Generated method - Getter of the AbstractPromotionAction.markedApplied attribute defined at extension promotions.
      Returns:
      the markedApplied - Flag to indicate that this promotion is applied.
    • getPromotionResult

      @Accessor(qualifier="promotionResult", type=GETTER) public PromotionResultModel getPromotionResult()
      Generated method - Getter of the AbstractPromotionAction.promotionResult attribute defined at extension promotions.
      Returns:
      the promotionResult
    • setGuid

      @Accessor(qualifier="guid", type=SETTER) public void setGuid(String value)
      Generated method - Setter of AbstractPromotionAction.guid attribute defined at extension promotions.
      Parameters:
      value - the guid - The unique identifier for this action.
    • setMarkedApplied

      @Accessor(qualifier="markedApplied", type=SETTER) public void setMarkedApplied(Boolean value)
      Generated method - Setter of AbstractPromotionAction.markedApplied attribute defined at extension promotions.
      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 of AbstractPromotionAction.promotionResult attribute defined at extension promotions.
      Parameters:
      value - the promotionResult