Class SitePreferenceModel

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

public class SitePreferenceModel extends ItemModel
Generated model class for type SitePreference first defined at extension commerceservices.

Preferences for one site.

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 Customer2SitePreferences defining source attribute customer in extension commerceservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of SitePreference.customer attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of SitePreference.pickUpLocation attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of SitePreference.site attribute defined at extension commerceservices.

    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
    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
    SitePreferenceModel(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 SitePreference.customer attribute defined at extension commerceservices.
    Generated method - Getter of the SitePreference.pickUpLocation attribute defined at extension commerceservices.
    Generated method - Getter of the SitePreference.site attribute defined at extension commerceservices.
    void
    Generated method - Initial setter of SitePreference.customer attribute defined at extension commerceservices.
    void
    Generated method - Setter of SitePreference.pickUpLocation attribute defined at extension commerceservices.
    void
    Generated method - Initial setter of SitePreference.site attribute defined at extension commerceservices.

    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:
    • _CUSTOMER2SITEPREFERENCES

      public static final String _CUSTOMER2SITEPREFERENCES
      Generated relation code constant for relation Customer2SitePreferences defining source attribute customer in extension commerceservices.
      See Also:
    • SITE

      public static final String SITE
      Generated constant - Attribute key of SitePreference.site attribute defined at extension commerceservices.
      See Also:
    • PICKUPLOCATION

      public static final String PICKUPLOCATION
      Generated constant - Attribute key of SitePreference.pickUpLocation attribute defined at extension commerceservices.
      See Also:
    • CUSTOMER

      public static final String CUSTOMER
      Generated constant - Attribute key of SitePreference.customer attribute defined at extension commerceservices.
      See Also:
  • Constructor Details

    • SitePreferenceModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public SitePreferenceModel(CustomerModel _customer, BaseSiteModel _site)
      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:
      _customer - initial attribute declared by type SitePreference at extension commerceservices
      _site - initial attribute declared by type SitePreference at extension commerceservices
    • SitePreferenceModel

      @Deprecated(since="4.1.1", forRemoval=true) public SitePreferenceModel(CustomerModel _customer, ItemModel _owner, BaseSiteModel _site)
      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:
      _customer - initial attribute declared by type SitePreference at extension commerceservices
      _owner - initial attribute declared by type Item at extension core
      _site - initial attribute declared by type SitePreference at extension commerceservices
  • Method Details

    • getCustomer

      @Accessor(qualifier="customer", type=GETTER) public CustomerModel getCustomer()
      Generated method - Getter of the SitePreference.customer attribute defined at extension commerceservices.
      Returns:
      the customer
    • getPickUpLocation

      @Accessor(qualifier="pickUpLocation", type=GETTER) public PointOfServiceModel getPickUpLocation()
      Generated method - Getter of the SitePreference.pickUpLocation attribute defined at extension commerceservices.
      Returns:
      the pickUpLocation
    • getSite

      @Accessor(qualifier="site", type=GETTER) public BaseSiteModel getSite()
      Generated method - Getter of the SitePreference.site attribute defined at extension commerceservices.
      Returns:
      the site
    • setCustomer

      @Accessor(qualifier="customer", type=SETTER) public void setCustomer(CustomerModel value)
      Generated method - Initial setter of SitePreference.customer attribute defined at extension commerceservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the customer
    • setPickUpLocation

      @Accessor(qualifier="pickUpLocation", type=SETTER) public void setPickUpLocation(PointOfServiceModel value)
      Generated method - Setter of SitePreference.pickUpLocation attribute defined at extension commerceservices.
      Parameters:
      value - the pickUpLocation
    • setSite

      @Accessor(qualifier="site", type=SETTER) public void setSite(BaseSiteModel value)
      Generated method - Initial setter of SitePreference.site attribute defined at extension commerceservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the site