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
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofStaticPackage.availabilityDatesattribute defined at extensionstaticpackageservices.static final StringGenerated constant - Attribute key ofStaticPackage.catalogVersionattribute defined at extensionstaticpackageservices.static final StringGenerated constant - Attribute key ofStaticPackage.durationattribute defined at extensionstaticpackageservices.static final StringGenerated constant - Attribute key ofStaticPackage.flightPackageattribute defined at extensionstaticpackageservices.static final StringGenerated constant - Attribute key ofStaticPackage.guestCountsattribute defined at extensionstaticpackageservices.static final StringGenerated constant - Attribute key ofStaticPackage.idattribute defined at extensionstaticpackageservices.static final StringGenerated constant - Attribute key ofStaticPackage.percentageDiscountattribute defined at extensionstaticpackageservices.static final StringGenerated constant - Attribute key ofStaticPackage.productsattribute defined at extensionstaticpackageservices.static final StringGenerated constant - Attribute key ofStaticPackage.roomPackageattribute defined at extensionstaticpackageservices.static final StringGenerated constant - Attribute key ofStaticPackage.startingDatePatternattribute defined at extensionstaticpackageservices.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.StaticPackageModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextStaticPackageModel(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 parametersStaticPackageModel(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 TypeMethodDescriptionGenerated method - Getter of theStaticPackage.availabilityDatesattribute defined at extensionstaticpackageservices.Generated method - Getter of theStaticPackage.catalogVersionattribute defined at extensionstaticpackageservices.Generated method - Getter of theStaticPackage.durationattribute defined at extensionstaticpackageservices.Generated method - Getter of theStaticPackage.flightPackageattribute defined at extensionstaticpackageservices.Generated method - Getter of theStaticPackage.guestCountsattribute defined at extensionstaticpackageservices.getId()Generated method - Getter of theStaticPackage.idattribute defined at extensionstaticpackageservices.Generated method - Getter of theStaticPackage.percentageDiscountattribute defined at extensionstaticpackageservices.Generated method - Getter of theStaticPackage.productsattribute defined at extensionstaticpackageservices.Generated method - Getter of theStaticPackage.roomPackageattribute defined at extensionstaticpackageservices.Generated method - Getter of theStaticPackage.startingDatePatternattribute defined at extensionstaticpackageservices.voidsetAvailabilityDates(List<Date> value) Generated method - Setter ofStaticPackage.availabilityDatesattribute defined at extensionstaticpackageservices.voidGenerated method - Setter ofStaticPackage.catalogVersionattribute defined at extensionstaticpackageservices.voidsetDuration(Long value) Generated method - Setter ofStaticPackage.durationattribute defined at extensionstaticpackageservices.voidGenerated method - Setter ofStaticPackage.flightPackageattribute defined at extensionstaticpackageservices.voidsetGuestCounts(List<GuestCountModel> value) Generated method - Setter ofStaticPackage.guestCountsattribute defined at extensionstaticpackageservices.voidGenerated method - Setter ofStaticPackage.idattribute defined at extensionstaticpackageservices.voidsetPercentageDiscount(Long value) Generated method - Setter ofStaticPackage.percentageDiscountattribute defined at extensionstaticpackageservices.voidsetProducts(Collection<ProductModel> value) Generated method - Setter ofStaticPackage.productsattribute defined at extensionstaticpackageservices.voidsetRoomPackage(RoomPackageModel value) Generated method - Setter ofStaticPackage.roomPackageattribute defined at extensionstaticpackageservices.voidsetStartingDatePattern(String value) Generated method - Setter ofStaticPackage.startingDatePatternattribute defined at extensionstaticpackageservices.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:
-
ID
Generated constant - Attribute key ofStaticPackage.idattribute defined at extensionstaticpackageservices.- See Also:
-
AVAILABILITYDATES
Generated constant - Attribute key ofStaticPackage.availabilityDatesattribute defined at extensionstaticpackageservices.- See Also:
-
STARTINGDATEPATTERN
Generated constant - Attribute key ofStaticPackage.startingDatePatternattribute defined at extensionstaticpackageservices.- See Also:
-
DURATION
Generated constant - Attribute key ofStaticPackage.durationattribute defined at extensionstaticpackageservices.- See Also:
-
PERCENTAGEDISCOUNT
Generated constant - Attribute key ofStaticPackage.percentageDiscountattribute defined at extensionstaticpackageservices.- See Also:
-
FLIGHTPACKAGE
Generated constant - Attribute key ofStaticPackage.flightPackageattribute defined at extensionstaticpackageservices.- See Also:
-
ROOMPACKAGE
Generated constant - Attribute key ofStaticPackage.roomPackageattribute defined at extensionstaticpackageservices.- See Also:
-
GUESTCOUNTS
Generated constant - Attribute key ofStaticPackage.guestCountsattribute defined at extensionstaticpackageservices.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofStaticPackage.catalogVersionattribute defined at extensionstaticpackageservices.- See Also:
-
PRODUCTS
Generated constant - Attribute key ofStaticPackage.productsattribute defined at extensionstaticpackageservices.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_availabilityDates- initial attribute declared by typeStaticPackageat extensionstaticpackageservices_catalogVersion- initial attribute declared by typeStaticPackageat extensionstaticpackageservices_flightPackage- initial attribute declared by typeStaticPackageat extensionstaticpackageservices_guestCounts- initial attribute declared by typeStaticPackageat extensionstaticpackageservices_id- initial attribute declared by typeStaticPackageat extensionstaticpackageservices_roomPackage- initial attribute declared by typeStaticPackageat extensionstaticpackageservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_availabilityDates- initial attribute declared by typeStaticPackageat extensionstaticpackageservices_catalogVersion- initial attribute declared by typeStaticPackageat extensionstaticpackageservices_flightPackage- initial attribute declared by typeStaticPackageat extensionstaticpackageservices_guestCounts- initial attribute declared by typeStaticPackageat extensionstaticpackageservices_id- initial attribute declared by typeStaticPackageat extensionstaticpackageservices_owner- initial attribute declared by typeItemat extensioncore_roomPackage- initial attribute declared by typeStaticPackageat extensionstaticpackageservices
-
-
Method Details
-
getAvailabilityDates
Generated method - Getter of theStaticPackage.availabilityDatesattribute defined at extensionstaticpackageservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the availabilityDates
-
getCatalogVersion
Generated method - Getter of theStaticPackage.catalogVersionattribute defined at extensionstaticpackageservices.- Returns:
- the catalogVersion
-
getDuration
Generated method - Getter of theStaticPackage.durationattribute defined at extensionstaticpackageservices.- Returns:
- the duration
-
getFlightPackage
Generated method - Getter of theStaticPackage.flightPackageattribute defined at extensionstaticpackageservices.- Returns:
- the flightPackage
-
getGuestCounts
Generated method - Getter of theStaticPackage.guestCountsattribute defined at extensionstaticpackageservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the guestCounts
-
getId
Generated method - Getter of theStaticPackage.idattribute defined at extensionstaticpackageservices.- Returns:
- the id
-
getPercentageDiscount
Generated method - Getter of theStaticPackage.percentageDiscountattribute defined at extensionstaticpackageservices.- Returns:
- the percentageDiscount
-
getProducts
Generated method - Getter of theStaticPackage.productsattribute defined at extensionstaticpackageservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the products
-
getRoomPackage
Generated method - Getter of theStaticPackage.roomPackageattribute defined at extensionstaticpackageservices.- Returns:
- the roomPackage
-
getStartingDatePattern
Generated method - Getter of theStaticPackage.startingDatePatternattribute defined at extensionstaticpackageservices.- Returns:
- the startingDatePattern
-
setAvailabilityDates
@Accessor(qualifier="availabilityDates", type=SETTER) public void setAvailabilityDates(List<Date> value) Generated method - Setter ofStaticPackage.availabilityDatesattribute defined at extensionstaticpackageservices.- Parameters:
value- the availabilityDates
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value) Generated method - Setter ofStaticPackage.catalogVersionattribute defined at extensionstaticpackageservices.- Parameters:
value- the catalogVersion
-
setDuration
Generated method - Setter ofStaticPackage.durationattribute defined at extensionstaticpackageservices.- Parameters:
value- the duration
-
setFlightPackage
@Accessor(qualifier="flightPackage", type=SETTER) public void setFlightPackage(FlightPackageModel value) Generated method - Setter ofStaticPackage.flightPackageattribute defined at extensionstaticpackageservices.- Parameters:
value- the flightPackage
-
setGuestCounts
@Accessor(qualifier="guestCounts", type=SETTER) public void setGuestCounts(List<GuestCountModel> value) Generated method - Setter ofStaticPackage.guestCountsattribute defined at extensionstaticpackageservices.- Parameters:
value- the guestCounts
-
setId
Generated method - Setter ofStaticPackage.idattribute defined at extensionstaticpackageservices.- Parameters:
value- the id
-
setPercentageDiscount
@Accessor(qualifier="percentageDiscount", type=SETTER) public void setPercentageDiscount(Long value) Generated method - Setter ofStaticPackage.percentageDiscountattribute defined at extensionstaticpackageservices.- Parameters:
value- the percentageDiscount
-
setProducts
@Accessor(qualifier="products", type=SETTER) public void setProducts(Collection<ProductModel> value) Generated method - Setter ofStaticPackage.productsattribute defined at extensionstaticpackageservices.- Parameters:
value- the products
-
setRoomPackage
Generated method - Setter ofStaticPackage.roomPackageattribute defined at extensionstaticpackageservices.- Parameters:
value- the roomPackage
-
setStartingDatePattern
@Accessor(qualifier="startingDatePattern", type=SETTER) public void setStartingDatePattern(String value) Generated method - Setter ofStaticPackage.startingDatePatternattribute defined at extensionstaticpackageservices.- Parameters:
value- the startingDatePattern
-