Class RatePlanInclusionModel

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

public class RatePlanInclusionModel extends ItemModel
Generated model class for type RatePlanInclusion first defined at extension travelservices.

This item represents a generic rateplan inclusion and some editorial information.

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 relation code constant for relation RatePlanInclusionRelation defining source attribute ratePlan in extension travelservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of RatePlanInclusion.longDescription attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of RatePlanInclusion.medias attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of RatePlanInclusion.ratePlan attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of RatePlanInclusion.shortDescription 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
    RatePlanInclusionModel(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 RatePlanInclusion.longDescription attribute defined at extension travelservices.
    Generated method - Getter of the RatePlanInclusion.longDescription attribute defined at extension travelservices.
    Generated method - Getter of the RatePlanInclusion.medias attribute defined at extension travelservices.
    Generated method - Getter of the RatePlanInclusion.ratePlan attribute defined at extension travelservices.
    Generated method - Getter of the RatePlanInclusion.shortDescription attribute defined at extension travelservices.
    Generated method - Getter of the RatePlanInclusion.shortDescription attribute defined at extension travelservices.
    void
    Generated method - Setter of RatePlanInclusion.longDescription attribute defined at extension travelservices.
    void
    Generated method - Setter of RatePlanInclusion.longDescription attribute defined at extension travelservices.
    void
    Generated method - Setter of RatePlanInclusion.medias attribute defined at extension travelservices.
    void
    Generated method - Setter of RatePlanInclusion.ratePlan attribute defined at extension travelservices.
    void
    Generated method - Setter of RatePlanInclusion.shortDescription attribute defined at extension travelservices.
    void
    Generated method - Setter of RatePlanInclusion.shortDescription 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:
    • _RATEPLANINCLUSIONRELATION

      public static final String _RATEPLANINCLUSIONRELATION
      Generated relation code constant for relation RatePlanInclusionRelation defining source attribute ratePlan in extension travelservices.
      See Also:
    • MEDIAS

      public static final String MEDIAS
      Generated constant - Attribute key of RatePlanInclusion.medias attribute defined at extension travelservices.
      See Also:
    • SHORTDESCRIPTION

      public static final String SHORTDESCRIPTION
      Generated constant - Attribute key of RatePlanInclusion.shortDescription attribute defined at extension travelservices.
      See Also:
    • LONGDESCRIPTION

      public static final String LONGDESCRIPTION
      Generated constant - Attribute key of RatePlanInclusion.longDescription attribute defined at extension travelservices.
      See Also:
    • RATEPLAN

      public static final String RATEPLAN
      Generated constant - Attribute key of RatePlanInclusion.ratePlan attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • RatePlanInclusionModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public RatePlanInclusionModel(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

    • getLongDescription

      @Accessor(qualifier="longDescription", type=GETTER) public String getLongDescription()
      Generated method - Getter of the RatePlanInclusion.longDescription attribute defined at extension travelservices.
      Returns:
      the longDescription
    • getLongDescription

      @Accessor(qualifier="longDescription", type=GETTER) public String getLongDescription(Locale loc)
      Generated method - Getter of the RatePlanInclusion.longDescription attribute defined at extension travelservices.
      Parameters:
      loc - the value localization key
      Returns:
      the longDescription
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getMedias

      @Accessor(qualifier="medias", type=GETTER) public MediaContainerModel getMedias()
      Generated method - Getter of the RatePlanInclusion.medias attribute defined at extension travelservices.
      Returns:
      the medias
    • getRatePlan

      @Accessor(qualifier="ratePlan", type=GETTER) public Collection<RatePlanModel> getRatePlan()
      Generated method - Getter of the RatePlanInclusion.ratePlan attribute defined at extension travelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the ratePlan
    • getShortDescription

      @Accessor(qualifier="shortDescription", type=GETTER) public String getShortDescription()
      Generated method - Getter of the RatePlanInclusion.shortDescription attribute defined at extension travelservices.
      Returns:
      the shortDescription
    • getShortDescription

      @Accessor(qualifier="shortDescription", type=GETTER) public String getShortDescription(Locale loc)
      Generated method - Getter of the RatePlanInclusion.shortDescription attribute defined at extension travelservices.
      Parameters:
      loc - the value localization key
      Returns:
      the shortDescription
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setLongDescription

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

      @Accessor(qualifier="longDescription", type=SETTER) public void setLongDescription(String value, Locale loc)
      Generated method - Setter of RatePlanInclusion.longDescription attribute defined at extension travelservices.
      Parameters:
      value - the longDescription
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setMedias

      @Accessor(qualifier="medias", type=SETTER) public void setMedias(MediaContainerModel value)
      Generated method - Setter of RatePlanInclusion.medias attribute defined at extension travelservices.
      Parameters:
      value - the medias
    • setRatePlan

      @Accessor(qualifier="ratePlan", type=SETTER) public void setRatePlan(Collection<RatePlanModel> value)
      Generated method - Setter of RatePlanInclusion.ratePlan attribute defined at extension travelservices.
      Parameters:
      value - the ratePlan
    • setShortDescription

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

      @Accessor(qualifier="shortDescription", type=SETTER) public void setShortDescription(String value, Locale loc)
      Generated method - Setter of RatePlanInclusion.shortDescription attribute defined at extension travelservices.
      Parameters:
      value - the shortDescription
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language