Class RuleGroupModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.ruleengineservices.model.RuleGroupModel
- All Implemented Interfaces:
Serializable
Generated model class for type RuleGroup first defined at extension ruleengineservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofRuleGroup.codeattribute defined at extensionruleengineservices.static final StringGenerated constant - Attribute key ofRuleGroup.descriptionattribute defined at extensionruleengineservices.static final StringGenerated constant - Attribute key ofRuleGroup.exclusiveattribute defined at extensionruleengineservices.static final StringGenerated constant - Attribute key ofRuleGroup.rulesattribute defined at extensionruleengineservices.static final StringGenerated constant - Attribute key ofRuleGroup.ruleTemplatesattribute defined at extensionruleengineservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextRuleGroupModel(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 parametersRuleGroupModel(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 -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of theRuleGroup.codeattribute defined at extensionruleengineservices.Generated method - Getter of theRuleGroup.descriptionattribute defined at extensionruleengineservices.getDescription(Locale loc) Generated method - Getter of theRuleGroup.descriptionattribute defined at extensionruleengineservices.getRules()Generated method - Getter of theRuleGroup.rulesattribute defined at extensionruleengineservices.Generated method - Getter of theRuleGroup.ruleTemplatesattribute defined at extensionruleengineservices.booleanGenerated method - Getter of theRuleGroup.exclusiveattribute defined at extensionruleengineservices.voidGenerated method - Setter ofRuleGroup.codeattribute defined at extensionruleengineservices.voidsetDescription(String value) Generated method - Setter ofRuleGroup.descriptionattribute defined at extensionruleengineservices.voidsetDescription(String value, Locale loc) Generated method - Setter ofRuleGroup.descriptionattribute defined at extensionruleengineservices.voidsetExclusive(boolean value) Generated method - Setter ofRuleGroup.exclusiveattribute defined at extensionruleengineservices.voidsetRules(Set<AbstractRuleModel> value) Generated method - Setter ofRuleGroup.rulesattribute defined at extensionruleengineservices.voidGenerated method - Setter ofRuleGroup.ruleTemplatesattribute defined at extensionruleengineservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
CODE
Generated constant - Attribute key ofRuleGroup.codeattribute defined at extensionruleengineservices.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofRuleGroup.descriptionattribute defined at extensionruleengineservices.- See Also:
-
EXCLUSIVE
Generated constant - Attribute key ofRuleGroup.exclusiveattribute defined at extensionruleengineservices.- See Also:
-
RULES
Generated constant - Attribute key ofRuleGroup.rulesattribute defined at extensionruleengineservices.- See Also:
-
RULETEMPLATES
Generated constant - Attribute key ofRuleGroup.ruleTemplatesattribute defined at extensionruleengineservices.- See Also:
-
-
Constructor Details
-
RuleGroupModel
public RuleGroupModel()Generated constructor - Default constructor for generic creation. -
RuleGroupModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
RuleGroupModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeRuleGroupat extensionruleengineservices
-
RuleGroupModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeRuleGroupat extensionruleengineservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theRuleGroup.codeattribute defined at extensionruleengineservices.- Returns:
- the code - the code of the rule group.
-
getDescription
Generated method - Getter of theRuleGroup.descriptionattribute defined at extensionruleengineservices.- Returns:
- the description - the description of this rule group.
-
getDescription
Generated method - Getter of theRuleGroup.descriptionattribute defined at extensionruleengineservices.- Parameters:
loc- the value localization key- Returns:
- the description - the description of this rule group.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getRules
Generated method - Getter of theRuleGroup.rulesattribute defined at extensionruleengineservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the rules
-
getRuleTemplates
@Accessor(qualifier="ruleTemplates", type=GETTER) public Set<AbstractRuleTemplateModel> getRuleTemplates()Generated method - Getter of theRuleGroup.ruleTemplatesattribute defined at extensionruleengineservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the ruleTemplates
-
isExclusive
Generated method - Getter of theRuleGroup.exclusiveattribute defined at extensionruleengineservices.- Returns:
- the exclusive - if set to true at most one rule of this group is executed (but potentially multiple times)
-
setCode
Generated method - Setter ofRuleGroup.codeattribute defined at extensionruleengineservices.- Parameters:
value- the code - the code of the rule group.
-
setDescription
Generated method - Setter ofRuleGroup.descriptionattribute defined at extensionruleengineservices.- Parameters:
value- the description - the description of this rule group.
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofRuleGroup.descriptionattribute defined at extensionruleengineservices.- Parameters:
value- the description - the description of this rule group.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setExclusive
Generated method - Setter ofRuleGroup.exclusiveattribute defined at extensionruleengineservices.- Parameters:
value- the exclusive - if set to true at most one rule of this group is executed (but potentially multiple times)
-
setRules
Generated method - Setter ofRuleGroup.rulesattribute defined at extensionruleengineservices.- Parameters:
value- the rules
-
setRuleTemplates
@Accessor(qualifier="ruleTemplates", type=SETTER) public void setRuleTemplates(Set<AbstractRuleTemplateModel> value) Generated method - Setter ofRuleGroup.ruleTemplatesattribute defined at extensionruleengineservices.- Parameters:
value- the ruleTemplates
-