Class TravelRestrictionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.travel.TravelRestrictionModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OfferGroupRestrictionModel
Generated model class for type TravelRestriction first defined at extension travelservices.
This type represents a travel limitation or rule.
- 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 ofTravelRestriction.addToCartCriteriaattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTravelRestriction.codeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTravelRestriction.effectiveDateattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTravelRestriction.expireDateattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTravelRestriction.passengerTypesattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTravelRestriction.travellerMaxOfferQtyattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTravelRestriction.travellerMinOfferQtyattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTravelRestriction.tripMaxOfferQtyattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTravelRestriction.tripMinOfferQtyattribute 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.TravelRestrictionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextTravelRestrictionModel(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 parametersTravelRestrictionModel(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 parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTravelRestriction.addToCartCriteriaattribute defined at extensiontravelservices.getCode()Generated method - Getter of theTravelRestriction.codeattribute defined at extensiontravelservices.Generated method - Getter of theTravelRestriction.effectiveDateattribute defined at extensiontravelservices.Generated method - Getter of theTravelRestriction.expireDateattribute defined at extensiontravelservices.Generated method - Getter of theTravelRestriction.passengerTypesattribute defined at extensiontravelservices.Generated method - Getter of theTravelRestriction.travellerMaxOfferQtyattribute defined at extensiontravelservices.Generated method - Getter of theTravelRestriction.travellerMinOfferQtyattribute defined at extensiontravelservices.Generated method - Getter of theTravelRestriction.tripMaxOfferQtyattribute defined at extensiontravelservices.Generated method - Getter of theTravelRestriction.tripMinOfferQtyattribute defined at extensiontravelservices.voidGenerated method - Setter ofTravelRestriction.addToCartCriteriaattribute defined at extensiontravelservices.voidGenerated method - Setter ofTravelRestriction.codeattribute defined at extensiontravelservices.voidsetEffectiveDate(Date value) Generated method - Setter ofTravelRestriction.effectiveDateattribute defined at extensiontravelservices.voidsetExpireDate(Date value) Generated method - Setter ofTravelRestriction.expireDateattribute defined at extensiontravelservices.voidsetPassengerTypes(List<String> value) Generated method - Setter ofTravelRestriction.passengerTypesattribute defined at extensiontravelservices.voidsetTravellerMaxOfferQty(Integer value) Generated method - Setter ofTravelRestriction.travellerMaxOfferQtyattribute defined at extensiontravelservices.voidsetTravellerMinOfferQty(Integer value) Generated method - Setter ofTravelRestriction.travellerMinOfferQtyattribute defined at extensiontravelservices.voidsetTripMaxOfferQty(Integer value) Generated method - Setter ofTravelRestriction.tripMaxOfferQtyattribute defined at extensiontravelservices.voidsetTripMinOfferQty(Integer value) Generated method - Setter ofTravelRestriction.tripMinOfferQtyattribute 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:
-
CODE
Generated constant - Attribute key ofTravelRestriction.codeattribute defined at extensiontravelservices.- See Also:
-
EFFECTIVEDATE
Generated constant - Attribute key ofTravelRestriction.effectiveDateattribute defined at extensiontravelservices.- See Also:
-
EXPIREDATE
Generated constant - Attribute key ofTravelRestriction.expireDateattribute defined at extensiontravelservices.- See Also:
-
TRAVELLERMAXOFFERQTY
Generated constant - Attribute key ofTravelRestriction.travellerMaxOfferQtyattribute defined at extensiontravelservices.- See Also:
-
TRAVELLERMINOFFERQTY
Generated constant - Attribute key ofTravelRestriction.travellerMinOfferQtyattribute defined at extensiontravelservices.- See Also:
-
TRIPMAXOFFERQTY
Generated constant - Attribute key ofTravelRestriction.tripMaxOfferQtyattribute defined at extensiontravelservices.- See Also:
-
TRIPMINOFFERQTY
Generated constant - Attribute key ofTravelRestriction.tripMinOfferQtyattribute defined at extensiontravelservices.- See Also:
-
PASSENGERTYPES
Generated constant - Attribute key ofTravelRestriction.passengerTypesattribute defined at extensiontravelservices.- See Also:
-
ADDTOCARTCRITERIA
Generated constant - Attribute key ofTravelRestriction.addToCartCriteriaattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
TravelRestrictionModel
public TravelRestrictionModel()Generated constructor - Default constructor for generic creation. -
TravelRestrictionModel
public TravelRestrictionModel(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
-
TravelRestrictionModel
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:
_code- initial attribute declared by typeTravelRestrictionat extensiontravelservices
-
TravelRestrictionModel
@Deprecated(since="4.1.1", forRemoval=true) public TravelRestrictionModel(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:
_code- initial attribute declared by typeTravelRestrictionat extensiontravelservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getAddToCartCriteria
@Accessor(qualifier="addToCartCriteria", type=GETTER) public AddToCartCriteriaType getAddToCartCriteria()Generated method - Getter of theTravelRestriction.addToCartCriteriaattribute defined at extensiontravelservices.- Returns:
- the addToCartCriteria
-
getCode
Generated method - Getter of theTravelRestriction.codeattribute defined at extensiontravelservices.- Returns:
- the code
-
getEffectiveDate
Generated method - Getter of theTravelRestriction.effectiveDateattribute defined at extensiontravelservices.- Returns:
- the effectiveDate
-
getExpireDate
Generated method - Getter of theTravelRestriction.expireDateattribute defined at extensiontravelservices.- Returns:
- the expireDate
-
getPassengerTypes
Generated method - Getter of theTravelRestriction.passengerTypesattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the passengerTypes
-
getTravellerMaxOfferQty
Generated method - Getter of theTravelRestriction.travellerMaxOfferQtyattribute defined at extensiontravelservices.- Returns:
- the travellerMaxOfferQty
-
getTravellerMinOfferQty
Generated method - Getter of theTravelRestriction.travellerMinOfferQtyattribute defined at extensiontravelservices.- Returns:
- the travellerMinOfferQty
-
getTripMaxOfferQty
Generated method - Getter of theTravelRestriction.tripMaxOfferQtyattribute defined at extensiontravelservices.- Returns:
- the tripMaxOfferQty
-
getTripMinOfferQty
Generated method - Getter of theTravelRestriction.tripMinOfferQtyattribute defined at extensiontravelservices.- Returns:
- the tripMinOfferQty
-
setAddToCartCriteria
@Accessor(qualifier="addToCartCriteria", type=SETTER) public void setAddToCartCriteria(AddToCartCriteriaType value) Generated method - Setter ofTravelRestriction.addToCartCriteriaattribute defined at extensiontravelservices.- Parameters:
value- the addToCartCriteria
-
setCode
Generated method - Setter ofTravelRestriction.codeattribute defined at extensiontravelservices.- Parameters:
value- the code
-
setEffectiveDate
Generated method - Setter ofTravelRestriction.effectiveDateattribute defined at extensiontravelservices.- Parameters:
value- the effectiveDate
-
setExpireDate
Generated method - Setter ofTravelRestriction.expireDateattribute defined at extensiontravelservices.- Parameters:
value- the expireDate
-
setPassengerTypes
@Accessor(qualifier="passengerTypes", type=SETTER) public void setPassengerTypes(List<String> value) Generated method - Setter ofTravelRestriction.passengerTypesattribute defined at extensiontravelservices.- Parameters:
value- the passengerTypes
-
setTravellerMaxOfferQty
@Accessor(qualifier="travellerMaxOfferQty", type=SETTER) public void setTravellerMaxOfferQty(Integer value) Generated method - Setter ofTravelRestriction.travellerMaxOfferQtyattribute defined at extensiontravelservices.- Parameters:
value- the travellerMaxOfferQty
-
setTravellerMinOfferQty
@Accessor(qualifier="travellerMinOfferQty", type=SETTER) public void setTravellerMinOfferQty(Integer value) Generated method - Setter ofTravelRestriction.travellerMinOfferQtyattribute defined at extensiontravelservices.- Parameters:
value- the travellerMinOfferQty
-
setTripMaxOfferQty
Generated method - Setter ofTravelRestriction.tripMaxOfferQtyattribute defined at extensiontravelservices.- Parameters:
value- the tripMaxOfferQty
-
setTripMinOfferQty
Generated method - Setter ofTravelRestriction.tripMinOfferQtyattribute defined at extensiontravelservices.- Parameters:
value- the tripMinOfferQty
-