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

public class TravelRestrictionModel extends ItemModel
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of TravelRestriction.addToCartCriteria attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of TravelRestriction.code attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of TravelRestriction.effectiveDate attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of TravelRestriction.expireDate attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of TravelRestriction.passengerTypes attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of TravelRestriction.travellerMaxOfferQty attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of TravelRestriction.travellerMinOfferQty attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of TravelRestriction.tripMaxOfferQty attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of TravelRestriction.tripMinOfferQty attribute defined at extension travelservices.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    TravelRestrictionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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 Type
    Method
    Description
    Generated method - Getter of the TravelRestriction.addToCartCriteria attribute defined at extension travelservices.
    Generated method - Getter of the TravelRestriction.code attribute defined at extension travelservices.
    Generated method - Getter of the TravelRestriction.effectiveDate attribute defined at extension travelservices.
    Generated method - Getter of the TravelRestriction.expireDate attribute defined at extension travelservices.
    Generated method - Getter of the TravelRestriction.passengerTypes attribute defined at extension travelservices.
    Generated method - Getter of the TravelRestriction.travellerMaxOfferQty attribute defined at extension travelservices.
    Generated method - Getter of the TravelRestriction.travellerMinOfferQty attribute defined at extension travelservices.
    Generated method - Getter of the TravelRestriction.tripMaxOfferQty attribute defined at extension travelservices.
    Generated method - Getter of the TravelRestriction.tripMinOfferQty attribute defined at extension travelservices.
    void
    Generated method - Setter of TravelRestriction.addToCartCriteria attribute defined at extension travelservices.
    void
    setCode(String value)
    Generated method - Setter of TravelRestriction.code attribute defined at extension travelservices.
    void
    Generated method - Setter of TravelRestriction.effectiveDate attribute defined at extension travelservices.
    void
    Generated method - Setter of TravelRestriction.expireDate attribute defined at extension travelservices.
    void
    Generated method - Setter of TravelRestriction.passengerTypes attribute defined at extension travelservices.
    void
    Generated method - Setter of TravelRestriction.travellerMaxOfferQty attribute defined at extension travelservices.
    void
    Generated method - Setter of TravelRestriction.travellerMinOfferQty attribute defined at extension travelservices.
    void
    Generated method - Setter of TravelRestriction.tripMaxOfferQty attribute defined at extension travelservices.
    void
    Generated method - Setter of TravelRestriction.tripMinOfferQty attribute defined at extension travelservices.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of TravelRestriction.code attribute defined at extension travelservices.
      See Also:
    • EFFECTIVEDATE

      public static final String EFFECTIVEDATE
      Generated constant - Attribute key of TravelRestriction.effectiveDate attribute defined at extension travelservices.
      See Also:
    • EXPIREDATE

      public static final String EXPIREDATE
      Generated constant - Attribute key of TravelRestriction.expireDate attribute defined at extension travelservices.
      See Also:
    • TRAVELLERMAXOFFERQTY

      public static final String TRAVELLERMAXOFFERQTY
      Generated constant - Attribute key of TravelRestriction.travellerMaxOfferQty attribute defined at extension travelservices.
      See Also:
    • TRAVELLERMINOFFERQTY

      public static final String TRAVELLERMINOFFERQTY
      Generated constant - Attribute key of TravelRestriction.travellerMinOfferQty attribute defined at extension travelservices.
      See Also:
    • TRIPMAXOFFERQTY

      public static final String TRIPMAXOFFERQTY
      Generated constant - Attribute key of TravelRestriction.tripMaxOfferQty attribute defined at extension travelservices.
      See Also:
    • TRIPMINOFFERQTY

      public static final String TRIPMINOFFERQTY
      Generated constant - Attribute key of TravelRestriction.tripMinOfferQty attribute defined at extension travelservices.
      See Also:
    • PASSENGERTYPES

      public static final String PASSENGERTYPES
      Generated constant - Attribute key of TravelRestriction.passengerTypes attribute defined at extension travelservices.
      See Also:
    • ADDTOCARTCRITERIA

      public static final String ADDTOCARTCRITERIA
      Generated constant - Attribute key of TravelRestriction.addToCartCriteria attribute defined at extension travelservices.
      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(since="4.1.1", forRemoval=true) public TravelRestrictionModel(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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _code - initial attribute declared by type TravelRestriction at extension travelservices
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _code - initial attribute declared by type TravelRestriction at extension travelservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAddToCartCriteria

      @Accessor(qualifier="addToCartCriteria", type=GETTER) public AddToCartCriteriaType getAddToCartCriteria()
      Generated method - Getter of the TravelRestriction.addToCartCriteria attribute defined at extension travelservices.
      Returns:
      the addToCartCriteria
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the TravelRestriction.code attribute defined at extension travelservices.
      Returns:
      the code
    • getEffectiveDate

      @Accessor(qualifier="effectiveDate", type=GETTER) public Date getEffectiveDate()
      Generated method - Getter of the TravelRestriction.effectiveDate attribute defined at extension travelservices.
      Returns:
      the effectiveDate
    • getExpireDate

      @Accessor(qualifier="expireDate", type=GETTER) public Date getExpireDate()
      Generated method - Getter of the TravelRestriction.expireDate attribute defined at extension travelservices.
      Returns:
      the expireDate
    • getPassengerTypes

      @Accessor(qualifier="passengerTypes", type=GETTER) public List<String> getPassengerTypes()
      Generated method - Getter of the TravelRestriction.passengerTypes attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the passengerTypes
    • getTravellerMaxOfferQty

      @Accessor(qualifier="travellerMaxOfferQty", type=GETTER) public Integer getTravellerMaxOfferQty()
      Generated method - Getter of the TravelRestriction.travellerMaxOfferQty attribute defined at extension travelservices.
      Returns:
      the travellerMaxOfferQty
    • getTravellerMinOfferQty

      @Accessor(qualifier="travellerMinOfferQty", type=GETTER) public Integer getTravellerMinOfferQty()
      Generated method - Getter of the TravelRestriction.travellerMinOfferQty attribute defined at extension travelservices.
      Returns:
      the travellerMinOfferQty
    • getTripMaxOfferQty

      @Accessor(qualifier="tripMaxOfferQty", type=GETTER) public Integer getTripMaxOfferQty()
      Generated method - Getter of the TravelRestriction.tripMaxOfferQty attribute defined at extension travelservices.
      Returns:
      the tripMaxOfferQty
    • getTripMinOfferQty

      @Accessor(qualifier="tripMinOfferQty", type=GETTER) public Integer getTripMinOfferQty()
      Generated method - Getter of the TravelRestriction.tripMinOfferQty attribute defined at extension travelservices.
      Returns:
      the tripMinOfferQty
    • setAddToCartCriteria

      @Accessor(qualifier="addToCartCriteria", type=SETTER) public void setAddToCartCriteria(AddToCartCriteriaType value)
      Generated method - Setter of TravelRestriction.addToCartCriteria attribute defined at extension travelservices.
      Parameters:
      value - the addToCartCriteria
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of TravelRestriction.code attribute defined at extension travelservices.
      Parameters:
      value - the code
    • setEffectiveDate

      @Accessor(qualifier="effectiveDate", type=SETTER) public void setEffectiveDate(Date value)
      Generated method - Setter of TravelRestriction.effectiveDate attribute defined at extension travelservices.
      Parameters:
      value - the effectiveDate
    • setExpireDate

      @Accessor(qualifier="expireDate", type=SETTER) public void setExpireDate(Date value)
      Generated method - Setter of TravelRestriction.expireDate attribute defined at extension travelservices.
      Parameters:
      value - the expireDate
    • setPassengerTypes

      @Accessor(qualifier="passengerTypes", type=SETTER) public void setPassengerTypes(List<String> value)
      Generated method - Setter of TravelRestriction.passengerTypes attribute defined at extension travelservices.
      Parameters:
      value - the passengerTypes
    • setTravellerMaxOfferQty

      @Accessor(qualifier="travellerMaxOfferQty", type=SETTER) public void setTravellerMaxOfferQty(Integer value)
      Generated method - Setter of TravelRestriction.travellerMaxOfferQty attribute defined at extension travelservices.
      Parameters:
      value - the travellerMaxOfferQty
    • setTravellerMinOfferQty

      @Accessor(qualifier="travellerMinOfferQty", type=SETTER) public void setTravellerMinOfferQty(Integer value)
      Generated method - Setter of TravelRestriction.travellerMinOfferQty attribute defined at extension travelservices.
      Parameters:
      value - the travellerMinOfferQty
    • setTripMaxOfferQty

      @Accessor(qualifier="tripMaxOfferQty", type=SETTER) public void setTripMaxOfferQty(Integer value)
      Generated method - Setter of TravelRestriction.tripMaxOfferQty attribute defined at extension travelservices.
      Parameters:
      value - the tripMaxOfferQty
    • setTripMinOfferQty

      @Accessor(qualifier="tripMinOfferQty", type=SETTER) public void setTripMinOfferQty(Integer value)
      Generated method - Setter of TravelRestriction.tripMinOfferQty attribute defined at extension travelservices.
      Parameters:
      value - the tripMinOfferQty