Class DroolsRuleModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class DroolsRuleModel extends AbstractRuleEngineRuleModel
Generated model class for type DroolsRule first defined at extension ruleengine.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _DROOLSKIEBASE2RULE
      Generated relation code constant for relation DroolsKIEBase2Rule defining source attribute kieBase in extension ruleengine.
      See Also:
    • RULEPACKAGE

      public static final String RULEPACKAGE
      Generated constant - Attribute key of DroolsRule.rulePackage attribute defined at extension ruleengine.
      See Also:
    • GLOBALS

      public static final String GLOBALS
      Generated constant - Attribute key of DroolsRule.globals attribute defined at extension ruleengine.
      See Also:
    • KIEBASE

      public static final String KIEBASE
      Generated constant - Attribute key of DroolsRule.kieBase attribute defined at extension ruleengine.
      See Also:
  • Constructor Details

    • DroolsRuleModel

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

      public DroolsRuleModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • DroolsRuleModel

      @Deprecated(since="4.1.1", forRemoval=true) public DroolsRuleModel(String _code, RuleType _ruleType, String _uuid, Long _version)
      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 AbstractRuleEngineRule at extension ruleengine
      _ruleType - initial attribute declared by type AbstractRuleEngineRule at extension ruleengine
      _uuid - initial attribute declared by type AbstractRuleEngineRule at extension ruleengine
      _version - initial attribute declared by type AbstractRuleEngineRule at extension ruleengine
    • DroolsRuleModel

      @Deprecated(since="4.1.1", forRemoval=true) public DroolsRuleModel(String _code, ItemModel _owner, RuleType _ruleType, String _uuid, Long _version)
      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 AbstractRuleEngineRule at extension ruleengine
      _owner - initial attribute declared by type Item at extension core
      _ruleType - initial attribute declared by type AbstractRuleEngineRule at extension ruleengine
      _uuid - initial attribute declared by type AbstractRuleEngineRule at extension ruleengine
      _version - initial attribute declared by type AbstractRuleEngineRule at extension ruleengine
  • Method Details

    • getGlobals

      @Accessor(qualifier="globals", type=GETTER) public Map<String,String> getGlobals()
      Generated method - Getter of the DroolsRule.globals attribute defined at extension ruleengine.
      Returns:
      the globals - Contains a map of all globals and their respective spring bean id as needed by this rule. The key is the name under which the global will be registered, the value is id/alias of the spring bean to use as a global.
    • getKieBase

      @Accessor(qualifier="kieBase", type=GETTER) public DroolsKIEBaseModel getKieBase()
      Generated method - Getter of the DroolsRule.kieBase attribute defined at extension ruleengine.
      Returns:
      the kieBase
    • getRulePackage

      @Accessor(qualifier="rulePackage", type=GETTER) public String getRulePackage()
      Generated method - Getter of the DroolsRule.rulePackage attribute defined at extension ruleengine.
      Returns:
      the rulePackage - The package name of the rule as defined in the drl file content.
    • setGlobals

      @Accessor(qualifier="globals", type=SETTER) public void setGlobals(Map<String,String> value)
      Generated method - Setter of DroolsRule.globals attribute defined at extension ruleengine.
      Parameters:
      value - the globals - Contains a map of all globals and their respective spring bean id as needed by this rule. The key is the name under which the global will be registered, the value is id/alias of the spring bean to use as a global.
    • setKieBase

      @Accessor(qualifier="kieBase", type=SETTER) public void setKieBase(DroolsKIEBaseModel value)
      Generated method - Setter of DroolsRule.kieBase attribute defined at extension ruleengine.
      Parameters:
      value - the kieBase
    • setRulePackage

      @Accessor(qualifier="rulePackage", type=SETTER) public void setRulePackage(String value)
      Generated method - Setter of DroolsRule.rulePackage attribute defined at extension ruleengine.
      Parameters:
      value - the rulePackage - The package name of the rule as defined in the drl file content.