Class AccommodationBundleTemplateModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.configurablebundleservices.model.BundleTemplateModel
de.hybris.platform.travelservices.model.deal.AccommodationBundleTemplateModel
- All Implemented Interfaces:
Serializable
Generated model class for type AccommodationBundleTemplate first defined at extension travelservices.
This item represents the accommodation part of a static deal bundle template.
- 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 model type code constant.static final StringGenerated constant - Attribute key ofAccommodationBundleTemplate.accommodationattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAccommodationBundleTemplate.accommodationOfferingattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAccommodationBundleTemplate.ratePlanattribute defined at extensiontravelservices.Fields inherited from class de.hybris.platform.configurablebundleservices.model.BundleTemplateModel
_BUNDLETEMPLATERELATION, _BUNDLETEMPLATESTATUSRELATION, _PRODUCTSBUNDLETEMPLATESRELATION, _REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION, BUNDLESELECTIONCRITERIA, CATALOGVERSION, CHANGEPRODUCTPRICEBUNDLERULES, CHILDTEMPLATES, DEPENDENTBUNDLETEMPLATES, DESCRIPTION, DISABLEPRODUCTBUNDLERULES, ID, IGNORERULES, NAME, PARENTTEMPLATE, PARENTTEMPLATEPOS, PRODUCTS, PROMOTIONAL, REQUIREDBUNDLETEMPLATES, STATUS, TYPE, VERSIONFields 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.AccommodationBundleTemplateModel(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 parametersAccommodationBundleTemplateModel(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 parametersAccommodationBundleTemplateModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theAccommodationBundleTemplate.accommodationattribute defined at extensiontravelservices.Generated method - Getter of theAccommodationBundleTemplate.accommodationOfferingattribute defined at extensiontravelservices.Generated method - Getter of theAccommodationBundleTemplate.ratePlanattribute defined at extensiontravelservices.voidGenerated method - Setter ofAccommodationBundleTemplate.accommodationattribute defined at extensiontravelservices.voidGenerated method - Setter ofAccommodationBundleTemplate.accommodationOfferingattribute defined at extensiontravelservices.voidsetRatePlan(RatePlanModel value) Generated method - Setter ofAccommodationBundleTemplate.ratePlanattribute defined at extensiontravelservices.Methods inherited from class de.hybris.platform.configurablebundleservices.model.BundleTemplateModel
getBundleSelectionCriteria, getCatalogVersion, getChangeProductPriceBundleRules, getChildTemplates, getDependentBundleTemplates, getDescription, getDescription, getDisableProductBundleRules, getId, getIgnoreRules, getName, getName, getParentTemplate, getProducts, getPromotional, getRequiredBundleTemplates, getStatus, getType, getVersion, setBundleSelectionCriteria, setCatalogVersion, setChangeProductPriceBundleRules, setChildTemplates, setDependentBundleTemplates, setDescription, setDescription, setDisableProductBundleRules, setId, setIgnoreRules, setName, setName, setParentTemplate, setProducts, setPromotional, setRequiredBundleTemplates, setStatus, setType, setVersionMethods 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:
-
ACCOMMODATIONOFFERING
Generated constant - Attribute key ofAccommodationBundleTemplate.accommodationOfferingattribute defined at extensiontravelservices.- See Also:
-
ACCOMMODATION
Generated constant - Attribute key ofAccommodationBundleTemplate.accommodationattribute defined at extensiontravelservices.- See Also:
-
RATEPLAN
Generated constant - Attribute key ofAccommodationBundleTemplate.ratePlanattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
AccommodationBundleTemplateModel
public AccommodationBundleTemplateModel()Generated constructor - Default constructor for generic creation. -
AccommodationBundleTemplateModel
public AccommodationBundleTemplateModel(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
-
AccommodationBundleTemplateModel
@Deprecated(since="4.1.1", forRemoval=true) public AccommodationBundleTemplateModel(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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeBundleTemplateat extensionconfigurablebundleservices_id- initial attribute declared by typeBundleTemplateat extensionconfigurablebundleservices_version- initial attribute declared by typeBundleTemplateat extensionconfigurablebundleservices
-
AccommodationBundleTemplateModel
@Deprecated(since="4.1.1", forRemoval=true) public AccommodationBundleTemplateModel(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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeBundleTemplateat extensionconfigurablebundleservices_id- initial attribute declared by typeBundleTemplateat extensionconfigurablebundleservices_owner- initial attribute declared by typeItemat extensioncore_parentTemplate- initial attribute declared by typeBundleTemplateat extensionconfigurablebundleservices_version- initial attribute declared by typeBundleTemplateat extensionconfigurablebundleservices
-
-
Method Details
-
getAccommodation
Generated method - Getter of theAccommodationBundleTemplate.accommodationattribute defined at extensiontravelservices.- Returns:
- the accommodation
-
getAccommodationOffering
@Accessor(qualifier="accommodationOffering", type=GETTER) public AccommodationOfferingModel getAccommodationOffering()Generated method - Getter of theAccommodationBundleTemplate.accommodationOfferingattribute defined at extensiontravelservices.- Returns:
- the accommodationOffering
-
getRatePlan
Generated method - Getter of theAccommodationBundleTemplate.ratePlanattribute defined at extensiontravelservices.- Returns:
- the ratePlan
-
setAccommodation
@Accessor(qualifier="accommodation", type=SETTER) public void setAccommodation(AccommodationModel value) Generated method - Setter ofAccommodationBundleTemplate.accommodationattribute defined at extensiontravelservices.- Parameters:
value- the accommodation
-
setAccommodationOffering
@Accessor(qualifier="accommodationOffering", type=SETTER) public void setAccommodationOffering(AccommodationOfferingModel value) Generated method - Setter ofAccommodationBundleTemplate.accommodationOfferingattribute defined at extensiontravelservices.- Parameters:
value- the accommodationOffering
-
setRatePlan
Generated method - Setter ofAccommodationBundleTemplate.ratePlanattribute defined at extensiontravelservices.- Parameters:
value- the ratePlan
-