Class SourceRuleTemplateModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.ruleengineservices.model.AbstractRuleTemplateModel
de.hybris.platform.ruleengineservices.model.SourceRuleTemplateModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PromotionSourceRuleTemplateModel
Generated model class for type SourceRuleTemplate first defined at extension ruleengineservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.static final StringGenerated constant - Attribute key ofSourceRuleTemplate.conditionsattribute defined at extensionruleengineservices.Fields inherited from class de.hybris.platform.ruleengineservices.model.AbstractRuleTemplateModel
_RULEGROUP2ABSTRACTRULETEMPLATE, CODE, DESCRIPTION, MAXALLOWEDRUNS, MESSAGEFIRED, NAME, RULEGROUPFields 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.SourceRuleTemplateModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextSourceRuleTemplateModel(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 parametersSourceRuleTemplateModel(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 TypeMethodDescriptionGenerated method - Getter of theSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.Generated method - Getter of theSourceRuleTemplate.conditionsattribute defined at extensionruleengineservices.voidsetActions(String value) Generated method - Setter ofSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.voidsetConditions(String value) Generated method - Setter ofSourceRuleTemplate.conditionsattribute defined at extensionruleengineservices.Methods inherited from class de.hybris.platform.ruleengineservices.model.AbstractRuleTemplateModel
getCode, getDescription, getDescription, getMaxAllowedRuns, getMessageFired, getMessageFired, getName, getName, getRuleGroup, setCode, setDescription, setDescription, setMaxAllowedRuns, setMessageFired, setMessageFired, setName, setName, setRuleGroupMethods 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:
-
CONDITIONS
Generated constant - Attribute key ofSourceRuleTemplate.conditionsattribute defined at extensionruleengineservices.- See Also:
-
ACTIONS
Generated constant - Attribute key ofSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.- See Also:
-
-
Constructor Details
-
SourceRuleTemplateModel
public SourceRuleTemplateModel()Generated constructor - Default constructor for generic creation. -
SourceRuleTemplateModel
public SourceRuleTemplateModel(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
-
SourceRuleTemplateModel
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 typeAbstractRuleTemplateat extensionruleengineservices
-
SourceRuleTemplateModel
@Deprecated(since="4.1.1", forRemoval=true) public SourceRuleTemplateModel(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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeAbstractRuleTemplateat extensionruleengineservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getActions
Generated method - Getter of theSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.- Returns:
- the actions - Rule consequences stored in a formatted String
-
getConditions
Generated method - Getter of theSourceRuleTemplate.conditionsattribute defined at extensionruleengineservices.- Returns:
- the conditions - Rule conditions stored in a formatted String
-
setActions
Generated method - Setter ofSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.- Parameters:
value- the actions - Rule consequences stored in a formatted String
-
setConditions
Generated method - Setter ofSourceRuleTemplate.conditionsattribute defined at extensionruleengineservices.- Parameters:
value- the conditions - Rule conditions stored in a formatted String
-