Class PromotionGroupModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.promotions.model.PromotionGroupModel
- All Implemented Interfaces:
Serializable
Generated model class for type PromotionGroup first defined at extension promotions.
- 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 ofPromotionGroup.Identifierattribute defined at extensionpromotions.static final StringGenerated constant - Attribute key ofPromotionGroup.Promotionsattribute defined at extensionpromotions.static final StringGenerated constant - Attribute key ofPromotionGroup.promotionSourceRulesattribute defined at extensionpromotionengineservices.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.PromotionGroupModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextPromotionGroupModel(String _Identifier) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPromotionGroupModel(String _Identifier, 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 thePromotionGroup.Identifierattribute defined at extensionpromotions.Generated method - Getter of thePromotionGroup.Promotionsattribute defined at extensionpromotions.Generated method - Getter of thePromotionGroup.promotionSourceRulesattribute defined at extensionpromotionengineservices.voidsetIdentifier(String value) Generated method - Setter ofPromotionGroup.Identifierattribute defined at extensionpromotions.voidGenerated method - Setter ofPromotionGroup.Promotionsattribute defined at extensionpromotions.voidGenerated method - Setter ofPromotionGroup.promotionSourceRulesattribute defined at extensionpromotionengineservices.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:
-
IDENTIFIER
Generated constant - Attribute key ofPromotionGroup.Identifierattribute defined at extensionpromotions.- See Also:
-
PROMOTIONS
Generated constant - Attribute key ofPromotionGroup.Promotionsattribute defined at extensionpromotions.- See Also:
-
PROMOTIONSOURCERULES
Generated constant - Attribute key ofPromotionGroup.promotionSourceRulesattribute defined at extensionpromotionengineservices.- See Also:
-
-
Constructor Details
-
PromotionGroupModel
public PromotionGroupModel()Generated constructor - Default constructor for generic creation. -
PromotionGroupModel
public PromotionGroupModel(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
-
PromotionGroupModel
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:
_Identifier- initial attribute declared by typePromotionGroupat extensionpromotions
-
PromotionGroupModel
@Deprecated(since="4.1.1", forRemoval=true) public PromotionGroupModel(String _Identifier, 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:
_Identifier- initial attribute declared by typePromotionGroupat extensionpromotions_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getIdentifier
Generated method - Getter of thePromotionGroup.Identifierattribute defined at extensionpromotions.- Returns:
- the Identifier
-
getPromotions
@Accessor(qualifier="Promotions", type=GETTER) public Collection<AbstractPromotionModel> getPromotions()Generated method - Getter of thePromotionGroup.Promotionsattribute defined at extensionpromotions. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the Promotions
-
getPromotionSourceRules
@Accessor(qualifier="promotionSourceRules", type=GETTER) public Collection<PromotionSourceRuleModel> getPromotionSourceRules()Generated method - Getter of thePromotionGroup.promotionSourceRulesattribute defined at extensionpromotionengineservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the promotionSourceRules
-
setIdentifier
Generated method - Setter ofPromotionGroup.Identifierattribute defined at extensionpromotions.- Parameters:
value- the Identifier
-
setPromotions
@Accessor(qualifier="Promotions", type=SETTER) public void setPromotions(Collection<AbstractPromotionModel> value) Generated method - Setter ofPromotionGroup.Promotionsattribute defined at extensionpromotions.- Parameters:
value- the Promotions
-
setPromotionSourceRules
@Accessor(qualifier="promotionSourceRules", type=SETTER) public void setPromotionSourceRules(Collection<PromotionSourceRuleModel> value) Generated method - Setter ofPromotionGroup.promotionSourceRulesattribute defined at extensionpromotionengineservices.- Parameters:
value- the promotionSourceRules
-