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

public class PromotionGroupModel extends ItemModel
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of PromotionGroup.Identifier attribute defined at extension promotions.
    static final String
    Generated constant - Attribute key of PromotionGroup.Promotions attribute defined at extension promotions.
    static final String
    Generated constant - Attribute key of PromotionGroup.promotionSourceRules attribute defined at extension promotionengineservices.

    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
    Generated constructor - Default constructor for generic creation.
    PromotionGroupModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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 parameters
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the PromotionGroup.Identifier attribute defined at extension promotions.
    Generated method - Getter of the PromotionGroup.Promotions attribute defined at extension promotions.
    Generated method - Getter of the PromotionGroup.promotionSourceRules attribute defined at extension promotionengineservices.
    void
    Generated method - Setter of PromotionGroup.Identifier attribute defined at extension promotions.
    void
    Generated method - Setter of PromotionGroup.Promotions attribute defined at extension promotions.
    void
    Generated method - Setter of PromotionGroup.promotionSourceRules attribute defined at extension promotionengineservices.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • IDENTIFIER

      public static final String IDENTIFIER
      Generated constant - Attribute key of PromotionGroup.Identifier attribute defined at extension promotions.
      See Also:
    • PROMOTIONS

      public static final String PROMOTIONS
      Generated constant - Attribute key of PromotionGroup.Promotions attribute defined at extension promotions.
      See Also:
    • PROMOTIONSOURCERULES

      public static final String PROMOTIONSOURCERULES
      Generated constant - Attribute key of PromotionGroup.promotionSourceRules attribute defined at extension promotionengineservices.
      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(since="4.1.1", forRemoval=true) public PromotionGroupModel(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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _Identifier - initial attribute declared by type PromotionGroup at extension promotions
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _Identifier - initial attribute declared by type PromotionGroup at extension promotions
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getIdentifier

      @Accessor(qualifier="Identifier", type=GETTER) public String getIdentifier()
      Generated method - Getter of the PromotionGroup.Identifier attribute defined at extension promotions.
      Returns:
      the Identifier
    • getPromotions

      @Accessor(qualifier="Promotions", type=GETTER) public Collection<AbstractPromotionModel> getPromotions()
      Generated method - Getter of the PromotionGroup.Promotions attribute defined at extension promotions. 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 the PromotionGroup.promotionSourceRules attribute defined at extension promotionengineservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the promotionSourceRules
    • setIdentifier

      @Accessor(qualifier="Identifier", type=SETTER) public void setIdentifier(String value)
      Generated method - Setter of PromotionGroup.Identifier attribute defined at extension promotions.
      Parameters:
      value - the Identifier
    • setPromotions

      @Accessor(qualifier="Promotions", type=SETTER) public void setPromotions(Collection<AbstractPromotionModel> value)
      Generated method - Setter of PromotionGroup.Promotions attribute defined at extension promotions.
      Parameters:
      value - the Promotions
    • setPromotionSourceRules

      @Accessor(qualifier="promotionSourceRules", type=SETTER) public void setPromotionSourceRules(Collection<PromotionSourceRuleModel> value)
      Generated method - Setter of PromotionGroup.promotionSourceRules attribute defined at extension promotionengineservices.
      Parameters:
      value - the promotionSourceRules