Class AbstractRuleTemplateModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SourceRuleTemplateModel

public class AbstractRuleTemplateModel extends ItemModel
Generated model class for type AbstractRuleTemplate first defined at extension ruleengineservices.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _RULEGROUP2ABSTRACTRULETEMPLATE
      Generated relation code constant for relation RuleGroup2AbstractRuleTemplate defining source attribute ruleGroup in extension ruleengineservices.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of AbstractRuleTemplate.code attribute defined at extension ruleengineservices.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of AbstractRuleTemplate.name attribute defined at extension ruleengineservices.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of AbstractRuleTemplate.description attribute defined at extension ruleengineservices.
      See Also:
    • MAXALLOWEDRUNS

      public static final String MAXALLOWEDRUNS
      Generated constant - Attribute key of AbstractRuleTemplate.maxAllowedRuns attribute defined at extension ruleengineservices.
      See Also:
    • MESSAGEFIRED

      public static final String MESSAGEFIRED
      Generated constant - Attribute key of AbstractRuleTemplate.messageFired attribute defined at extension ruleengineservices.
      See Also:
    • RULEGROUP

      public static final String RULEGROUP
      Generated constant - Attribute key of AbstractRuleTemplate.ruleGroup attribute defined at extension ruleengineservices.
      See Also:
  • Constructor Details

    • AbstractRuleTemplateModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public AbstractRuleTemplateModel(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 AbstractRuleTemplate at extension ruleengineservices
    • AbstractRuleTemplateModel

      @Deprecated(since="4.1.1", forRemoval=true) public AbstractRuleTemplateModel(String _code, 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:
      _code - initial attribute declared by type AbstractRuleTemplate at extension ruleengineservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the AbstractRuleTemplate.code attribute defined at extension ruleengineservices.
      Returns:
      the code - Rule code that defines the rule uniquely
    • getDescription

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

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

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

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

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

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

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

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

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of AbstractRuleTemplate.code attribute defined at extension ruleengineservices.
      Parameters:
      value - the code - Rule code that defines the rule uniquely
    • setDescription

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

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

      @Accessor(qualifier="maxAllowedRuns", type=SETTER) public void setMaxAllowedRuns(Integer value)
      Generated method - Setter of AbstractRuleTemplate.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(String value)
      Generated method - Setter of AbstractRuleTemplate.messageFired attribute defined at extension ruleengineservices.
      Parameters:
      value - the messageFired - Message for fired rule.
    • setMessageFired

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

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

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

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