Class DealBundleTemplateModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class DealBundleTemplateModel extends BundleTemplateModel
Generated model class for type DealBundleTemplate first defined at extension travelservices.

This item represents a static deal bundle template.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _DEALCATEGORYBUNDLETEMPLATERELATION
      Generated relation code constant for relation DealCategoryBundleTemplateRelation defining source attribute dealCategories in extension travelservices.
      See Also:
    • GUESTCOUNTS

      public static final String GUESTCOUNTS
      Generated constant - Attribute key of DealBundleTemplate.guestCounts attribute defined at extension travelservices.
      See Also:
    • STARTINGDATEPATTERN

      public static final String STARTINGDATEPATTERN
      Generated constant - Attribute key of DealBundleTemplate.startingDatePattern attribute defined at extension travelservices.
      See Also:
    • LENGTH

      public static final String LENGTH
      Generated constant - Attribute key of DealBundleTemplate.length attribute defined at extension travelservices.
      See Also:
    • AVAILABILITYDATES

      public static final String AVAILABILITYDATES
      Generated constant - Attribute key of DealBundleTemplate.availabilityDates attribute defined at extension travelservices.
      See Also:
    • DEALCATEGORIES

      public static final String DEALCATEGORIES
      Generated constant - Attribute key of DealBundleTemplate.dealCategories attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • DealBundleTemplateModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public DealBundleTemplateModel(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
    • DealBundleTemplateModel

      @Deprecated(since="4.1.1", forRemoval=true) public DealBundleTemplateModel(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

    • getAvailabilityDates

      @Accessor(qualifier="availabilityDates", type=GETTER) public List<Date> getAvailabilityDates()
      Generated method - Getter of the DealBundleTemplate.availabilityDates attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the availabilityDates
    • getDealCategories

      @Accessor(qualifier="dealCategories", type=GETTER) public Collection<DealCategoryModel> getDealCategories()
      Generated method - Getter of the DealBundleTemplate.dealCategories attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the dealCategories
    • getGuestCounts

      @Accessor(qualifier="guestCounts", type=GETTER) public List<GuestCountModel> getGuestCounts()
      Generated method - Getter of the DealBundleTemplate.guestCounts attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the guestCounts
    • getLength

      @Accessor(qualifier="length", type=GETTER) public Integer getLength()
      Generated method - Getter of the DealBundleTemplate.length attribute defined at extension travelservices.
      Returns:
      the length
    • getStartingDatePattern

      @Accessor(qualifier="startingDatePattern", type=GETTER) public String getStartingDatePattern()
      Generated method - Getter of the DealBundleTemplate.startingDatePattern attribute defined at extension travelservices.
      Returns:
      the startingDatePattern
    • setAvailabilityDates

      @Accessor(qualifier="availabilityDates", type=SETTER) public void setAvailabilityDates(List<Date> value)
      Generated method - Setter of DealBundleTemplate.availabilityDates attribute defined at extension travelservices.
      Parameters:
      value - the availabilityDates
    • setDealCategories

      @Accessor(qualifier="dealCategories", type=SETTER) public void setDealCategories(Collection<DealCategoryModel> value)
      Generated method - Setter of DealBundleTemplate.dealCategories attribute defined at extension travelservices.
      Parameters:
      value - the dealCategories
    • setGuestCounts

      @Accessor(qualifier="guestCounts", type=SETTER) public void setGuestCounts(List<GuestCountModel> value)
      Generated method - Setter of DealBundleTemplate.guestCounts attribute defined at extension travelservices.
      Parameters:
      value - the guestCounts
    • setLength

      @Accessor(qualifier="length", type=SETTER) public void setLength(Integer value)
      Generated method - Setter of DealBundleTemplate.length attribute defined at extension travelservices.
      Parameters:
      value - the length
    • setStartingDatePattern

      @Accessor(qualifier="startingDatePattern", type=SETTER) public void setStartingDatePattern(String value)
      Generated method - Setter of DealBundleTemplate.startingDatePattern attribute defined at extension travelservices.
      Parameters:
      value - the startingDatePattern