Class BundleTemplateModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.configurablebundleservices.model.BundleTemplateModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccommodationBundleTemplateModel, DealBundleTemplateModel, RouteBundleTemplateModel, TransportBundleTemplateModel

public class BundleTemplateModel extends ItemModel
Generated model class for type BundleTemplate 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 relation code constant for relation BundleTemplateRelation defining source attribute parentTemplate in extension configurablebundleservices.
    static final String
    Generated relation code constant for relation BundleTemplateStatusRelation defining source attribute status in extension configurablebundleservices.
    static final String
    Generated relation code constant for relation ProductsBundleTemplatesRelation defining source attribute products in extension configurablebundleservices.
    static final String
    Generated relation code constant for relation RequiredBundleTemplatesDependentBundleTemplatesRelation defining source attribute requiredBundleTemplates in extension configurablebundleservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.description attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.id attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.ignoreRules attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.name attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.parentTemplatePOS attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.products attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.promotional attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.status attribute defined at extension configurablebundleservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.type attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of BundleTemplate.version 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.
    BundleTemplateModel(CatalogVersionModel _catalogVersion, String _id, ItemModel _owner, BundleTemplateModel _parentTemplate, String _version)
    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
    BundleTemplateModel(CatalogVersionModel _catalogVersion, String _id, String _version)
    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
    BundleTemplateModel(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 BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.description attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.description attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.id attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.ignoreRules attribute defined at extension travelservices.
    Generated method - Getter of the BundleTemplate.name attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.name attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.products attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.promotional attribute defined at extension travelservices.
    Generated method - Getter of the BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.status attribute defined at extension configurablebundleservices.
    Generated method - Getter of the BundleTemplate.type attribute defined at extension travelservices.
    Generated method - Getter of the BundleTemplate.version attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.description attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.description attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices.
    void
    setId(String value)
    Generated method - Initial setter of BundleTemplate.id attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.ignoreRules attribute defined at extension travelservices.
    void
    setName(String value)
    Generated method - Setter of BundleTemplate.name attribute defined at extension configurablebundleservices.
    void
    setName(String value, Locale loc)
    Generated method - Setter of BundleTemplate.name attribute defined at extension configurablebundleservices.
    void
    Generated method - Initial setter of BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.products attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.promotional attribute defined at extension travelservices.
    void
    Generated method - Setter of BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.status attribute defined at extension configurablebundleservices.
    void
    Generated method - Setter of BundleTemplate.type attribute defined at extension travelservices.
    void
    Generated method - Setter of BundleTemplate.version 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:
    • _BUNDLETEMPLATERELATION

      public static final String _BUNDLETEMPLATERELATION
      Generated relation code constant for relation BundleTemplateRelation defining source attribute parentTemplate in extension configurablebundleservices.
      See Also:
    • _PRODUCTSBUNDLETEMPLATESRELATION

      public static final String _PRODUCTSBUNDLETEMPLATESRELATION
      Generated relation code constant for relation ProductsBundleTemplatesRelation defining source attribute products in extension configurablebundleservices.
      See Also:
    • _REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION

      public static final String _REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION
      Generated relation code constant for relation RequiredBundleTemplatesDependentBundleTemplatesRelation defining source attribute requiredBundleTemplates in extension configurablebundleservices.
      See Also:
    • _BUNDLETEMPLATESTATUSRELATION

      public static final String _BUNDLETEMPLATESTATUSRELATION
      Generated relation code constant for relation BundleTemplateStatusRelation defining source attribute status in extension configurablebundleservices.
      See Also:
    • ID

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

      public static final String VERSION
      Generated constant - Attribute key of BundleTemplate.version attribute defined at extension configurablebundleservices.
      See Also:
    • CATALOGVERSION

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

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

      public static final String DESCRIPTION
      Generated constant - Attribute key of BundleTemplate.description attribute defined at extension configurablebundleservices.
      See Also:
    • BUNDLESELECTIONCRITERIA

      public static final String BUNDLESELECTIONCRITERIA
      Generated constant - Attribute key of BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.
      See Also:
    • PARENTTEMPLATEPOS

      public static final String PARENTTEMPLATEPOS
      Generated constant - Attribute key of BundleTemplate.parentTemplatePOS attribute defined at extension configurablebundleservices.
      See Also:
    • PARENTTEMPLATE

      public static final String PARENTTEMPLATE
      Generated constant - Attribute key of BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices.
      See Also:
    • CHILDTEMPLATES

      public static final String CHILDTEMPLATES
      Generated constant - Attribute key of BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.
      See Also:
    • PRODUCTS

      public static final String PRODUCTS
      Generated constant - Attribute key of BundleTemplate.products attribute defined at extension configurablebundleservices.
      See Also:
    • CHANGEPRODUCTPRICEBUNDLERULES

      public static final String CHANGEPRODUCTPRICEBUNDLERULES
      Generated constant - Attribute key of BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.
      See Also:
    • DISABLEPRODUCTBUNDLERULES

      public static final String DISABLEPRODUCTBUNDLERULES
      Generated constant - Attribute key of BundleTemplate.disableProductBundleRules attribute defined at extension configurablebundleservices.
      See Also:
    • REQUIREDBUNDLETEMPLATES

      public static final String REQUIREDBUNDLETEMPLATES
      Generated constant - Attribute key of BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices.
      See Also:
    • DEPENDENTBUNDLETEMPLATES

      public static final String DEPENDENTBUNDLETEMPLATES
      Generated constant - Attribute key of BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.
      See Also:
    • STATUS

      public static final String STATUS
      Generated constant - Attribute key of BundleTemplate.status attribute defined at extension configurablebundleservices.
      See Also:
    • TYPE

      public static final String TYPE
      Generated constant - Attribute key of BundleTemplate.type attribute defined at extension travelservices.
      See Also:
    • PROMOTIONAL

      public static final String PROMOTIONAL
      Generated constant - Attribute key of BundleTemplate.promotional attribute defined at extension travelservices.
      See Also:
    • IGNORERULES

      public static final String IGNORERULES
      Generated constant - Attribute key of BundleTemplate.ignoreRules attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • BundleTemplateModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public BundleTemplateModel(CatalogVersionModel _catalogVersion, String _id, String _version)
      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 BundleTemplate at extension configurablebundleservices
      _id - initial attribute declared by type BundleTemplate at extension configurablebundleservices
      _version - initial attribute declared by type BundleTemplate at extension configurablebundleservices
    • BundleTemplateModel

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

    • getBundleSelectionCriteria

      @Accessor(qualifier="bundleSelectionCriteria", type=GETTER) public BundleSelectionCriteriaModel getBundleSelectionCriteria()
      Generated method - Getter of the BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.
      Returns:
      the bundleSelectionCriteria - Criteria how many of the bundle's assigned products must/can be selected'
    • getCatalogVersion

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

      @Accessor(qualifier="changeProductPriceBundleRules", type=GETTER) public Collection<ChangeProductPriceBundleRuleModel> getChangeProductPriceBundleRules()
      Generated method - Getter of the BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the changeProductPriceBundleRules
    • getChildTemplates

      @Accessor(qualifier="childTemplates", type=GETTER) public List<BundleTemplateModel> getChildTemplates()
      Generated method - Getter of the BundleTemplate.childTemplates attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the childTemplates
    • getDependentBundleTemplates

      @Accessor(qualifier="dependentBundleTemplates", type=GETTER) public Collection<BundleTemplateModel> getDependentBundleTemplates()
      Generated method - Getter of the BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the dependentBundleTemplates
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the BundleTemplate.description attribute defined at extension configurablebundleservices.
      Returns:
      the description - Description of the bundle template
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
      Generated method - Getter of the BundleTemplate.description attribute defined at extension configurablebundleservices.
      Parameters:
      loc - the value localization key
      Returns:
      the description - Description of the bundle template
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getDisableProductBundleRules

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

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

      @Accessor(qualifier="ignoreRules", type=GETTER) public Boolean getIgnoreRules()
      Generated method - Getter of the BundleTemplate.ignoreRules attribute defined at extension travelservices.
      Returns:
      the ignoreRules
    • getName

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

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the BundleTemplate.name attribute defined at extension configurablebundleservices.
      Parameters:
      loc - the value localization key
      Returns:
      the name - Name of the bundle template
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getParentTemplate

      @Accessor(qualifier="parentTemplate", type=GETTER) public BundleTemplateModel getParentTemplate()
      Generated method - Getter of the BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices.
      Returns:
      the parentTemplate
    • getProducts

      @Accessor(qualifier="products", type=GETTER) public List<ProductModel> getProducts()
      Generated method - Getter of the BundleTemplate.products attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the products
    • getPromotional

      @Accessor(qualifier="promotional", type=GETTER) public Boolean getPromotional()
      Generated method - Getter of the BundleTemplate.promotional attribute defined at extension travelservices.
      Returns:
      the promotional
    • getRequiredBundleTemplates

      @Accessor(qualifier="requiredBundleTemplates", type=GETTER) public Collection<BundleTemplateModel> getRequiredBundleTemplates()
      Generated method - Getter of the BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the requiredBundleTemplates
    • getStatus

      @Accessor(qualifier="status", type=GETTER) public BundleTemplateStatusModel getStatus()
      Generated method - Getter of the BundleTemplate.status attribute defined at extension configurablebundleservices.
      Returns:
      the status
    • getType

      @Accessor(qualifier="type", type=GETTER) public BundleType getType()
      Generated method - Getter of the BundleTemplate.type attribute defined at extension travelservices.
      Returns:
      the type
    • getVersion

      @Accessor(qualifier="version", type=GETTER) public String getVersion()
      Generated method - Getter of the BundleTemplate.version attribute defined at extension configurablebundleservices.
      Returns:
      the version - The version of the bundle template. Each clone of a BundleTemplate needs to have a different version.
    • setBundleSelectionCriteria

      @Accessor(qualifier="bundleSelectionCriteria", type=SETTER) public void setBundleSelectionCriteria(BundleSelectionCriteriaModel value)
      Generated method - Setter of BundleTemplate.bundleSelectionCriteria attribute defined at extension configurablebundleservices.
      Parameters:
      value - the bundleSelectionCriteria - Criteria how many of the bundle's assigned products must/can be selected'
    • setCatalogVersion

      @Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
      Generated method - Setter of BundleTemplate.catalogVersion attribute defined at extension configurablebundleservices.
      Parameters:
      value - the catalogVersion - Catalog Version
    • setChangeProductPriceBundleRules

      @Accessor(qualifier="changeProductPriceBundleRules", type=SETTER) public void setChangeProductPriceBundleRules(Collection<ChangeProductPriceBundleRuleModel> value)
      Generated method - Setter of BundleTemplate.changeProductPriceBundleRules attribute defined at extension configurablebundleservices.
      Parameters:
      value - the changeProductPriceBundleRules
    • setChildTemplates

      @Accessor(qualifier="childTemplates", type=SETTER) public void setChildTemplates(List<BundleTemplateModel> value)
      Generated method - Setter of BundleTemplate.childTemplates attribute defined at extension configurablebundleservices.
      Parameters:
      value - the childTemplates
    • setDependentBundleTemplates

      @Accessor(qualifier="dependentBundleTemplates", type=SETTER) public void setDependentBundleTemplates(Collection<BundleTemplateModel> value)
      Generated method - Setter of BundleTemplate.dependentBundleTemplates attribute defined at extension configurablebundleservices.
      Parameters:
      value - the dependentBundleTemplates
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of BundleTemplate.description attribute defined at extension configurablebundleservices.
      Parameters:
      value - the description - Description of the bundle template
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
      Generated method - Setter of BundleTemplate.description attribute defined at extension configurablebundleservices.
      Parameters:
      value - the description - Description of the bundle template
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setDisableProductBundleRules

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

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

      @Accessor(qualifier="ignoreRules", type=SETTER) public void setIgnoreRules(Boolean value)
      Generated method - Setter of BundleTemplate.ignoreRules attribute defined at extension travelservices.
      Parameters:
      value - the ignoreRules
    • setName

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

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of BundleTemplate.name attribute defined at extension configurablebundleservices.
      Parameters:
      value - the name - Name of the bundle template
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setParentTemplate

      @Accessor(qualifier="parentTemplate", type=SETTER) public void setParentTemplate(BundleTemplateModel value)
      Generated method - Initial setter of BundleTemplate.parentTemplate attribute defined at extension configurablebundleservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the parentTemplate
    • setProducts

      @Accessor(qualifier="products", type=SETTER) public void setProducts(List<ProductModel> value)
      Generated method - Setter of BundleTemplate.products attribute defined at extension configurablebundleservices.
      Parameters:
      value - the products
    • setPromotional

      @Accessor(qualifier="promotional", type=SETTER) public void setPromotional(Boolean value)
      Generated method - Setter of BundleTemplate.promotional attribute defined at extension travelservices.
      Parameters:
      value - the promotional
    • setRequiredBundleTemplates

      @Accessor(qualifier="requiredBundleTemplates", type=SETTER) public void setRequiredBundleTemplates(Collection<BundleTemplateModel> value)
      Generated method - Setter of BundleTemplate.requiredBundleTemplates attribute defined at extension configurablebundleservices.
      Parameters:
      value - the requiredBundleTemplates
    • setStatus

      @Accessor(qualifier="status", type=SETTER) public void setStatus(BundleTemplateStatusModel value)
      Generated method - Setter of BundleTemplate.status attribute defined at extension configurablebundleservices.
      Parameters:
      value - the status
    • setType

      @Accessor(qualifier="type", type=SETTER) public void setType(BundleType value)
      Generated method - Setter of BundleTemplate.type attribute defined at extension travelservices.
      Parameters:
      value - the type
    • setVersion

      @Accessor(qualifier="version", type=SETTER) public void setVersion(String value)
      Generated method - Setter of BundleTemplate.version attribute defined at extension configurablebundleservices.
      Parameters:
      value - the version - The version of the bundle template. Each clone of a BundleTemplate needs to have a different version.