Class AbstractPromotionActionModel

    • 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 relation PromotionResult2PromotionActionsRelation defining source attribute promotionResult in extension promotions.
        See Also:
        Constant Field Values
      • MARKEDAPPLIED

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

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

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

      • getGuid

        @Accessor(qualifier="guid",
                  type=GETTER)
        public java.lang.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 java.lang.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​(java.lang.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​(java.lang.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