Class SourceRuleModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.ruleengineservices.model.AbstractRuleModel
de.hybris.platform.ruleengineservices.model.SourceRuleModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProductConfigSourceRuleModel,PromotionSourceRuleModel
Generated model class for type SourceRule 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 relation code constant for relationCampaign2SourceRuleRelationdefining source attributecampaignsin extensionruleengineservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSourceRule.actionsattribute defined at extensionruleengineservices.static final StringGenerated constant - Attribute key ofSourceRule.campaignsattribute defined at extensionruleengineservices.static final StringGenerated constant - Attribute key ofSourceRule.conditionsattribute defined at extensionruleengineservices.Fields inherited from class de.hybris.platform.ruleengineservices.model.AbstractRuleModel
_RULEGROUP2ABSTRACTRULE, CODE, DESCRIPTION, ENDDATE, ENGINERULES, MAXALLOWEDRUNS, MESSAGEFIRED, NAME, PRIORITY, RULEGROUP, RULESMODULES, STACKABLE, STARTDATE, STATUS, UUID, VERSIONFields 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 contextSourceRuleModel(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 parametersSourceRuleModel(String _code, ItemModel _owner, 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
Modifier and TypeMethodDescriptionGenerated method - Getter of theSourceRule.actionsattribute defined at extensionruleengineservices.Generated method - Getter of theSourceRule.campaignsattribute defined at extensionruleengineservices.Generated method - Getter of theSourceRule.conditionsattribute defined at extensionruleengineservices.voidsetActions(String value) Generated method - Setter ofSourceRule.actionsattribute defined at extensionruleengineservices.voidsetCampaigns(Set<CampaignModel> value) Generated method - Setter ofSourceRule.campaignsattribute defined at extensionruleengineservices.voidsetConditions(String value) Generated method - Setter ofSourceRule.conditionsattribute defined at extensionruleengineservices.Methods inherited from class de.hybris.platform.ruleengineservices.model.AbstractRuleModel
getCode, getDescription, getDescription, getEndDate, getEngineRules, getMaxAllowedRuns, getMessageFired, getMessageFired, getName, getName, getPriority, getRuleGroup, getRulesModules, getStackable, getStartDate, getStatus, getUuid, getVersion, setCode, setDescription, setDescription, setEndDate, setEngineRules, setMaxAllowedRuns, setMessageFired, setMessageFired, setName, setName, setPriority, setRuleGroup, setRulesModules, setStackable, setStartDate, setStatus, setUuid, setVersionMethods 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:
-
_CAMPAIGN2SOURCERULERELATION
Generated relation code constant for relationCampaign2SourceRuleRelationdefining source attributecampaignsin extensionruleengineservices.- See Also:
-
CONDITIONS
Generated constant - Attribute key ofSourceRule.conditionsattribute defined at extensionruleengineservices.- See Also:
-
ACTIONS
Generated constant - Attribute key ofSourceRule.actionsattribute defined at extensionruleengineservices.- See Also:
-
CAMPAIGNS
Generated constant - Attribute key ofSourceRule.campaignsattribute defined at extensionruleengineservices.- See Also:
-
-
Constructor Details
-
SourceRuleModel
public SourceRuleModel()Generated constructor - Default constructor for generic creation. -
SourceRuleModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SourceRuleModel
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 typeAbstractRuleat extensionruleengineservices
-
SourceRuleModel
@Deprecated(since="4.1.1", forRemoval=true) public SourceRuleModel(String _code, ItemModel _owner, 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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeAbstractRuleat extensionruleengineservices_owner- initial attribute declared by typeItemat extensioncore_uuid- initial attribute declared by typeAbstractRuleat extensionruleengineservices
-
-
Method Details
-
getActions
Generated method - Getter of theSourceRule.actionsattribute defined at extensionruleengineservices.- Returns:
- the actions - Rule consequences stored in a formatted String
-
getCampaigns
Generated method - Getter of theSourceRule.campaignsattribute defined at extensionruleengineservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the campaigns
-
getConditions
Generated method - Getter of theSourceRule.conditionsattribute defined at extensionruleengineservices.- Returns:
- the conditions - Rule conditions stored in a formatted String
-
setActions
Generated method - Setter ofSourceRule.actionsattribute defined at extensionruleengineservices.- Parameters:
value- the actions - Rule consequences stored in a formatted String
-
setCampaigns
Generated method - Setter ofSourceRule.campaignsattribute defined at extensionruleengineservices.- Parameters:
value- the campaigns
-
setConditions
Generated method - Setter ofSourceRule.conditionsattribute defined at extensionruleengineservices.- Parameters:
value- the conditions - Rule conditions stored in a formatted String
-