Class TravellerPreferenceModel

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

public class TravellerPreferenceModel extends ItemModel
Generated model class for type TravellerPreference first defined at extension travelservices.

This type represents the preferences for a traveller.

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 TravellerTravellerPreferenceRelation defining source attribute traveller in extension travelservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of TravellerPreference.traveller attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of TravellerPreference.type attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of TravellerPreference.value 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
    TravellerPreferenceModel(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 TravellerPreference.traveller attribute defined at extension travelservices.
    Generated method - Getter of the TravellerPreference.type attribute defined at extension travelservices.
    Generated method - Getter of the TravellerPreference.value attribute defined at extension travelservices.
    void
    Generated method - Setter of TravellerPreference.traveller attribute defined at extension travelservices.
    void
    Generated method - Setter of TravellerPreference.type attribute defined at extension travelservices.
    void
    Generated method - Setter of TravellerPreference.value 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:
    • _TRAVELLERTRAVELLERPREFERENCERELATION

      public static final String _TRAVELLERTRAVELLERPREFERENCERELATION
      Generated relation code constant for relation TravellerTravellerPreferenceRelation defining source attribute traveller in extension travelservices.
      See Also:
    • TYPE

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

      public static final String VALUE
      Generated constant - Attribute key of TravellerPreference.value attribute defined at extension travelservices.
      See Also:
    • TRAVELLER

      public static final String TRAVELLER
      Generated constant - Attribute key of TravellerPreference.traveller attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • TravellerPreferenceModel

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

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

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

    • getTraveller

      @Accessor(qualifier="traveller", type=GETTER) public TravellerModel getTraveller()
      Generated method - Getter of the TravellerPreference.traveller attribute defined at extension travelservices.
      Returns:
      the traveller
    • getType

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

      @Accessor(qualifier="value", type=GETTER) public String getValue()
      Generated method - Getter of the TravellerPreference.value attribute defined at extension travelservices.
      Returns:
      the value
    • setTraveller

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

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

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