Class GeneratedAbstractPromotionRestriction

    • Field Detail

      • RESTRICTIONTYPE

        public static final java.lang.String RESTRICTIONTYPE
        Qualifier of the AbstractPromotionRestriction.restrictionType attribute
        See Also:
        Constant Field Values
      • DESCRIPTIONPATTERN

        public static final java.lang.String DESCRIPTIONPATTERN
        Qualifier of the AbstractPromotionRestriction.descriptionPattern attribute
        See Also:
        Constant Field Values
      • RENDEREDDESCRIPTION

        public static final java.lang.String RENDEREDDESCRIPTION
        Qualifier of the AbstractPromotionRestriction.renderedDescription attribute
        See Also:
        Constant Field Values
      • PROMOTION

        public static final java.lang.String PROMOTION
        Qualifier of the AbstractPromotionRestriction.promotion attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedAbstractPromotionRestriction

        public GeneratedAbstractPromotionRestriction()
    • Method Detail

      • getDescriptionPattern

        public java.lang.String getDescriptionPattern​(SessionContext ctx)
        Generated method - Getter of the AbstractPromotionRestriction.descriptionPattern attribute.
        Returns:
        the descriptionPattern - The description of the restriction (supports message pattern).
      • getDescriptionPattern

        public java.lang.String getDescriptionPattern()
        Generated method - Getter of the AbstractPromotionRestriction.descriptionPattern attribute.
        Returns:
        the descriptionPattern - The description of the restriction (supports message pattern).
      • getAllDescriptionPattern

        public java.util.Map<Language,​java.lang.String> getAllDescriptionPattern​(SessionContext ctx)
        Generated method - Getter of the AbstractPromotionRestriction.descriptionPattern attribute.
        Returns:
        the localized descriptionPattern - The description of the restriction (supports message pattern).
      • getAllDescriptionPattern

        public java.util.Map<Language,​java.lang.String> getAllDescriptionPattern()
        Generated method - Getter of the AbstractPromotionRestriction.descriptionPattern attribute.
        Returns:
        the localized descriptionPattern - The description of the restriction (supports message pattern).
      • setDescriptionPattern

        public void setDescriptionPattern​(SessionContext ctx,
                                          java.lang.String value)
        Generated method - Setter of the AbstractPromotionRestriction.descriptionPattern attribute.
        Parameters:
        value - the descriptionPattern - The description of the restriction (supports message pattern).
      • setDescriptionPattern

        public void setDescriptionPattern​(java.lang.String value)
        Generated method - Setter of the AbstractPromotionRestriction.descriptionPattern attribute.
        Parameters:
        value - the descriptionPattern - The description of the restriction (supports message pattern).
      • setAllDescriptionPattern

        public void setAllDescriptionPattern​(SessionContext ctx,
                                             java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the AbstractPromotionRestriction.descriptionPattern attribute.
        Parameters:
        value - the descriptionPattern - The description of the restriction (supports message pattern).
      • setAllDescriptionPattern

        public void setAllDescriptionPattern​(java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the AbstractPromotionRestriction.descriptionPattern attribute.
        Parameters:
        value - the descriptionPattern - The description of the restriction (supports message pattern).
      • getPromotion

        public AbstractPromotion getPromotion​(SessionContext ctx)
        Generated method - Getter of the AbstractPromotionRestriction.promotion attribute.
        Returns:
        the promotion - The promotion that this restriction is part of
      • getPromotion

        public AbstractPromotion getPromotion()
        Generated method - Getter of the AbstractPromotionRestriction.promotion attribute.
        Returns:
        the promotion - The promotion that this restriction is part of
      • setPromotion

        public void setPromotion​(SessionContext ctx,
                                 AbstractPromotion value)
        Generated method - Setter of the AbstractPromotionRestriction.promotion attribute.
        Parameters:
        value - the promotion - The promotion that this restriction is part of
      • setPromotion

        public void setPromotion​(AbstractPromotion value)
        Generated method - Setter of the AbstractPromotionRestriction.promotion attribute.
        Parameters:
        value - the promotion - The promotion that this restriction is part of
      • getRenderedDescription

        public abstract java.lang.String getRenderedDescription​(SessionContext ctx)
        Generated method - Getter of the AbstractPromotionRestriction.renderedDescription attribute.
        Returns:
        the renderedDescription - The readonly rendered description of this restriction.
      • getRenderedDescription

        public java.lang.String getRenderedDescription()
        Generated method - Getter of the AbstractPromotionRestriction.renderedDescription attribute.
        Returns:
        the renderedDescription - The readonly rendered description of this restriction.
      • getRestrictionType

        public abstract java.lang.String getRestrictionType​(SessionContext ctx)
        Generated method - Getter of the AbstractPromotionRestriction.restrictionType attribute.
        Returns:
        the restrictionType - The type of this restriction.
      • getRestrictionType

        public java.lang.String getRestrictionType()
        Generated method - Getter of the AbstractPromotionRestriction.restrictionType attribute.
        Returns:
        the restrictionType - The type of this restriction.
      • getAllRestrictionType

        public abstract java.util.Map<Language,​java.lang.String> getAllRestrictionType​(SessionContext ctx)
        Generated method - Getter of the AbstractPromotionRestriction.restrictionType attribute.
        Returns:
        the localized restrictionType - The type of this restriction.
      • getAllRestrictionType

        public java.util.Map<Language,​java.lang.String> getAllRestrictionType()
        Generated method - Getter of the AbstractPromotionRestriction.restrictionType attribute.
        Returns:
        the localized restrictionType - The type of this restriction.