Class AbstractRuleModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    SourceRuleModel

    public class AbstractRuleModel
    extends ItemModel
    Generated model class for type AbstractRule first defined at extension ruleengineservices.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _RULEGROUP2ABSTRACTRULE
      Generated relation code constant for relation RuleGroup2AbstractRule defining source attribute ruleGroup in extension ruleengineservices.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CODE
      Generated constant - Attribute key of AbstractRule.code attribute defined at extension ruleengineservices.
      static java.lang.String DEPLOYMENTS
      Generated constant - Attribute key of AbstractRule.deployments attribute defined at extension ruleengineservices.
      static java.lang.String DESCRIPTION
      Generated constant - Attribute key of AbstractRule.description attribute defined at extension ruleengineservices.
      static java.lang.String ENDDATE
      Generated constant - Attribute key of AbstractRule.endDate attribute defined at extension ruleengineservices.
      static java.lang.String ENGINERULES
      Generated constant - Attribute key of AbstractRule.engineRules attribute defined at extension ruleengineservices.
      static java.lang.String MAXALLOWEDRUNS
      Generated constant - Attribute key of AbstractRule.maxAllowedRuns attribute defined at extension ruleengineservices.
      static java.lang.String MESSAGEFIRED
      Generated constant - Attribute key of AbstractRule.messageFired attribute defined at extension ruleengineservices.
      static java.lang.String NAME
      Generated constant - Attribute key of AbstractRule.name attribute defined at extension ruleengineservices.
      static java.lang.String PRIORITY
      Generated constant - Attribute key of AbstractRule.priority attribute defined at extension ruleengineservices.
      static java.lang.String RULEGROUP
      Generated constant - Attribute key of AbstractRule.ruleGroup attribute defined at extension ruleengineservices.
      static java.lang.String RULESMODULES
      Generated constant - Attribute key of AbstractRule.rulesModules attribute defined at extension ruleengineservices.
      static java.lang.String SAPCONDITIONTYPE
      Generated constant - Attribute key of AbstractRule.sapConditionType attribute defined at extension saporderexchange.
      static java.lang.String STACKABLE
      Generated constant - Attribute key of AbstractRule.stackable attribute defined at extension ruleengineservices.
      static java.lang.String STARTDATE
      Generated constant - Attribute key of AbstractRule.startDate attribute defined at extension ruleengineservices.
      static java.lang.String STATUS
      Generated constant - Attribute key of AbstractRule.status attribute defined at extension ruleengineservices.
      static java.lang.String UUID
      Generated constant - Attribute key of AbstractRule.uuid attribute defined at extension ruleengineservices.
      static java.lang.String VERSION
      Generated constant - Attribute key of AbstractRule.version attribute defined at extension ruleengineservices.
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractRuleModel()
      Generated constructor - Default constructor for generic creation.
      AbstractRuleModel​(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      AbstractRuleModel​(java.lang.String _code)
      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
      AbstractRuleModel​(java.lang.String _code, ItemModel _owner, java.lang.String _uuid)
      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
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Generated method - Getter of the AbstractRule.code attribute defined at extension ruleengineservices.
      java.util.List<AbstractRulesModuleModel> getDeployments()
      Deprecated.
      since 18.08
      java.lang.String getDescription()
      Generated method - Getter of the AbstractRule.description attribute defined at extension ruleengineservices.
      java.lang.String getDescription​(java.util.Locale loc)
      Generated method - Getter of the AbstractRule.description attribute defined at extension ruleengineservices.
      java.util.Date getEndDate()
      Generated method - Getter of the AbstractRule.endDate attribute defined at extension ruleengineservices.
      java.util.Set<AbstractRuleEngineRuleModel> getEngineRules()
      Generated method - Getter of the AbstractRule.engineRules attribute defined at extension ruleengineservices.
      java.lang.Integer getMaxAllowedRuns()
      Generated method - Getter of the AbstractRule.maxAllowedRuns attribute defined at extension ruleengineservices.
      java.lang.String getMessageFired()
      Generated method - Getter of the AbstractRule.messageFired attribute defined at extension ruleengineservices.
      java.lang.String getMessageFired​(java.util.Locale loc)
      Generated method - Getter of the AbstractRule.messageFired attribute defined at extension ruleengineservices.
      java.lang.String getName()
      Generated method - Getter of the AbstractRule.name attribute defined at extension ruleengineservices.
      java.lang.String getName​(java.util.Locale loc)
      Generated method - Getter of the AbstractRule.name attribute defined at extension ruleengineservices.
      java.lang.Integer getPriority()
      Generated method - Getter of the AbstractRule.priority attribute defined at extension ruleengineservices.
      RuleGroupModel getRuleGroup()
      Generated method - Getter of the AbstractRule.ruleGroup attribute defined at extension ruleengineservices.
      java.util.List<AbstractRulesModuleModel> getRulesModules()
      Generated method - Getter of the AbstractRule.rulesModules attribute defined at extension ruleengineservices.
      java.lang.String getSapConditionType()
      Generated method - Getter of the AbstractRule.sapConditionType attribute defined at extension saporderexchange.
      java.lang.Boolean getStackable()
      Deprecated.
      Since 6.7
      java.util.Date getStartDate()
      Generated method - Getter of the AbstractRule.startDate attribute defined at extension ruleengineservices.
      RuleStatus getStatus()
      Generated method - Getter of the AbstractRule.status attribute defined at extension ruleengineservices.
      java.lang.String getUuid()
      Generated method - Getter of the AbstractRule.uuid attribute defined at extension ruleengineservices.
      java.lang.Long getVersion()
      Generated method - Getter of the AbstractRule.version attribute defined at extension ruleengineservices.
      void setCode​(java.lang.String value)
      Generated method - Initial setter of AbstractRule.code attribute defined at extension ruleengineservices.
      void setDescription​(java.lang.String value)
      Generated method - Setter of AbstractRule.description attribute defined at extension ruleengineservices.
      void setDescription​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of AbstractRule.description attribute defined at extension ruleengineservices.
      void setEndDate​(java.util.Date value)
      Generated method - Setter of AbstractRule.endDate attribute defined at extension ruleengineservices.
      void setEngineRules​(java.util.Set<AbstractRuleEngineRuleModel> value)
      Generated method - Setter of AbstractRule.engineRules attribute defined at extension ruleengineservices.
      void setMaxAllowedRuns​(java.lang.Integer value)
      Generated method - Setter of AbstractRule.maxAllowedRuns attribute defined at extension ruleengineservices.
      void setMessageFired​(java.lang.String value)
      Generated method - Setter of AbstractRule.messageFired attribute defined at extension ruleengineservices.
      void setMessageFired​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of AbstractRule.messageFired attribute defined at extension ruleengineservices.
      void setName​(java.lang.String value)
      Generated method - Setter of AbstractRule.name attribute defined at extension ruleengineservices.
      void setName​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of AbstractRule.name attribute defined at extension ruleengineservices.
      void setPriority​(java.lang.Integer value)
      Generated method - Setter of AbstractRule.priority attribute defined at extension ruleengineservices.
      void setRuleGroup​(RuleGroupModel value)
      Generated method - Setter of AbstractRule.ruleGroup attribute defined at extension ruleengineservices.
      void setRulesModules​(java.util.List<AbstractRulesModuleModel> value)
      Generated method - Setter of AbstractRule.rulesModules attribute defined at extension ruleengineservices.
      void setSapConditionType​(java.lang.String value)
      Generated method - Setter of AbstractRule.sapConditionType attribute defined at extension saporderexchange.
      void setStackable​(java.lang.Boolean value)
      Deprecated.
      Since 6.7
      void setStartDate​(java.util.Date value)
      Generated method - Setter of AbstractRule.startDate attribute defined at extension ruleengineservices.
      void setStatus​(RuleStatus value)
      Generated method - Setter of AbstractRule.status attribute defined at extension ruleengineservices.
      void setUuid​(java.lang.String value)
      Generated method - Initial setter of AbstractRule.uuid attribute defined at extension ruleengineservices.
      void setVersion​(java.lang.Long value)
      Generated method - Setter of AbstractRule.version attribute defined at extension ruleengineservices.
      • Methods inherited from class java.lang.Object

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

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _RULEGROUP2ABSTRACTRULE

        public static final java.lang.String _RULEGROUP2ABSTRACTRULE
        Generated relation code constant for relation RuleGroup2AbstractRule defining source attribute ruleGroup in extension ruleengineservices.
        See Also:
        Constant Field Values
      • UUID

        public static final java.lang.String UUID
        Generated constant - Attribute key of AbstractRule.uuid attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of AbstractRule.code attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Generated constant - Attribute key of AbstractRule.name attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Generated constant - Attribute key of AbstractRule.description attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • STARTDATE

        public static final java.lang.String STARTDATE
        Generated constant - Attribute key of AbstractRule.startDate attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • ENDDATE

        public static final java.lang.String ENDDATE
        Generated constant - Attribute key of AbstractRule.endDate attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • PRIORITY

        public static final java.lang.String PRIORITY
        Generated constant - Attribute key of AbstractRule.priority attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • MAXALLOWEDRUNS

        public static final java.lang.String MAXALLOWEDRUNS
        Generated constant - Attribute key of AbstractRule.maxAllowedRuns attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • STACKABLE

        public static final java.lang.String STACKABLE
        Generated constant - Attribute key of AbstractRule.stackable attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • STATUS

        public static final java.lang.String STATUS
        Generated constant - Attribute key of AbstractRule.status attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • VERSION

        public static final java.lang.String VERSION
        Generated constant - Attribute key of AbstractRule.version attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • MESSAGEFIRED

        public static final java.lang.String MESSAGEFIRED
        Generated constant - Attribute key of AbstractRule.messageFired attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • DEPLOYMENTS

        public static final java.lang.String DEPLOYMENTS
        Generated constant - Attribute key of AbstractRule.deployments attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • RULESMODULES

        public static final java.lang.String RULESMODULES
        Generated constant - Attribute key of AbstractRule.rulesModules attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • RULEGROUP

        public static final java.lang.String RULEGROUP
        Generated constant - Attribute key of AbstractRule.ruleGroup attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • ENGINERULES

        public static final java.lang.String ENGINERULES
        Generated constant - Attribute key of AbstractRule.engineRules attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • SAPCONDITIONTYPE

        public static final java.lang.String SAPCONDITIONTYPE
        Generated constant - Attribute key of AbstractRule.sapConditionType attribute defined at extension saporderexchange.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractRuleModel

        public AbstractRuleModel()
        Generated constructor - Default constructor for generic creation.
      • AbstractRuleModel

        public AbstractRuleModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • AbstractRuleModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractRuleModel​(java.lang.String _code)
        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 - Constructor with all mandatory attributes.
        Parameters:
        _code - initial attribute declared by type AbstractRule at extension ruleengineservices
      • AbstractRuleModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractRuleModel​(java.lang.String _code,
                                 ItemModel _owner,
                                 java.lang.String _uuid)
        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:
        _code - initial attribute declared by type AbstractRule at extension ruleengineservices
        _owner - initial attribute declared by type Item at extension core
        _uuid - initial attribute declared by type AbstractRule at extension ruleengineservices
    • Method Detail

      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the AbstractRule.code attribute defined at extension ruleengineservices.
        Returns:
        the code - Rule code that defines the rule uniquely, cannot be changed after the rule is created
      • getDeployments

        @Deprecated
        @Accessor(qualifier="deployments",
                  type=GETTER)
        public java.util.List<AbstractRulesModuleModel> getDeployments()
        Deprecated.
        since 18.08
        Generated method - Getter of the AbstractRule.deployments dynamic attribute defined at extension ruleengineservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the deployments - List of the current deployments.
      • getDescription

        @Accessor(qualifier="description",
                  type=GETTER)
        public java.lang.String getDescription()
        Generated method - Getter of the AbstractRule.description attribute defined at extension ruleengineservices.
        Returns:
        the description - Rule description
      • getDescription

        @Accessor(qualifier="description",
                  type=GETTER)
        public java.lang.String getDescription​(java.util.Locale loc)
        Generated method - Getter of the AbstractRule.description attribute defined at extension ruleengineservices.
        Parameters:
        loc - the value localization key
        Returns:
        the description - Rule description
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getEndDate

        @Accessor(qualifier="endDate",
                  type=GETTER)
        public java.util.Date getEndDate()
        Generated method - Getter of the AbstractRule.endDate attribute defined at extension ruleengineservices.
        Returns:
        the endDate - Date on which this promotion stops being available, if not set the promotion will not be available.
      • getEngineRules

        @Accessor(qualifier="engineRules",
                  type=GETTER)
        public java.util.Set<AbstractRuleEngineRuleModel> getEngineRules()
        Generated method - Getter of the AbstractRule.engineRules attribute defined at extension ruleengineservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the engineRules
      • getMaxAllowedRuns

        @Accessor(qualifier="maxAllowedRuns",
                  type=GETTER)
        public java.lang.Integer getMaxAllowedRuns()
        Generated method - Getter of the AbstractRule.maxAllowedRuns attribute defined at extension ruleengineservices.
        Returns:
        the maxAllowedRuns - Number of times rule can be applied
      • getMessageFired

        @Accessor(qualifier="messageFired",
                  type=GETTER)
        public java.lang.String getMessageFired()
        Generated method - Getter of the AbstractRule.messageFired attribute defined at extension ruleengineservices.
        Returns:
        the messageFired - Message for fired rule.
      • getMessageFired

        @Accessor(qualifier="messageFired",
                  type=GETTER)
        public java.lang.String getMessageFired​(java.util.Locale loc)
        Generated method - Getter of the AbstractRule.messageFired attribute defined at extension ruleengineservices.
        Parameters:
        loc - the value localization key
        Returns:
        the messageFired - Message for fired rule.
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName()
        Generated method - Getter of the AbstractRule.name attribute defined at extension ruleengineservices.
        Returns:
        the name - Rule name
      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName​(java.util.Locale loc)
        Generated method - Getter of the AbstractRule.name attribute defined at extension ruleengineservices.
        Parameters:
        loc - the value localization key
        Returns:
        the name - Rule name
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getPriority

        @Accessor(qualifier="priority",
                  type=GETTER)
        public java.lang.Integer getPriority()
        Generated method - Getter of the AbstractRule.priority attribute defined at extension ruleengineservices.
        Returns:
        the priority - priority (higher priority gets applied first)
      • getRuleGroup

        @Accessor(qualifier="ruleGroup",
                  type=GETTER)
        public RuleGroupModel getRuleGroup()
        Generated method - Getter of the AbstractRule.ruleGroup attribute defined at extension ruleengineservices.
        Returns:
        the ruleGroup
      • getRulesModules

        @Accessor(qualifier="rulesModules",
                  type=GETTER)
        public java.util.List<AbstractRulesModuleModel> getRulesModules()
        Generated method - Getter of the AbstractRule.rulesModules attribute defined at extension ruleengineservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the rulesModules - List of the current deployments.
      • getSapConditionType

        @Accessor(qualifier="sapConditionType",
                  type=GETTER)
        public java.lang.String getSapConditionType()
        Generated method - Getter of the AbstractRule.sapConditionType attribute defined at extension saporderexchange.
        Returns:
        the sapConditionType - SAP Condition Type
      • getStackable

        @Deprecated
        @Accessor(qualifier="stackable",
                  type=GETTER)
        public java.lang.Boolean getStackable()
        Deprecated.
        Since 6.7
        Generated method - Getter of the AbstractRule.stackable attribute defined at extension ruleengineservices.
        Returns:
        the stackable - whether the rule is stackable
      • getStartDate

        @Accessor(qualifier="startDate",
                  type=GETTER)
        public java.util.Date getStartDate()
        Generated method - Getter of the AbstractRule.startDate attribute defined at extension ruleengineservices.
        Returns:
        the startDate - Date on which this promotion becomes available, if not set the promotion will not be available.
      • getStatus

        @Accessor(qualifier="status",
                  type=GETTER)
        public RuleStatus getStatus()
        Generated method - Getter of the AbstractRule.status attribute defined at extension ruleengineservices.
        Returns:
        the status - Status of a rule
      • getUuid

        @Accessor(qualifier="uuid",
                  type=GETTER)
        public java.lang.String getUuid()
        Generated method - Getter of the AbstractRule.uuid attribute defined at extension ruleengineservices.
        Returns:
        the uuid - Rule uuid that defines the rule uniquely, cannot be changed after the rule is created
      • getVersion

        @Accessor(qualifier="version",
                  type=GETTER)
        public java.lang.Long getVersion()
        Generated method - Getter of the AbstractRule.version attribute defined at extension ruleengineservices.
        Returns:
        the version - rule version
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Initial setter of AbstractRule.code attribute defined at extension ruleengineservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the code - Rule code that defines the rule uniquely, cannot be changed after the rule is created
      • setDescription

        @Accessor(qualifier="description",
                  type=SETTER)
        public void setDescription​(java.lang.String value)
        Generated method - Setter of AbstractRule.description attribute defined at extension ruleengineservices.
        Parameters:
        value - the description - Rule description
      • setDescription

        @Accessor(qualifier="description",
                  type=SETTER)
        public void setDescription​(java.lang.String value,
                                   java.util.Locale loc)
        Generated method - Setter of AbstractRule.description attribute defined at extension ruleengineservices.
        Parameters:
        value - the description - Rule description
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setEndDate

        @Accessor(qualifier="endDate",
                  type=SETTER)
        public void setEndDate​(java.util.Date value)
        Generated method - Setter of AbstractRule.endDate attribute defined at extension ruleengineservices.
        Parameters:
        value - the endDate - Date on which this promotion stops being available, if not set the promotion will not be available.
      • setEngineRules

        @Accessor(qualifier="engineRules",
                  type=SETTER)
        public void setEngineRules​(java.util.Set<AbstractRuleEngineRuleModel> value)
        Generated method - Setter of AbstractRule.engineRules attribute defined at extension ruleengineservices.
        Parameters:
        value - the engineRules
      • setMaxAllowedRuns

        @Accessor(qualifier="maxAllowedRuns",
                  type=SETTER)
        public void setMaxAllowedRuns​(java.lang.Integer value)
        Generated method - Setter of AbstractRule.maxAllowedRuns attribute defined at extension ruleengineservices.
        Parameters:
        value - the maxAllowedRuns - Number of times rule can be applied
      • setMessageFired

        @Accessor(qualifier="messageFired",
                  type=SETTER)
        public void setMessageFired​(java.lang.String value)
        Generated method - Setter of AbstractRule.messageFired attribute defined at extension ruleengineservices.
        Parameters:
        value - the messageFired - Message for fired rule.
      • setMessageFired

        @Accessor(qualifier="messageFired",
                  type=SETTER)
        public void setMessageFired​(java.lang.String value,
                                    java.util.Locale loc)
        Generated method - Setter of AbstractRule.messageFired attribute defined at extension ruleengineservices.
        Parameters:
        value - the messageFired - Message for fired rule.
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value)
        Generated method - Setter of AbstractRule.name attribute defined at extension ruleengineservices.
        Parameters:
        value - the name - Rule name
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value,
                            java.util.Locale loc)
        Generated method - Setter of AbstractRule.name attribute defined at extension ruleengineservices.
        Parameters:
        value - the name - Rule name
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setPriority

        @Accessor(qualifier="priority",
                  type=SETTER)
        public void setPriority​(java.lang.Integer value)
        Generated method - Setter of AbstractRule.priority attribute defined at extension ruleengineservices.
        Parameters:
        value - the priority - priority (higher priority gets applied first)
      • setRuleGroup

        @Accessor(qualifier="ruleGroup",
                  type=SETTER)
        public void setRuleGroup​(RuleGroupModel value)
        Generated method - Setter of AbstractRule.ruleGroup attribute defined at extension ruleengineservices.
        Parameters:
        value - the ruleGroup
      • setRulesModules

        @Accessor(qualifier="rulesModules",
                  type=SETTER)
        public void setRulesModules​(java.util.List<AbstractRulesModuleModel> value)
        Generated method - Setter of AbstractRule.rulesModules attribute defined at extension ruleengineservices.
        Parameters:
        value - the rulesModules - List of the current deployments.
      • setSapConditionType

        @Accessor(qualifier="sapConditionType",
                  type=SETTER)
        public void setSapConditionType​(java.lang.String value)
        Generated method - Setter of AbstractRule.sapConditionType attribute defined at extension saporderexchange.
        Parameters:
        value - the sapConditionType - SAP Condition Type
      • setStackable

        @Deprecated
        @Accessor(qualifier="stackable",
                  type=SETTER)
        public void setStackable​(java.lang.Boolean value)
        Deprecated.
        Since 6.7
        Generated method - Setter of AbstractRule.stackable attribute defined at extension ruleengineservices.
        Parameters:
        value - the stackable - whether the rule is stackable
      • setStartDate

        @Accessor(qualifier="startDate",
                  type=SETTER)
        public void setStartDate​(java.util.Date value)
        Generated method - Setter of AbstractRule.startDate attribute defined at extension ruleengineservices.
        Parameters:
        value - the startDate - Date on which this promotion becomes available, if not set the promotion will not be available.
      • setStatus

        @Accessor(qualifier="status",
                  type=SETTER)
        public void setStatus​(RuleStatus value)
        Generated method - Setter of AbstractRule.status attribute defined at extension ruleengineservices.
        Parameters:
        value - the status - Status of a rule
      • setUuid

        @Accessor(qualifier="uuid",
                  type=SETTER)
        public void setUuid​(java.lang.String value)
        Generated method - Initial setter of AbstractRule.uuid attribute defined at extension ruleengineservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the uuid - Rule uuid that defines the rule uniquely, cannot be changed after the rule is created
      • setVersion

        @Accessor(qualifier="version",
                  type=SETTER)
        public void setVersion​(java.lang.Long value)
        Generated method - Setter of AbstractRule.version attribute defined at extension ruleengineservices.
        Parameters:
        value - the version - rule version