Class AccommodationRefinementComponentModel

All Implemented Interfaces:
Serializable

public class AccommodationRefinementComponentModel extends SimpleCMSComponentModel
Generated model class for type AccommodationRefinementComponent first defined at extension accommodationaddon.

It provides a faceting functionality on accommodation search page.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String TITLE
      Generated constant - Attribute key of AccommodationRefinementComponent.title attribute defined at extension accommodationaddon.
      See Also:
  • Constructor Details

    • AccommodationRefinementComponentModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public AccommodationRefinementComponentModel(CatalogVersionModel _catalogVersion, String _uid)
      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 CMSItem at extension cms2
      _uid - initial attribute declared by type CMSItem at extension cms2
    • AccommodationRefinementComponentModel

      @Deprecated(since="4.1.1", forRemoval=true) public AccommodationRefinementComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, String _uid)
      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 CMSItem at extension cms2
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type CMSItem at extension cms2
  • Method Details

    • getTitle

      @Accessor(qualifier="title", type=GETTER) public String getTitle()
      Generated method - Getter of the AccommodationRefinementComponent.title attribute defined at extension accommodationaddon.
      Returns:
      the title - It is localized title of the component.
    • getTitle

      @Accessor(qualifier="title", type=GETTER) public String getTitle(Locale loc)
      Generated method - Getter of the AccommodationRefinementComponent.title attribute defined at extension accommodationaddon.
      Parameters:
      loc - the value localization key
      Returns:
      the title - It is localized title of the component.
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setTitle

      @Accessor(qualifier="title", type=SETTER) public void setTitle(String value)
      Generated method - Setter of AccommodationRefinementComponent.title attribute defined at extension accommodationaddon.
      Parameters:
      value - the title - It is localized title of the component.
    • setTitle

      @Accessor(qualifier="title", type=SETTER) public void setTitle(String value, Locale loc)
      Generated method - Setter of AccommodationRefinementComponent.title attribute defined at extension accommodationaddon.
      Parameters:
      value - the title - It is localized title of the component.
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language