Class SourceRuleModel

    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String _CAMPAIGN2SOURCERULERELATION
        Generated relation code constant for relation Campaign2SourceRuleRelation defining source attribute campaigns in extension ruleengineservices.
        See Also:
        Constant Field Values
      • CONDITIONS

        public static final java.lang.String CONDITIONS
        Generated constant - Attribute key of SourceRule.conditions attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • ACTIONS

        public static final java.lang.String ACTIONS
        Generated constant - Attribute key of SourceRule.actions attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
      • CAMPAIGNS

        public static final java.lang.String CAMPAIGNS
        Generated constant - Attribute key of SourceRule.campaigns attribute defined at extension ruleengineservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SourceRuleModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SourceRuleModel​(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
      • SourceRuleModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SourceRuleModel​(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

      • getActions

        @Accessor(qualifier="actions",
                  type=GETTER)
        public java.lang.String getActions()
        Generated method - Getter of the SourceRule.actions attribute defined at extension ruleengineservices.
        Returns:
        the actions - Rule consequences stored in a formatted String
      • getCampaigns

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

        @Accessor(qualifier="conditions",
                  type=GETTER)
        public java.lang.String getConditions()
        Generated method - Getter of the SourceRule.conditions attribute defined at extension ruleengineservices.
        Returns:
        the conditions - Rule conditions stored in a formatted String
      • setActions

        @Accessor(qualifier="actions",
                  type=SETTER)
        public void setActions​(java.lang.String value)
        Generated method - Setter of SourceRule.actions attribute defined at extension ruleengineservices.
        Parameters:
        value - the actions - Rule consequences stored in a formatted String
      • setCampaigns

        @Accessor(qualifier="campaigns",
                  type=SETTER)
        public void setCampaigns​(java.util.Set<CampaignModel> value)
        Generated method - Setter of SourceRule.campaigns attribute defined at extension ruleengineservices.
        Parameters:
        value - the campaigns
      • setConditions

        @Accessor(qualifier="conditions",
                  type=SETTER)
        public void setConditions​(java.lang.String value)
        Generated method - Setter of SourceRule.conditions attribute defined at extension ruleengineservices.
        Parameters:
        value - the conditions - Rule conditions stored in a formatted String