Class AccommodationModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.product.ProductModel
de.hybris.platform.travelservices.model.TravelProductModel
de.hybris.platform.travelservices.model.product.AccommodationModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NonSleepingRoomModel,SleepingRoomModel
Generated model class for type Accommodation first defined at extension travelservices.
This type represents the seats of a transport vehicle.
- 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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationRatePlanAccommodationRelationdefining source attributeratePlanin extensiontravelservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAccommodation.accommodationFacilityattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAccommodation.guestOccupanciesattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAccommodation.ratePlanattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAccommodation.ratePlanConfigsattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAccommodation.roomFloorConfigurationsattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAccommodation.roomPreferencesattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAccommodation.roomTypeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAccommodation.sizeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAccommodation.typeattribute defined at extensiontravelservices.Fields inherited from class de.hybris.platform.core.model.product.ProductModel
_ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION, _ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION, _CATEGORYPRODUCTRELATION, _FUTURESTOCKPRODUCTRELATION, _PRODUCT2KEYWORDRELATION, _PRODUCTDETAILCOMPONENTSFORPRODUCT, _PRODUCTFEATURECOMPONENTS2PRODUCTREL, _PRODUCTSFORPRODUCTCAROUSELCOMPONENT, _PRODUCTSFORPRODUCTLISTCOMPONENT, _PRODUCTSFORRESTRICTION, _STATICPACKAGEPRODUCTRELATION, _STOCKLEVELPRODUCTRELATION, _SUBSCRIPTIONTERM2SUBSCRIPTIONPRODUCTRELATION, APPROVALSTATUS, ARTICLESTATUS, AVERAGERATING, BARCODES, BUNDLETEMPLATES, BUYERIDS, CATALOG, CATALOGVERSION, CLASSIFICATIONCLASSES, CODE, CONDITIONALBUNDLERULES, CONFIGUREDACCOMMODATION, CONTENTUNIT, DATA_SHEET, DELIVERYMODES, DELIVERYTIME, DESCRIPTION, DETAIL, EAN, ENDLINENUMBER, ERPGROUPBUYER, ERPGROUPSUPPLIER, EUROPE1DISCOUNTS, EUROPE1PRICEFACTORY_PDG, EUROPE1PRICEFACTORY_PPG, EUROPE1PRICEFACTORY_PTG, EUROPE1PRICES, EUROPE1TAXES, FEATURES, FUTURESTOCKS, GALLERYIMAGES, IGNORERULES, KEYWORDS, LINKCOMPONENTS, LOGO, MANUFACTURERAID, MANUFACTURERNAME, MANUFACTURERTYPEDESCRIPTION, MAXORDERQUANTITY, MINORDERQUANTITY, NAME, NORMAL, NUMBERCONTENTUNITS, NUMBEROFREVIEWS, OFFLINEDATE, ONLINEDATE, ORDER, ORDERQUANTITYINTERVAL, OTHERS, OWNEUROPE1DISCOUNTS, OWNEUROPE1PRICES, OWNEUROPE1TAXES, PICTURE, PRICEQUANTITY, PRICEROWSVALID, PRODUCTCAROUSELCOMPONENTS, PRODUCTDETAILCOMPONENTS, PRODUCTFEATURECOMPONENTS, PRODUCTLISTCOMPONENTS, PRODUCTORDERLIMIT, PRODUCTREFERENCES, PRODUCTREVIEWS, PRODUCTTYPE, PROMOTIONS, REMARKS, RESTRICTIONS, REVIEWCOUNT, REVIEWRATING, SEGMENT, SEQUENCEID, SIMPLEBANNERCOMPONENTS, SIMPLERESPONSIVEBANNERCOMPONENTS, SOLDINDIVIDUALLY, SPECIALTREATMENTCLASSES, STARTLINENUMBER, STATICPACKAGES, STOCKLEVELS, SUBSCRIPTIONTERM, SUMMARY, SUPERCATEGORIES, SUPPLIERALTERNATIVEAID, TARGETBUNDLERULES, THUMBNAIL, THUMBNAILS, TRAVELRESTRICTION, UNIT, UNTYPEDFEATURES, VARIANTS, VARIANTTYPE, VENDORS, VIDEOCOMPONENTS, XMLCONTENTFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.AccommodationModel(CatalogVersionModel _catalogVersion, String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAccommodationModel(CatalogVersionModel _catalogVersion, String _code, 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 parametersAccommodationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theAccommodation.accommodationFacilityattribute defined at extensiontravelservices.Generated method - Getter of theAccommodation.guestOccupanciesattribute defined at extensiontravelservices.Generated method - Getter of theAccommodation.ratePlanattribute defined at extensiontravelservices.Generated method - Getter of theAccommodation.ratePlanConfigsattribute defined at extensiontravelservices.Generated method - Getter of theAccommodation.roomFloorConfigurationsattribute defined at extensiontravelservices.Generated method - Getter of theAccommodation.roomPreferencesattribute defined at extensiontravelservices.Generated method - Getter of theAccommodation.roomTypeattribute defined at extensiontravelservices.getSize()Generated method - Getter of theAccommodation.sizeattribute defined at extensiontravelservices.getType()Generated method - Getter of theAccommodation.typeattribute defined at extensiontravelservices.voidGenerated method - Setter ofAccommodation.accommodationFacilityattribute defined at extensiontravelservices.voidGenerated method - Setter ofAccommodation.guestOccupanciesattribute defined at extensiontravelservices.voidsetRatePlan(Collection<RatePlanModel> value) Generated method - Setter ofAccommodation.ratePlanattribute defined at extensiontravelservices.voidGenerated method - Setter ofAccommodation.ratePlanConfigsattribute defined at extensiontravelservices.voidGenerated method - Setter ofAccommodation.roomFloorConfigurationsattribute defined at extensiontravelservices.voidGenerated method - Setter ofAccommodation.roomPreferencesattribute defined at extensiontravelservices.voidsetRoomType(RoomType value) Generated method - Setter ofAccommodation.roomTypeattribute defined at extensiontravelservices.voidGenerated method - Setter ofAccommodation.sizeattribute defined at extensiontravelservices.voidsetType(AccommodationType value) Generated method - Setter ofAccommodation.typeattribute defined at extensiontravelservices.Methods inherited from class de.hybris.platform.core.model.product.ProductModel
getApprovalStatus, getArticleStatus, getArticleStatus, getAverageRating, getBarcodes, getBundleTemplates, getBuyerIDS, getCatalogVersion, getClassificationClasses, getCode, getConditionalBundleRules, getConfiguredAccommodation, getContentUnit, getData_sheet, getDeliveryModes, getDeliveryTime, getDescription, getDescription, getDetail, getEan, getEndLineNumber, getErpGroupBuyer, getErpGroupSupplier, getEurope1Discounts, getEurope1PriceFactory_PDG, getEurope1PriceFactory_PPG, getEurope1PriceFactory_PTG, getEurope1Prices, getEurope1Taxes, getFeatures, getFutureStocks, getGalleryImages, getIgnoreRules, getKeywords, getKeywords, getLinkComponents, getLogo, getManufacturerAID, getManufacturerName, getManufacturerTypeDescription, getManufacturerTypeDescription, getMaxOrderQuantity, getMinOrderQuantity, getName, getName, getNormal, getNumberContentUnits, getNumberOfReviews, getOfflineDate, getOnlineDate, getOrder, getOrderQuantityInterval, getOthers, getOwnEurope1Discounts, getOwnEurope1Prices, getOwnEurope1Taxes, getPicture, getPriceQuantity, getPriceRowsValid, getProductCarouselComponents, getProductDetailComponents, getProductFeatureComponents, getProductListComponents, getProductOrderLimit, getProductReferences, getProductReviews, getProductType, getPromotions, getRemarks, getRemarks, getRestrictions, getReviewCount, getReviewRating, getSegment, getSegment, getSequenceId, getSimpleBannerComponents, getSimpleResponsiveBannerComponents, getSoldIndividually, getSpecialTreatmentClasses, getStartLineNumber, getStaticPackages, getStockLevels, getSubscriptionTerm, getSummary, getSummary, getSupercategories, getSupplierAlternativeAID, getTargetBundleRules, getThumbnail, getThumbnails, getTravelRestriction, getUnit, getUntypedFeatures, getVariants, getVariantType, getVendors, getVideoComponents, getXmlcontent, setApprovalStatus, setArticleStatus, setArticleStatus, setBundleTemplates, setBuyerIDS, setCatalogVersion, setCode, setConditionalBundleRules, setConfiguredAccommodation, setContentUnit, setData_sheet, setDeliveryModes, setDeliveryTime, setDescription, setDescription, setDetail, setEan, setEndLineNumber, setErpGroupBuyer, setErpGroupSupplier, setEurope1Discounts, setEurope1PriceFactory_PDG, setEurope1PriceFactory_PPG, setEurope1PriceFactory_PTG, setEurope1Prices, setEurope1Taxes, setFeatures, setFutureStocks, setGalleryImages, setIgnoreRules, setKeywords, setKeywords, setLinkComponents, setLogo, setManufacturerAID, setManufacturerName, setManufacturerTypeDescription, setManufacturerTypeDescription, setMaxOrderQuantity, setMinOrderQuantity, setName, setName, setNormal, setNumberContentUnits, setOfflineDate, setOnlineDate, setOrder, setOrderQuantityInterval, setOthers, setOwnEurope1Discounts, setOwnEurope1Prices, setOwnEurope1Taxes, setPicture, setPriceQuantity, setProductCarouselComponents, setProductDetailComponents, setProductFeatureComponents, setProductListComponents, setProductOrderLimit, setProductReferences, setProductReviews, setProductType, setPromotions, setRemarks, setRemarks, setRestrictions, setReviewCount, setReviewRating, setSegment, setSegment, setSequenceId, setSimpleBannerComponents, setSimpleResponsiveBannerComponents, setSoldIndividually, setSpecialTreatmentClasses, setStartLineNumber, setStaticPackages, setStockLevels, setSubscriptionTerm, setSummary, setSummary, setSupercategories, setSupplierAlternativeAID, setTargetBundleRules, setThumbnail, setThumbnails, setTravelRestriction, setUnit, setUntypedFeatures, setVariants, setVariantType, setVendors, setVideoComponents, setXmlcontentMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_RATEPLANACCOMMODATIONRELATION
Generated relation code constant for relationRatePlanAccommodationRelationdefining source attributeratePlanin extensiontravelservices.- See Also:
-
TYPE
Generated constant - Attribute key ofAccommodation.typeattribute defined at extensiontravelservices.- See Also:
-
GUESTOCCUPANCIES
Generated constant - Attribute key ofAccommodation.guestOccupanciesattribute defined at extensiontravelservices.- See Also:
-
ROOMTYPE
Generated constant - Attribute key ofAccommodation.roomTypeattribute defined at extensiontravelservices.- See Also:
-
SIZE
Generated constant - Attribute key ofAccommodation.sizeattribute defined at extensiontravelservices.- See Also:
-
ACCOMMODATIONFACILITY
Generated constant - Attribute key ofAccommodation.accommodationFacilityattribute defined at extensiontravelservices.- See Also:
-
RATEPLAN
Generated constant - Attribute key ofAccommodation.ratePlanattribute defined at extensiontravelservices.- See Also:
-
RATEPLANCONFIGS
Generated constant - Attribute key ofAccommodation.ratePlanConfigsattribute defined at extensiontravelservices.- See Also:
-
ROOMPREFERENCES
Generated constant - Attribute key ofAccommodation.roomPreferencesattribute defined at extensiontravelservices.- See Also:
-
ROOMFLOORCONFIGURATIONS
Generated constant - Attribute key ofAccommodation.roomFloorConfigurationsattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
AccommodationModel
public AccommodationModel()Generated constructor - Default constructor for generic creation. -
AccommodationModel
public AccommodationModel(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
-
AccommodationModel
@Deprecated(since="4.1.1", forRemoval=true) public AccommodationModel(CatalogVersionModel _catalogVersion, String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeProductat extensioncatalog_code- initial attribute declared by typeProductat extensioncore
-
AccommodationModel
@Deprecated(since="4.1.1", forRemoval=true) public AccommodationModel(CatalogVersionModel _catalogVersion, String _code, 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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeProductat extensioncatalog_code- initial attribute declared by typeProductat extensioncore_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getAccommodationFacility
@Accessor(qualifier="accommodationFacility", type=GETTER) public Collection<AccommodationFacilityModel> getAccommodationFacility()Generated method - Getter of theAccommodation.accommodationFacilityattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the accommodationFacility
-
getGuestOccupancies
@Accessor(qualifier="guestOccupancies", type=GETTER) public List<GuestOccupancyModel> getGuestOccupancies()Generated method - Getter of theAccommodation.guestOccupanciesattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the guestOccupancies
-
getRatePlan
Generated method - Getter of theAccommodation.ratePlanattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the ratePlan
-
getRatePlanConfigs
@Accessor(qualifier="ratePlanConfigs", type=GETTER) public Collection<RatePlanConfigModel> getRatePlanConfigs()Generated method - Getter of theAccommodation.ratePlanConfigsattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the ratePlanConfigs
-
getRoomFloorConfigurations
@Accessor(qualifier="roomFloorConfigurations", type=GETTER) public List<RoomFloorConfigurationModel> getRoomFloorConfigurations()Generated method - Getter of theAccommodation.roomFloorConfigurationsattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the roomFloorConfigurations
-
getRoomPreferences
@Accessor(qualifier="roomPreferences", type=GETTER) public Collection<RoomPreferenceModel> getRoomPreferences()Generated method - Getter of theAccommodation.roomPreferencesattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the roomPreferences
-
getRoomType
Generated method - Getter of theAccommodation.roomTypeattribute defined at extensiontravelservices.- Returns:
- the roomType
-
getSize
Generated method - Getter of theAccommodation.sizeattribute defined at extensiontravelservices.- Returns:
- the size
-
getType
Generated method - Getter of theAccommodation.typeattribute defined at extensiontravelservices.- Returns:
- the type
-
setAccommodationFacility
@Accessor(qualifier="accommodationFacility", type=SETTER) public void setAccommodationFacility(Collection<AccommodationFacilityModel> value) Generated method - Setter ofAccommodation.accommodationFacilityattribute defined at extensiontravelservices.- Parameters:
value- the accommodationFacility
-
setGuestOccupancies
@Accessor(qualifier="guestOccupancies", type=SETTER) public void setGuestOccupancies(List<GuestOccupancyModel> value) Generated method - Setter ofAccommodation.guestOccupanciesattribute defined at extensiontravelservices.- Parameters:
value- the guestOccupancies
-
setRatePlan
@Accessor(qualifier="ratePlan", type=SETTER) public void setRatePlan(Collection<RatePlanModel> value) Generated method - Setter ofAccommodation.ratePlanattribute defined at extensiontravelservices.- Parameters:
value- the ratePlan
-
setRatePlanConfigs
@Accessor(qualifier="ratePlanConfigs", type=SETTER) public void setRatePlanConfigs(Collection<RatePlanConfigModel> value) Generated method - Setter ofAccommodation.ratePlanConfigsattribute defined at extensiontravelservices.- Parameters:
value- the ratePlanConfigs
-
setRoomFloorConfigurations
@Accessor(qualifier="roomFloorConfigurations", type=SETTER) public void setRoomFloorConfigurations(List<RoomFloorConfigurationModel> value) Generated method - Setter ofAccommodation.roomFloorConfigurationsattribute defined at extensiontravelservices.- Parameters:
value- the roomFloorConfigurations
-
setRoomPreferences
@Accessor(qualifier="roomPreferences", type=SETTER) public void setRoomPreferences(Collection<RoomPreferenceModel> value) Generated method - Setter ofAccommodation.roomPreferencesattribute defined at extensiontravelservices.- Parameters:
value- the roomPreferences
-
setRoomType
Generated method - Setter ofAccommodation.roomTypeattribute defined at extensiontravelservices.- Parameters:
value- the roomType
-
setSize
Generated method - Setter ofAccommodation.sizeattribute defined at extensiontravelservices.- Parameters:
value- the size
-
setType
Generated method - Setter ofAccommodation.typeattribute defined at extensiontravelservices.- Parameters:
value- the type
-