Class SleepingRoomModel

All Implemented Interfaces:
Serializable

public class SleepingRoomModel extends AccommodationModel
Generated model class for type SleepingRoom first defined at extension travelservices.

This type represents a sleeping room.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String VIEWTYPE
      Generated constant - Attribute key of SleepingRoom.viewType attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • SleepingRoomModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public SleepingRoomModel(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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type Product at extension catalog
      _code - initial attribute declared by type Product at extension core
    • SleepingRoomModel

      @Deprecated(since="4.1.1", forRemoval=true) public SleepingRoomModel(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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type Product at extension catalog
      _code - initial attribute declared by type Product at extension core
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getViewType

      @Accessor(qualifier="viewType", type=GETTER) public AccommodationViewType getViewType()
      Generated method - Getter of the SleepingRoom.viewType attribute defined at extension travelservices.
      Returns:
      the viewType
    • setViewType

      @Accessor(qualifier="viewType", type=SETTER) public void setViewType(AccommodationViewType value)
      Generated method - Setter of SleepingRoom.viewType attribute defined at extension travelservices.
      Parameters:
      value - the viewType