Class AbstractBundleRuleModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.configurablebundleservices.model.AbstractBundleRuleModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ChangeProductPriceBundleRuleModel, DisableProductBundleRuleModel

public class AbstractBundleRuleModel extends ItemModel
Generated model class for type AbstractBundleRule first defined at extension configurablebundleservices.
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 AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of AbstractBundleRule.id attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of AbstractBundleRule.name attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices.

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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices.
    Generated method - Getter of the AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices.
    Generated method - Getter of the AbstractBundleRule.id attribute defined at extension configurablebundleservices.
    Generated method - Getter of the AbstractBundleRule.name attribute defined at extension configurablebundleservices.
    Generated method - Getter of the AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.
    Generated method - Getter of the AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices.
    void
    Generated method - Initial setter of AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices.
    void
    setId(String value)
    Generated method - Initial setter of AbstractBundleRule.id attribute defined at extension configurablebundleservices.
    void
    setName(String value)
    Generated method - Setter of AbstractBundleRule.name attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices.

    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:
    • ID

      public static final String ID
      Generated constant - Attribute key of AbstractBundleRule.id attribute defined at extension configurablebundleservices.
      See Also:
    • CATALOGVERSION

      public static final String CATALOGVERSION
      Generated constant - Attribute key of AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of AbstractBundleRule.name attribute defined at extension configurablebundleservices.
      See Also:
    • RULETYPE

      public static final String RULETYPE
      Generated constant - Attribute key of AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.
      See Also:
    • CONDITIONALPRODUCTS

      public static final String CONDITIONALPRODUCTS
      Generated constant - Attribute key of AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices.
      See Also:
    • TARGETPRODUCTS

      public static final String TARGETPRODUCTS
      Generated constant - Attribute key of AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices.
      See Also:
  • Constructor Details

    • AbstractBundleRuleModel

      public AbstractBundleRuleModel()
      Generated constructor - Default constructor for generic creation.
    • AbstractBundleRuleModel

      public AbstractBundleRuleModel(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
    • AbstractBundleRuleModel

      @Deprecated(since="4.1.1", forRemoval=true) public AbstractBundleRuleModel(CatalogVersionModel _catalogVersion)
      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:
      _catalogVersion - initial attribute declared by type AbstractBundleRule at extension configurablebundleservices
    • AbstractBundleRuleModel

      @Deprecated(since="4.1.1", forRemoval=true) public AbstractBundleRuleModel(CatalogVersionModel _catalogVersion, String _id, 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:
      _catalogVersion - initial attribute declared by type AbstractBundleRule at extension configurablebundleservices
      _id - initial attribute declared by type AbstractBundleRule at extension configurablebundleservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCatalogVersion

      @Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices.
      Returns:
      the catalogVersion - Catalog Version
    • getConditionalProducts

      @Accessor(qualifier="conditionalProducts", type=GETTER) public Collection<ProductModel> getConditionalProducts()
      Generated method - Getter of the AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the conditionalProducts
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the AbstractBundleRule.id attribute defined at extension configurablebundleservices.
      Returns:
      the id - Identifier
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the AbstractBundleRule.name attribute defined at extension configurablebundleservices.
      Returns:
      the name - Name of the bundle rule
    • getRuleType

      @Accessor(qualifier="ruleType", type=GETTER) public BundleRuleTypeEnum getRuleType()
      Generated method - Getter of the AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.
      Returns:
      the ruleType
    • getTargetProducts

      @Accessor(qualifier="targetProducts", type=GETTER) public Collection<ProductModel> getTargetProducts()
      Generated method - Getter of the AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the targetProducts
    • setCatalogVersion

      @Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
      Generated method - Initial setter of AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the catalogVersion - Catalog Version
    • setConditionalProducts

      @Accessor(qualifier="conditionalProducts", type=SETTER) public void setConditionalProducts(Collection<ProductModel> value)
      Generated method - Setter of AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices.
      Parameters:
      value - the conditionalProducts
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Initial setter of AbstractBundleRule.id attribute defined at extension configurablebundleservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the id - Identifier
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of AbstractBundleRule.name attribute defined at extension configurablebundleservices.
      Parameters:
      value - the name - Name of the bundle rule
    • setRuleType

      @Accessor(qualifier="ruleType", type=SETTER) public void setRuleType(BundleRuleTypeEnum value)
      Generated method - Setter of AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.
      Parameters:
      value - the ruleType
    • setTargetProducts

      @Accessor(qualifier="targetProducts", type=SETTER) public void setTargetProducts(Collection<ProductModel> value)
      Generated method - Setter of AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices.
      Parameters:
      value - the targetProducts