Class RatePlanConfigModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.accommodation.RatePlanConfigModel
- All Implemented Interfaces:
Serializable
Generated model class for type RatePlanConfig first defined at extension travelservices.
This item represents the configuration for a rate plan to be used in a marketing rate plan info.
- 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 relationMarketingRatePlanInfoRatePlanConfigRelationdefining source attributemarketingRatePlanInfoin extensiontravelservices.static final StringGenerated relation code constant for relationRatePlanConfigAccommodationRelationdefining source attributeaccommodationin extensiontravelservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofRatePlanConfig.accommodationattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlanConfig.catalogVersionattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlanConfig.codeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlanConfig.marketingRatePlanInfoattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlanConfig.quantityattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofRatePlanConfig.ratePlanattribute defined at extensiontravelservices.Fields 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.RatePlanConfigModel(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 parametersRatePlanConfigModel(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 parametersRatePlanConfigModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theRatePlanConfig.accommodationattribute defined at extensiontravelservices.Generated method - Getter of theRatePlanConfig.catalogVersionattribute defined at extensiontravelservices.getCode()Generated method - Getter of theRatePlanConfig.codeattribute defined at extensiontravelservices.Generated method - Getter of theRatePlanConfig.marketingRatePlanInfoattribute defined at extensiontravelservices.Generated method - Getter of theRatePlanConfig.quantityattribute defined at extensiontravelservices.Generated method - Getter of theRatePlanConfig.ratePlanattribute defined at extensiontravelservices.voidGenerated method - Setter ofRatePlanConfig.accommodationattribute defined at extensiontravelservices.voidGenerated method - Setter ofRatePlanConfig.catalogVersionattribute defined at extensiontravelservices.voidGenerated method - Setter ofRatePlanConfig.codeattribute defined at extensiontravelservices.voidGenerated method - Setter ofRatePlanConfig.marketingRatePlanInfoattribute defined at extensiontravelservices.voidsetQuantity(Integer value) Generated method - Setter ofRatePlanConfig.quantityattribute defined at extensiontravelservices.voidsetRatePlan(RatePlanModel value) Generated method - Setter ofRatePlanConfig.ratePlanattribute defined at extensiontravelservices.Methods 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:
-
_MARKETINGRATEPLANINFORATEPLANCONFIGRELATION
Generated relation code constant for relationMarketingRatePlanInfoRatePlanConfigRelationdefining source attributemarketingRatePlanInfoin extensiontravelservices.- See Also:
-
_RATEPLANCONFIGACCOMMODATIONRELATION
Generated relation code constant for relationRatePlanConfigAccommodationRelationdefining source attributeaccommodationin extensiontravelservices.- See Also:
-
CODE
Generated constant - Attribute key ofRatePlanConfig.codeattribute defined at extensiontravelservices.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofRatePlanConfig.catalogVersionattribute defined at extensiontravelservices.- See Also:
-
RATEPLAN
Generated constant - Attribute key ofRatePlanConfig.ratePlanattribute defined at extensiontravelservices.- See Also:
-
QUANTITY
Generated constant - Attribute key ofRatePlanConfig.quantityattribute defined at extensiontravelservices.- See Also:
-
MARKETINGRATEPLANINFO
Generated constant - Attribute key ofRatePlanConfig.marketingRatePlanInfoattribute defined at extensiontravelservices.- See Also:
-
ACCOMMODATION
Generated constant - Attribute key ofRatePlanConfig.accommodationattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
RatePlanConfigModel
public RatePlanConfigModel()Generated constructor - Default constructor for generic creation. -
RatePlanConfigModel
public RatePlanConfigModel(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
-
RatePlanConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public RatePlanConfigModel(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 typeRatePlanConfigat extensiontravelservices_code- initial attribute declared by typeRatePlanConfigat extensiontravelservices
-
RatePlanConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public RatePlanConfigModel(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 typeRatePlanConfigat extensiontravelservices_code- initial attribute declared by typeRatePlanConfigat extensiontravelservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getAccommodation
Generated method - Getter of theRatePlanConfig.accommodationattribute defined at extensiontravelservices.- Returns:
- the accommodation
-
getCatalogVersion
Generated method - Getter of theRatePlanConfig.catalogVersionattribute defined at extensiontravelservices.- Returns:
- the catalogVersion
-
getCode
Generated method - Getter of theRatePlanConfig.codeattribute defined at extensiontravelservices.- Returns:
- the code
-
getMarketingRatePlanInfo
@Accessor(qualifier="marketingRatePlanInfo", type=GETTER) public Collection<MarketingRatePlanInfoModel> getMarketingRatePlanInfo()Generated method - Getter of theRatePlanConfig.marketingRatePlanInfoattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the marketingRatePlanInfo
-
getQuantity
Generated method - Getter of theRatePlanConfig.quantityattribute defined at extensiontravelservices.- Returns:
- the quantity
-
getRatePlan
Generated method - Getter of theRatePlanConfig.ratePlanattribute defined at extensiontravelservices.- Returns:
- the ratePlan
-
setAccommodation
@Accessor(qualifier="accommodation", type=SETTER) public void setAccommodation(AccommodationModel value) Generated method - Setter ofRatePlanConfig.accommodationattribute defined at extensiontravelservices.- Parameters:
value- the accommodation
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value) Generated method - Setter ofRatePlanConfig.catalogVersionattribute defined at extensiontravelservices.- Parameters:
value- the catalogVersion
-
setCode
Generated method - Setter ofRatePlanConfig.codeattribute defined at extensiontravelservices.- Parameters:
value- the code
-
setMarketingRatePlanInfo
@Accessor(qualifier="marketingRatePlanInfo", type=SETTER) public void setMarketingRatePlanInfo(Collection<MarketingRatePlanInfoModel> value) Generated method - Setter ofRatePlanConfig.marketingRatePlanInfoattribute defined at extensiontravelservices.- Parameters:
value- the marketingRatePlanInfo
-
setQuantity
Generated method - Setter ofRatePlanConfig.quantityattribute defined at extensiontravelservices.- Parameters:
value- the quantity
-
setRatePlan
Generated method - Setter ofRatePlanConfig.ratePlanattribute defined at extensiontravelservices.- Parameters:
value- the ratePlan
-