Class StaticPackageModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.staticpackageservices.model.StaticPackageModel
All Implemented Interfaces:
Serializable

public class StaticPackageModel extends ItemModel
Generated model class for type StaticPackage first defined at extension staticpackageservices.

This type represents a static package.

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 StaticPackage.availabilityDates attribute defined at extension staticpackageservices.
    static final String
    Generated constant - Attribute key of StaticPackage.catalogVersion attribute defined at extension staticpackageservices.
    static final String
    Generated constant - Attribute key of StaticPackage.duration attribute defined at extension staticpackageservices.
    static final String
    Generated constant - Attribute key of StaticPackage.flightPackage attribute defined at extension staticpackageservices.
    static final String
    Generated constant - Attribute key of StaticPackage.guestCounts attribute defined at extension staticpackageservices.
    static final String
    Generated constant - Attribute key of StaticPackage.id attribute defined at extension staticpackageservices.
    static final String
    Generated constant - Attribute key of StaticPackage.percentageDiscount attribute defined at extension staticpackageservices.
    static final String
    Generated constant - Attribute key of StaticPackage.products attribute defined at extension staticpackageservices.
    static final String
    Generated constant - Attribute key of StaticPackage.roomPackage attribute defined at extension staticpackageservices.
    static final String
    Generated constant - Attribute key of StaticPackage.startingDatePattern attribute defined at extension staticpackageservices.

    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.
    StaticPackageModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    StaticPackageModel(List<Date> _availabilityDates, CatalogVersionModel _catalogVersion, FlightPackageModel _flightPackage, List<GuestCountModel> _guestCounts, String _id, ItemModel _owner, RoomPackageModel _roomPackage)
    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
    StaticPackageModel(List<Date> _availabilityDates, CatalogVersionModel _catalogVersion, FlightPackageModel _flightPackage, List<GuestCountModel> _guestCounts, String _id, RoomPackageModel _roomPackage)
    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 StaticPackage.availabilityDates attribute defined at extension staticpackageservices.
    Generated method - Getter of the StaticPackage.catalogVersion attribute defined at extension staticpackageservices.
    Generated method - Getter of the StaticPackage.duration attribute defined at extension staticpackageservices.
    Generated method - Getter of the StaticPackage.flightPackage attribute defined at extension staticpackageservices.
    Generated method - Getter of the StaticPackage.guestCounts attribute defined at extension staticpackageservices.
    Generated method - Getter of the StaticPackage.id attribute defined at extension staticpackageservices.
    Generated method - Getter of the StaticPackage.percentageDiscount attribute defined at extension staticpackageservices.
    Generated method - Getter of the StaticPackage.products attribute defined at extension staticpackageservices.
    Generated method - Getter of the StaticPackage.roomPackage attribute defined at extension staticpackageservices.
    Generated method - Getter of the StaticPackage.startingDatePattern attribute defined at extension staticpackageservices.
    void
    Generated method - Setter of StaticPackage.availabilityDates attribute defined at extension staticpackageservices.
    void
    Generated method - Setter of StaticPackage.catalogVersion attribute defined at extension staticpackageservices.
    void
    Generated method - Setter of StaticPackage.duration attribute defined at extension staticpackageservices.
    void
    Generated method - Setter of StaticPackage.flightPackage attribute defined at extension staticpackageservices.
    void
    Generated method - Setter of StaticPackage.guestCounts attribute defined at extension staticpackageservices.
    void
    setId(String value)
    Generated method - Setter of StaticPackage.id attribute defined at extension staticpackageservices.
    void
    Generated method - Setter of StaticPackage.percentageDiscount attribute defined at extension staticpackageservices.
    void
    Generated method - Setter of StaticPackage.products attribute defined at extension staticpackageservices.
    void
    Generated method - Setter of StaticPackage.roomPackage attribute defined at extension staticpackageservices.
    void
    Generated method - Setter of StaticPackage.startingDatePattern attribute defined at extension staticpackageservices.

    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 StaticPackage.id attribute defined at extension staticpackageservices.
      See Also:
    • AVAILABILITYDATES

      public static final String AVAILABILITYDATES
      Generated constant - Attribute key of StaticPackage.availabilityDates attribute defined at extension staticpackageservices.
      See Also:
    • STARTINGDATEPATTERN

      public static final String STARTINGDATEPATTERN
      Generated constant - Attribute key of StaticPackage.startingDatePattern attribute defined at extension staticpackageservices.
      See Also:
    • DURATION

      public static final String DURATION
      Generated constant - Attribute key of StaticPackage.duration attribute defined at extension staticpackageservices.
      See Also:
    • PERCENTAGEDISCOUNT

      public static final String PERCENTAGEDISCOUNT
      Generated constant - Attribute key of StaticPackage.percentageDiscount attribute defined at extension staticpackageservices.
      See Also:
    • FLIGHTPACKAGE

      public static final String FLIGHTPACKAGE
      Generated constant - Attribute key of StaticPackage.flightPackage attribute defined at extension staticpackageservices.
      See Also:
    • ROOMPACKAGE

      public static final String ROOMPACKAGE
      Generated constant - Attribute key of StaticPackage.roomPackage attribute defined at extension staticpackageservices.
      See Also:
    • GUESTCOUNTS

      public static final String GUESTCOUNTS
      Generated constant - Attribute key of StaticPackage.guestCounts attribute defined at extension staticpackageservices.
      See Also:
    • CATALOGVERSION

      public static final String CATALOGVERSION
      Generated constant - Attribute key of StaticPackage.catalogVersion attribute defined at extension staticpackageservices.
      See Also:
    • PRODUCTS

      public static final String PRODUCTS
      Generated constant - Attribute key of StaticPackage.products attribute defined at extension staticpackageservices.
      See Also:
  • Constructor Details

    • StaticPackageModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public StaticPackageModel(List<Date> _availabilityDates, CatalogVersionModel _catalogVersion, FlightPackageModel _flightPackage, List<GuestCountModel> _guestCounts, String _id, RoomPackageModel _roomPackage)
      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:
      _availabilityDates - initial attribute declared by type StaticPackage at extension staticpackageservices
      _catalogVersion - initial attribute declared by type StaticPackage at extension staticpackageservices
      _flightPackage - initial attribute declared by type StaticPackage at extension staticpackageservices
      _guestCounts - initial attribute declared by type StaticPackage at extension staticpackageservices
      _id - initial attribute declared by type StaticPackage at extension staticpackageservices
      _roomPackage - initial attribute declared by type StaticPackage at extension staticpackageservices
    • StaticPackageModel

      @Deprecated(since="4.1.1", forRemoval=true) public StaticPackageModel(List<Date> _availabilityDates, CatalogVersionModel _catalogVersion, FlightPackageModel _flightPackage, List<GuestCountModel> _guestCounts, String _id, ItemModel _owner, RoomPackageModel _roomPackage)
      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:
      _availabilityDates - initial attribute declared by type StaticPackage at extension staticpackageservices
      _catalogVersion - initial attribute declared by type StaticPackage at extension staticpackageservices
      _flightPackage - initial attribute declared by type StaticPackage at extension staticpackageservices
      _guestCounts - initial attribute declared by type StaticPackage at extension staticpackageservices
      _id - initial attribute declared by type StaticPackage at extension staticpackageservices
      _owner - initial attribute declared by type Item at extension core
      _roomPackage - initial attribute declared by type StaticPackage at extension staticpackageservices
  • Method Details

    • getAvailabilityDates

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

      @Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the StaticPackage.catalogVersion attribute defined at extension staticpackageservices.
      Returns:
      the catalogVersion
    • getDuration

      @Accessor(qualifier="duration", type=GETTER) public Long getDuration()
      Generated method - Getter of the StaticPackage.duration attribute defined at extension staticpackageservices.
      Returns:
      the duration
    • getFlightPackage

      @Accessor(qualifier="flightPackage", type=GETTER) public FlightPackageModel getFlightPackage()
      Generated method - Getter of the StaticPackage.flightPackage attribute defined at extension staticpackageservices.
      Returns:
      the flightPackage
    • getGuestCounts

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

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

      @Accessor(qualifier="percentageDiscount", type=GETTER) public Long getPercentageDiscount()
      Generated method - Getter of the StaticPackage.percentageDiscount attribute defined at extension staticpackageservices.
      Returns:
      the percentageDiscount
    • getProducts

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

      @Accessor(qualifier="roomPackage", type=GETTER) public RoomPackageModel getRoomPackage()
      Generated method - Getter of the StaticPackage.roomPackage attribute defined at extension staticpackageservices.
      Returns:
      the roomPackage
    • getStartingDatePattern

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

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

      @Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
      Generated method - Setter of StaticPackage.catalogVersion attribute defined at extension staticpackageservices.
      Parameters:
      value - the catalogVersion
    • setDuration

      @Accessor(qualifier="duration", type=SETTER) public void setDuration(Long value)
      Generated method - Setter of StaticPackage.duration attribute defined at extension staticpackageservices.
      Parameters:
      value - the duration
    • setFlightPackage

      @Accessor(qualifier="flightPackage", type=SETTER) public void setFlightPackage(FlightPackageModel value)
      Generated method - Setter of StaticPackage.flightPackage attribute defined at extension staticpackageservices.
      Parameters:
      value - the flightPackage
    • setGuestCounts

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

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Setter of StaticPackage.id attribute defined at extension staticpackageservices.
      Parameters:
      value - the id
    • setPercentageDiscount

      @Accessor(qualifier="percentageDiscount", type=SETTER) public void setPercentageDiscount(Long value)
      Generated method - Setter of StaticPackage.percentageDiscount attribute defined at extension staticpackageservices.
      Parameters:
      value - the percentageDiscount
    • setProducts

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

      @Accessor(qualifier="roomPackage", type=SETTER) public void setRoomPackage(RoomPackageModel value)
      Generated method - Setter of StaticPackage.roomPackage attribute defined at extension staticpackageservices.
      Parameters:
      value - the roomPackage
    • setStartingDatePattern

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