Class AccommodationOfferingModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.ordersplitting.model.WarehouseModel
de.hybris.platform.travelservices.model.warehouse.AccommodationOfferingModel
All Implemented Interfaces:
Serializable

public class AccommodationOfferingModel extends WarehouseModel
Generated model class for type AccommodationOffering first defined at extension travelservices.

This type represents a property or building having some accommodations offered in it. Typical example is an hotel or a bed and breakfast.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String LOCATION
      Generated constant - Attribute key of AccommodationOffering.location attribute defined at extension travelservices.
      See Also:
    • STARRATING

      public static final String STARRATING
      Generated constant - Attribute key of AccommodationOffering.starRating attribute defined at extension travelservices.
      See Also:
    • PROVIDER

      public static final String PROVIDER
      Generated constant - Attribute key of AccommodationOffering.provider attribute defined at extension travelservices.
      See Also:
    • GALLERYCODE

      public static final String GALLERYCODE
      Generated constant - Attribute key of AccommodationOffering.galleryCode attribute defined at extension travelservices.
      See Also:
    • AVERAGEUSERRATING

      public static final String AVERAGEUSERRATING
      Generated constant - Attribute key of AccommodationOffering.averageUserRating attribute defined at extension travelservices.
      See Also:
    • NUMBEROFREVIEWS

      public static final String NUMBEROFREVIEWS
      Generated constant - Attribute key of AccommodationOffering.numberOfReviews attribute defined at extension travelservices.
      See Also:
    • BOOSTED

      public static final String BOOSTED
      Generated constant - Attribute key of AccommodationOffering.boosted attribute defined at extension travelservices.
      See Also:
    • POPULARITY

      public static final String POPULARITY
      Generated constant - Attribute key of AccommodationOffering.popularity attribute defined at extension travelservices.
      See Also:
    • ACCOMMODATIONS

      public static final String ACCOMMODATIONS
      Generated constant - Attribute key of AccommodationOffering.accommodations attribute defined at extension travelservices.
      See Also:
    • EXTRAS

      public static final String EXTRAS
      Generated constant - Attribute key of AccommodationOffering.extras attribute defined at extension travelservices.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of AccommodationOffering.description attribute defined at extension travelservices.
      See Also:
    • ACTIVEPROPERTYFACILITY

      public static final String ACTIVEPROPERTYFACILITY
      Generated constant - Attribute key of AccommodationOffering.activePropertyFacility attribute defined at extension travelservices.
      See Also:
    • PROPERTYINFORMATION

      public static final String PROPERTYINFORMATION
      Generated constant - Attribute key of AccommodationOffering.propertyInformation attribute defined at extension travelservices.
      See Also:
    • TYPES

      public static final String TYPES
      Generated constant - Attribute key of AccommodationOffering.types attribute defined at extension travelservices.
      See Also:
    • NUMBEROFFLOORS

      public static final String NUMBEROFFLOORS
      Generated constant - Attribute key of AccommodationOffering.numberOfFloors attribute defined at extension travelservices.
      See Also:
    • NUMBEROFSLEEPINGROOMS

      public static final String NUMBEROFSLEEPINGROOMS
      Generated constant - Attribute key of AccommodationOffering.numberOfSleepingRooms attribute defined at extension travelservices.
      See Also:
    • NUMBEROFNONSLEEPINGROOMS

      public static final String NUMBEROFNONSLEEPINGROOMS
      Generated constant - Attribute key of AccommodationOffering.numberOfNonSleepingRooms attribute defined at extension travelservices.
      See Also:
    • IGNORERULES

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

      public static final String PROPERTYFACILITY
      Generated constant - Attribute key of AccommodationOffering.propertyFacility attribute defined at extension travelservices.
      See Also:
    • MARKETINGRATEPLANINFOS

      public static final String MARKETINGRATEPLANINFOS
      Generated constant - Attribute key of AccommodationOffering.marketingRatePlanInfos attribute defined at extension travelservices.
      See Also:
    • CUSTOMERREVIEWS

      public static final String CUSTOMERREVIEWS
      Generated constant - Attribute key of AccommodationOffering.customerReviews attribute defined at extension travelservices.
      See Also:
    • ACCOMMODATIONSERVICEWAREHOUSES

      public static final String ACCOMMODATIONSERVICEWAREHOUSES
      Generated constant - Attribute key of AccommodationOffering.accommodationServiceWarehouses attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • AccommodationOfferingModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public AccommodationOfferingModel(String _code, VendorModel _vendor)
      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:
      _code - initial attribute declared by type Warehouse at extension basecommerce
      _vendor - initial attribute declared by type Warehouse at extension basecommerce
    • AccommodationOfferingModel

      @Deprecated(since="4.1.1", forRemoval=true) public AccommodationOfferingModel(String _code, ItemModel _owner, VendorModel _vendor)
      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:
      _code - initial attribute declared by type Warehouse at extension basecommerce
      _owner - initial attribute declared by type Item at extension core
      _vendor - initial attribute declared by type Warehouse at extension basecommerce
  • Method Details

    • getAccommodations

      @Accessor(qualifier="accommodations", type=GETTER) public List<String> getAccommodations()
      Generated method - Getter of the AccommodationOffering.accommodations attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the accommodations
    • getAccommodationServiceWarehouses

      @Accessor(qualifier="accommodationServiceWarehouses", type=GETTER) public Collection<AccommodationServiceWarehouseModel> getAccommodationServiceWarehouses()
      Generated method - Getter of the AccommodationOffering.accommodationServiceWarehouses attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the accommodationServiceWarehouses
    • getActivePropertyFacility

      @Accessor(qualifier="activePropertyFacility", type=GETTER) public List<PropertyFacilityModel> getActivePropertyFacility()
      Generated method - Getter of the AccommodationOffering.activePropertyFacility dynamic attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the activePropertyFacility
    • getAverageUserRating

      @Accessor(qualifier="averageUserRating", type=GETTER) public Double getAverageUserRating()
      Generated method - Getter of the AccommodationOffering.averageUserRating dynamic attribute defined at extension travelservices.
      Returns:
      the averageUserRating
    • getBoosted

      @Accessor(qualifier="boosted", type=GETTER) public Boolean getBoosted()
      Generated method - Getter of the AccommodationOffering.boosted attribute defined at extension travelservices.
      Returns:
      the boosted
    • getCustomerReviews

      @Accessor(qualifier="customerReviews", type=GETTER) public Collection<CustomerReviewModel> getCustomerReviews()
      Generated method - Getter of the AccommodationOffering.customerReviews attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the customerReviews
    • getDescription

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

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

      @Accessor(qualifier="extras", type=GETTER) public List<String> getExtras()
      Generated method - Getter of the AccommodationOffering.extras attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the extras
    • getGalleryCode

      @Accessor(qualifier="galleryCode", type=GETTER) public String getGalleryCode()
      Generated method - Getter of the AccommodationOffering.galleryCode attribute defined at extension travelservices.
      Returns:
      the galleryCode
    • getIgnoreRules

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

      @Accessor(qualifier="location", type=GETTER) public LocationModel getLocation()
      Generated method - Getter of the AccommodationOffering.location attribute defined at extension travelservices.
      Returns:
      the location
    • getMarketingRatePlanInfos

      @Accessor(qualifier="marketingRatePlanInfos", type=GETTER) public Collection<MarketingRatePlanInfoModel> getMarketingRatePlanInfos()
      Generated method - Getter of the AccommodationOffering.marketingRatePlanInfos attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the marketingRatePlanInfos
    • getNumberOfFloors

      @Accessor(qualifier="numberOfFloors", type=GETTER) public Integer getNumberOfFloors()
      Generated method - Getter of the AccommodationOffering.numberOfFloors attribute defined at extension travelservices.
      Returns:
      the numberOfFloors
    • getNumberOfNonSleepingRooms

      @Accessor(qualifier="numberOfNonSleepingRooms", type=GETTER) public Integer getNumberOfNonSleepingRooms()
      Generated method - Getter of the AccommodationOffering.numberOfNonSleepingRooms attribute defined at extension travelservices.
      Returns:
      the numberOfNonSleepingRooms
    • getNumberOfReviews

      @Accessor(qualifier="numberOfReviews", type=GETTER) public Integer getNumberOfReviews()
      Generated method - Getter of the AccommodationOffering.numberOfReviews attribute defined at extension travelservices.
      Returns:
      the numberOfReviews
    • getNumberOfSleepingRooms

      @Accessor(qualifier="numberOfSleepingRooms", type=GETTER) public Integer getNumberOfSleepingRooms()
      Generated method - Getter of the AccommodationOffering.numberOfSleepingRooms attribute defined at extension travelservices.
      Returns:
      the numberOfSleepingRooms
    • getPopularity

      @Accessor(qualifier="popularity", type=GETTER) public Integer getPopularity()
      Generated method - Getter of the AccommodationOffering.popularity attribute defined at extension travelservices.
      Returns:
      the popularity
    • getPropertyFacility

      @Accessor(qualifier="propertyFacility", type=GETTER) public Collection<PropertyFacilityModel> getPropertyFacility()
      Generated method - Getter of the AccommodationOffering.propertyFacility attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the propertyFacility
    • getPropertyInformation

      @Accessor(qualifier="propertyInformation", type=GETTER) public String getPropertyInformation()
      Generated method - Getter of the AccommodationOffering.propertyInformation attribute defined at extension travelservices.
      Returns:
      the propertyInformation
    • getPropertyInformation

      @Accessor(qualifier="propertyInformation", type=GETTER) public String getPropertyInformation(Locale loc)
      Generated method - Getter of the AccommodationOffering.propertyInformation attribute defined at extension travelservices.
      Parameters:
      loc - the value localization key
      Returns:
      the propertyInformation
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getProvider

      @Accessor(qualifier="provider", type=GETTER) public AccommodationProviderModel getProvider()
      Generated method - Getter of the AccommodationOffering.provider attribute defined at extension travelservices.
      Returns:
      the provider
    • getStarRating

      @Accessor(qualifier="starRating", type=GETTER) public Integer getStarRating()
      Generated method - Getter of the AccommodationOffering.starRating attribute defined at extension travelservices.
      Returns:
      the starRating
    • getTypes

      @Accessor(qualifier="types", type=GETTER) public List<AccommodationOfferingType> getTypes()
      Generated method - Getter of the AccommodationOffering.types attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the types
    • setAccommodations

      @Accessor(qualifier="accommodations", type=SETTER) public void setAccommodations(List<String> value)
      Generated method - Setter of AccommodationOffering.accommodations attribute defined at extension travelservices.
      Parameters:
      value - the accommodations
    • setAccommodationServiceWarehouses

      @Accessor(qualifier="accommodationServiceWarehouses", type=SETTER) public void setAccommodationServiceWarehouses(Collection<AccommodationServiceWarehouseModel> value)
      Generated method - Setter of AccommodationOffering.accommodationServiceWarehouses attribute defined at extension travelservices.
      Parameters:
      value - the accommodationServiceWarehouses
    • setActivePropertyFacility

      @Accessor(qualifier="activePropertyFacility", type=SETTER) public void setActivePropertyFacility(List<PropertyFacilityModel> value)
      Generated method - Setter of AccommodationOffering.activePropertyFacility dynamic attribute defined at extension travelservices.
      Parameters:
      value - the activePropertyFacility
    • setAverageUserRating

      @Accessor(qualifier="averageUserRating", type=SETTER) public void setAverageUserRating(Double value)
      Generated method - Setter of AccommodationOffering.averageUserRating dynamic attribute defined at extension travelservices.
      Parameters:
      value - the averageUserRating
    • setBoosted

      @Accessor(qualifier="boosted", type=SETTER) public void setBoosted(Boolean value)
      Generated method - Setter of AccommodationOffering.boosted attribute defined at extension travelservices.
      Parameters:
      value - the boosted
    • setCustomerReviews

      @Accessor(qualifier="customerReviews", type=SETTER) public void setCustomerReviews(Collection<CustomerReviewModel> value)
      Generated method - Setter of AccommodationOffering.customerReviews attribute defined at extension travelservices.
      Parameters:
      value - the customerReviews
    • setDescription

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

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

      @Accessor(qualifier="extras", type=SETTER) public void setExtras(List<String> value)
      Generated method - Setter of AccommodationOffering.extras attribute defined at extension travelservices.
      Parameters:
      value - the extras
    • setGalleryCode

      @Accessor(qualifier="galleryCode", type=SETTER) public void setGalleryCode(String value)
      Generated method - Setter of AccommodationOffering.galleryCode attribute defined at extension travelservices.
      Parameters:
      value - the galleryCode
    • setIgnoreRules

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

      @Accessor(qualifier="location", type=SETTER) public void setLocation(LocationModel value)
      Generated method - Setter of AccommodationOffering.location attribute defined at extension travelservices.
      Parameters:
      value - the location
    • setMarketingRatePlanInfos

      @Accessor(qualifier="marketingRatePlanInfos", type=SETTER) public void setMarketingRatePlanInfos(Collection<MarketingRatePlanInfoModel> value)
      Generated method - Setter of AccommodationOffering.marketingRatePlanInfos attribute defined at extension travelservices.
      Parameters:
      value - the marketingRatePlanInfos
    • setNumberOfFloors

      @Accessor(qualifier="numberOfFloors", type=SETTER) public void setNumberOfFloors(Integer value)
      Generated method - Setter of AccommodationOffering.numberOfFloors attribute defined at extension travelservices.
      Parameters:
      value - the numberOfFloors
    • setNumberOfNonSleepingRooms

      @Accessor(qualifier="numberOfNonSleepingRooms", type=SETTER) public void setNumberOfNonSleepingRooms(Integer value)
      Generated method - Setter of AccommodationOffering.numberOfNonSleepingRooms attribute defined at extension travelservices.
      Parameters:
      value - the numberOfNonSleepingRooms
    • setNumberOfReviews

      @Accessor(qualifier="numberOfReviews", type=SETTER) public void setNumberOfReviews(Integer value)
      Generated method - Setter of AccommodationOffering.numberOfReviews attribute defined at extension travelservices.
      Parameters:
      value - the numberOfReviews
    • setNumberOfSleepingRooms

      @Accessor(qualifier="numberOfSleepingRooms", type=SETTER) public void setNumberOfSleepingRooms(Integer value)
      Generated method - Setter of AccommodationOffering.numberOfSleepingRooms attribute defined at extension travelservices.
      Parameters:
      value - the numberOfSleepingRooms
    • setPopularity

      @Accessor(qualifier="popularity", type=SETTER) public void setPopularity(Integer value)
      Generated method - Setter of AccommodationOffering.popularity attribute defined at extension travelservices.
      Parameters:
      value - the popularity
    • setPropertyFacility

      @Accessor(qualifier="propertyFacility", type=SETTER) public void setPropertyFacility(Collection<PropertyFacilityModel> value)
      Generated method - Setter of AccommodationOffering.propertyFacility attribute defined at extension travelservices.
      Parameters:
      value - the propertyFacility
    • setPropertyInformation

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

      @Accessor(qualifier="propertyInformation", type=SETTER) public void setPropertyInformation(String value, Locale loc)
      Generated method - Setter of AccommodationOffering.propertyInformation attribute defined at extension travelservices.
      Parameters:
      value - the propertyInformation
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setProvider

      @Accessor(qualifier="provider", type=SETTER) public void setProvider(AccommodationProviderModel value)
      Generated method - Setter of AccommodationOffering.provider attribute defined at extension travelservices.
      Parameters:
      value - the provider
    • setStarRating

      @Accessor(qualifier="starRating", type=SETTER) public void setStarRating(Integer value)
      Generated method - Setter of AccommodationOffering.starRating attribute defined at extension travelservices.
      Parameters:
      value - the starRating
    • setTypes

      @Accessor(qualifier="types", type=SETTER) public void setTypes(List<AccommodationOfferingType> value)
      Generated method - Setter of AccommodationOffering.types attribute defined at extension travelservices.
      Parameters:
      value - the types