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:
java.io.Serializable
- Direct Known Subclasses:
ProductConfigSourceRuleModel,PromotionSourceRuleModel
public class SourceRuleModel extends AbstractRuleModel
Generated model class for type SourceRule first defined at extension ruleengineservices.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_CAMPAIGN2SOURCERULERELATIONGenerated relation code constant for relationCampaign2SourceRuleRelationdefining source attributecampaignsin extensionruleengineservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringACTIONSGenerated constant - Attribute key ofSourceRule.actionsattribute defined at extensionruleengineservices.static java.lang.StringCAMPAIGNSGenerated constant - Attribute key ofSourceRule.campaignsattribute defined at extensionruleengineservices.static java.lang.StringCONDITIONSGenerated constant - Attribute key ofSourceRule.conditionsattribute defined at extensionruleengineservices.-
Fields inherited from class de.hybris.platform.ruleengineservices.model.AbstractRuleModel
_RULEGROUP2ABSTRACTRULE, CODE, DEPLOYMENTS, DESCRIPTION, ENDDATE, ENGINERULES, MAXALLOWEDRUNS, MESSAGEFIRED, NAME, PRIORITY, RULEGROUP, RULESMODULES, SAPCONDITIONTYPE, STACKABLE, STARTDATE, STATUS, UUID, VERSION
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description SourceRuleModel()Generated constructor - Default constructor for generic creation.SourceRuleModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextSourceRuleModel(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 parametersSourceRuleModel(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetActions()Generated method - Getter of theSourceRule.actionsattribute defined at extensionruleengineservices.java.util.Set<CampaignModel>getCampaigns()Generated method - Getter of theSourceRule.campaignsattribute defined at extensionruleengineservices.java.lang.StringgetConditions()Generated method - Getter of theSourceRule.conditionsattribute defined at extensionruleengineservices.voidsetActions(java.lang.String value)Generated method - Setter ofSourceRule.actionsattribute defined at extensionruleengineservices.voidsetCampaigns(java.util.Set<CampaignModel> value)Generated method - Setter ofSourceRule.campaignsattribute defined at extensionruleengineservices.voidsetConditions(java.lang.String value)Generated method - Setter ofSourceRule.conditionsattribute defined at extensionruleengineservices.-
Methods inherited from class de.hybris.platform.ruleengineservices.model.AbstractRuleModel
getCode, getDeployments, getDescription, getDescription, getEndDate, getEngineRules, getMaxAllowedRuns, getMessageFired, getMessageFired, getName, getName, getPriority, getRuleGroup, getRulesModules, getSapConditionType, getStackable, getStartDate, getStatus, getUuid, getVersion, setCode, setDescription, setDescription, setEndDate, setEngineRules, setMaxAllowedRuns, setMessageFired, setMessageFired, setName, setName, setPriority, setRuleGroup, setRulesModules, setSapConditionType, setStackable, setStartDate, setStatus, setUuid, setVersion
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 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 relationCampaign2SourceRuleRelationdefining source attributecampaignsin extensionruleengineservices.- See Also:
- Constant Field Values
-
CONDITIONS
public static final java.lang.String CONDITIONS
Generated constant - Attribute key ofSourceRule.conditionsattribute defined at extensionruleengineservices.- See Also:
- Constant Field Values
-
ACTIONS
public static final java.lang.String ACTIONS
Generated constant - Attribute key ofSourceRule.actionsattribute defined at extensionruleengineservices.- See Also:
- Constant Field Values
-
CAMPAIGNS
public static final java.lang.String CAMPAIGNS
Generated constant - Attribute key ofSourceRule.campaignsattribute defined at extensionruleengineservices.- 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 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(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 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 Detail
-
getActions
@Accessor(qualifier="actions", type=GETTER) public java.lang.String getActions()
Generated method - Getter of theSourceRule.actionsattribute defined at extensionruleengineservices.- 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 theSourceRule.campaignsattribute defined at extensionruleengineservices. 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 theSourceRule.conditionsattribute defined at extensionruleengineservices.- 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 ofSourceRule.actionsattribute defined at extensionruleengineservices.- 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 ofSourceRule.campaignsattribute defined at extensionruleengineservices.- Parameters:
value- the campaigns
-
-