Class GuestOccupancyModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.accommodation.GuestOccupancyModel
All Implemented Interfaces:
Serializable

public class GuestOccupancyModel extends ItemModel
Generated model class for type GuestOccupancy first defined at extension travelservices.

This type holds min and max quantity of a certain guest type (depending on age range).

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 GuestOccupancy.code attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of GuestOccupancy.PassengerType attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of GuestOccupancy.quantityMax attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of GuestOccupancy.quantityMin 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.
    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
    GuestOccupancyModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the GuestOccupancy.code attribute defined at extension travelservices.
    Generated method - Getter of the GuestOccupancy.PassengerType attribute defined at extension travelservices.
    Generated method - Getter of the GuestOccupancy.quantityMax attribute defined at extension travelservices.
    Generated method - Getter of the GuestOccupancy.quantityMin attribute defined at extension travelservices.
    void
    setCode(String value)
    Generated method - Setter of GuestOccupancy.code attribute defined at extension travelservices.
    void
    Generated method - Setter of GuestOccupancy.PassengerType attribute defined at extension travelservices.
    void
    Generated method - Setter of GuestOccupancy.quantityMax attribute defined at extension travelservices.
    void
    Generated method - Setter of GuestOccupancy.quantityMin 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 GuestOccupancy.code attribute defined at extension travelservices.
      See Also:
    • PASSENGERTYPE

      public static final String PASSENGERTYPE
      Generated constant - Attribute key of GuestOccupancy.PassengerType attribute defined at extension travelservices.
      See Also:
    • QUANTITYMAX

      public static final String QUANTITYMAX
      Generated constant - Attribute key of GuestOccupancy.quantityMax attribute defined at extension travelservices.
      See Also:
    • QUANTITYMIN

      public static final String QUANTITYMIN
      Generated constant - Attribute key of GuestOccupancy.quantityMin attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • GuestOccupancyModel

      public GuestOccupancyModel()
      Generated constructor - Default constructor for generic creation.
    • GuestOccupancyModel

      public GuestOccupancyModel(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
    • GuestOccupancyModel

      @Deprecated(since="4.1.1", forRemoval=true) public GuestOccupancyModel(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:
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCode

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

      @Accessor(qualifier="PassengerType", type=GETTER) public PassengerTypeModel getPassengerType()
      Generated method - Getter of the GuestOccupancy.PassengerType attribute defined at extension travelservices.
      Returns:
      the PassengerType
    • getQuantityMax

      @Accessor(qualifier="quantityMax", type=GETTER) public Integer getQuantityMax()
      Generated method - Getter of the GuestOccupancy.quantityMax attribute defined at extension travelservices.
      Returns:
      the quantityMax
    • getQuantityMin

      @Accessor(qualifier="quantityMin", type=GETTER) public Integer getQuantityMin()
      Generated method - Getter of the GuestOccupancy.quantityMin attribute defined at extension travelservices.
      Returns:
      the quantityMin
    • setCode

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

      @Accessor(qualifier="PassengerType", type=SETTER) public void setPassengerType(PassengerTypeModel value)
      Generated method - Setter of GuestOccupancy.PassengerType attribute defined at extension travelservices.
      Parameters:
      value - the PassengerType
    • setQuantityMax

      @Accessor(qualifier="quantityMax", type=SETTER) public void setQuantityMax(Integer value)
      Generated method - Setter of GuestOccupancy.quantityMax attribute defined at extension travelservices.
      Parameters:
      value - the quantityMax
    • setQuantityMin

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