java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class GuaranteeModel extends AbstractFinancialInfoModel
Generated model class for type Guarantee first defined at extension travelservices.

This item represents a guarantee that is required by a rate plan.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _RATEPLANGUARANTEERELATION
      Generated relation code constant for relation RatePlanGuaranteeRelation defining source attribute ratePlan in extension travelservices.
      See Also:
    • TYPE

      public static final String TYPE
      Generated constant - Attribute key of Guarantee.type attribute defined at extension travelservices.
      See Also:
    • SHORTDESCRIPTION

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

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

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

    • GuaranteeModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public GuaranteeModel(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 Guarantee.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 Guarantee.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
    • getRatePlan

      @Accessor(qualifier="ratePlan", type=GETTER) public Collection<RatePlanModel> getRatePlan()
      Generated method - Getter of the Guarantee.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 Guarantee.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 Guarantee.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
    • getType

      @Accessor(qualifier="type", type=GETTER) public GuaranteeType getType()
      Generated method - Getter of the Guarantee.type attribute defined at extension travelservices.
      Returns:
      the type
    • setLongDescription

      @Accessor(qualifier="longDescription", type=SETTER) public void setLongDescription(String value)
      Generated method - Setter of Guarantee.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 Guarantee.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
    • setRatePlan

      @Accessor(qualifier="ratePlan", type=SETTER) public void setRatePlan(Collection<RatePlanModel> value)
      Generated method - Setter of Guarantee.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 Guarantee.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 Guarantee.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
    • setType

      @Accessor(qualifier="type", type=SETTER) public void setType(GuaranteeType value)
      Generated method - Setter of Guarantee.type attribute defined at extension travelservices.
      Parameters:
      value - the type