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:
java.io.Serializable
- Direct Known Subclasses:
PromotionSourceRuleTemplateModel
public class SourceRuleTemplateModel extends AbstractRuleTemplateModel
Generated model class for type SourceRuleTemplate 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_TYPECODEGenerated model type code constant.static java.lang.StringACTIONSGenerated constant - Attribute key ofSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.static java.lang.StringCONDITIONSGenerated constant - Attribute key ofSourceRuleTemplate.conditionsattribute defined at extensionruleengineservices.-
Fields inherited from class de.hybris.platform.ruleengineservices.model.AbstractRuleTemplateModel
_RULEGROUP2ABSTRACTRULETEMPLATE, CODE, DESCRIPTION, MAXALLOWEDRUNS, MESSAGEFIRED, NAME, RULEGROUP
-
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 SourceRuleTemplateModel()Generated constructor - Default constructor for generic creation.SourceRuleTemplateModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextSourceRuleTemplateModel(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 parametersSourceRuleTemplateModel(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetActions()Generated method - Getter of theSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.java.lang.StringgetConditions()Generated method - Getter of theSourceRuleTemplate.conditionsattribute defined at extensionruleengineservices.voidsetActions(java.lang.String value)Generated method - Setter ofSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.voidsetConditions(java.lang.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, setRuleGroup
-
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
-
CONDITIONS
public static final java.lang.String CONDITIONS
Generated constant - Attribute key ofSourceRuleTemplate.conditionsattribute defined at extensionruleengineservices.- See Also:
- Constant Field Values
-
ACTIONS
public static final java.lang.String ACTIONS
Generated constant - Attribute key ofSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SourceRuleTemplateModel
public SourceRuleTemplateModel()
Generated constructor - Default constructor for generic creation.
-
SourceRuleTemplateModel
public SourceRuleTemplateModel(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(since="4.1.1", forRemoval=true) public SourceRuleTemplateModel(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 typeAbstractRuleTemplateat extensionruleengineservices
-
SourceRuleTemplateModel
@Deprecated(since="4.1.1", forRemoval=true) public SourceRuleTemplateModel(java.lang.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 Detail
-
getActions
@Accessor(qualifier="actions", type=GETTER) public java.lang.String getActions()
Generated method - Getter of theSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.- Returns:
- the actions - Rule consequences stored in a formatted String
-
getConditions
@Accessor(qualifier="conditions", type=GETTER) public java.lang.String getConditions()
Generated method - Getter of theSourceRuleTemplate.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 ofSourceRuleTemplate.actionsattribute defined at extensionruleengineservices.- Parameters:
value- the actions - Rule consequences stored in a formatted String
-
setConditions
@Accessor(qualifier="conditions", type=SETTER) public void setConditions(java.lang.String value)
Generated method - Setter ofSourceRuleTemplate.conditionsattribute defined at extensionruleengineservices.- Parameters:
value- the conditions - Rule conditions stored in a formatted String
-
-