Class CxUserToSegmentModel

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

public class CxUserToSegmentModel extends ItemModel
Generated model class for type CxUserToSegment first defined at extension personalizationservices.
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 CxSegmentToUserRelation defining source attribute segment in extension personalizationservices.
    static final String
    Generated relation code constant for relation CxUserToSegmentRelation defining source attribute user in extension personalizationservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of CxUserToSegment.affinity attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxUserToSegment.baseSite attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxUserToSegment.provider attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxUserToSegment.segment attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxUserToSegment.user attribute defined at extension personalizationservices.

    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.
    CxUserToSegmentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    CxUserToSegmentModel(BigDecimal _affinity, ItemModel _owner, CxSegmentModel _segment, UserModel _user)
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the CxUserToSegment.affinity attribute defined at extension personalizationservices.
    Generated method - Getter of the CxUserToSegment.baseSite attribute defined at extension personalizationservices.
    Generated method - Getter of the CxUserToSegment.provider attribute defined at extension personalizationservices.
    Generated method - Getter of the CxUserToSegment.segment attribute defined at extension personalizationservices.
    Generated method - Getter of the CxUserToSegment.user attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxUserToSegment.affinity attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxUserToSegment.baseSite attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxUserToSegment.provider attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxUserToSegment.segment attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxUserToSegment.user attribute defined at extension personalizationservices.

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

      public static final String _CXSEGMENTTOUSERRELATION
      Generated relation code constant for relation CxSegmentToUserRelation defining source attribute segment in extension personalizationservices.
      See Also:
    • _CXUSERTOSEGMENTRELATION

      public static final String _CXUSERTOSEGMENTRELATION
      Generated relation code constant for relation CxUserToSegmentRelation defining source attribute user in extension personalizationservices.
      See Also:
    • PROVIDER

      public static final String PROVIDER
      Generated constant - Attribute key of CxUserToSegment.provider attribute defined at extension personalizationservices.
      See Also:
    • AFFINITY

      public static final String AFFINITY
      Generated constant - Attribute key of CxUserToSegment.affinity attribute defined at extension personalizationservices.
      See Also:
    • BASESITE

      public static final String BASESITE
      Generated constant - Attribute key of CxUserToSegment.baseSite attribute defined at extension personalizationservices.
      See Also:
    • SEGMENT

      public static final String SEGMENT
      Generated constant - Attribute key of CxUserToSegment.segment attribute defined at extension personalizationservices.
      See Also:
    • USER

      public static final String USER
      Generated constant - Attribute key of CxUserToSegment.user attribute defined at extension personalizationservices.
      See Also:
  • Constructor Details

    • CxUserToSegmentModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public CxUserToSegmentModel(BigDecimal _affinity, CxSegmentModel _segment, UserModel _user)
      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:
      _affinity - initial attribute declared by type CxUserToSegment at extension personalizationservices
      _segment - initial attribute declared by type CxUserToSegment at extension personalizationservices
      _user - initial attribute declared by type CxUserToSegment at extension personalizationservices
    • CxUserToSegmentModel

      @Deprecated(since="4.1.1", forRemoval=true) public CxUserToSegmentModel(BigDecimal _affinity, ItemModel _owner, CxSegmentModel _segment, UserModel _user)
      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:
      _affinity - initial attribute declared by type CxUserToSegment at extension personalizationservices
      _owner - initial attribute declared by type Item at extension core
      _segment - initial attribute declared by type CxUserToSegment at extension personalizationservices
      _user - initial attribute declared by type CxUserToSegment at extension personalizationservices
  • Method Details

    • getAffinity

      @Accessor(qualifier="affinity", type=GETTER) public BigDecimal getAffinity()
      Generated method - Getter of the CxUserToSegment.affinity attribute defined at extension personalizationservices.
      Returns:
      the affinity - The affinity of relation between user and segment. Range [0-1]
    • getBaseSite

      @Accessor(qualifier="baseSite", type=GETTER) public BaseSiteModel getBaseSite()
      Generated method - Getter of the CxUserToSegment.baseSite attribute defined at extension personalizationservices.
      Returns:
      the baseSite - BaseSite for which this relation is valid
    • getProvider

      @Accessor(qualifier="provider", type=GETTER) public String getProvider()
      Generated method - Getter of the CxUserToSegment.provider attribute defined at extension personalizationservices.
      Returns:
      the provider - Source from which segment assignemt was read e.g. yprofile system
    • getSegment

      @Accessor(qualifier="segment", type=GETTER) public CxSegmentModel getSegment()
      Generated method - Getter of the CxUserToSegment.segment attribute defined at extension personalizationservices.
      Returns:
      the segment
    • getUser

      @Accessor(qualifier="user", type=GETTER) public UserModel getUser()
      Generated method - Getter of the CxUserToSegment.user attribute defined at extension personalizationservices.
      Returns:
      the user
    • setAffinity

      @Accessor(qualifier="affinity", type=SETTER) public void setAffinity(BigDecimal value)
      Generated method - Setter of CxUserToSegment.affinity attribute defined at extension personalizationservices.
      Parameters:
      value - the affinity - The affinity of relation between user and segment. Range [0-1]
    • setBaseSite

      @Accessor(qualifier="baseSite", type=SETTER) public void setBaseSite(BaseSiteModel value)
      Generated method - Setter of CxUserToSegment.baseSite attribute defined at extension personalizationservices.
      Parameters:
      value - the baseSite - BaseSite for which this relation is valid
    • setProvider

      @Accessor(qualifier="provider", type=SETTER) public void setProvider(String value)
      Generated method - Setter of CxUserToSegment.provider attribute defined at extension personalizationservices.
      Parameters:
      value - the provider - Source from which segment assignemt was read e.g. yprofile system
    • setSegment

      @Accessor(qualifier="segment", type=SETTER) public void setSegment(CxSegmentModel value)
      Generated method - Setter of CxUserToSegment.segment attribute defined at extension personalizationservices.
      Parameters:
      value - the segment
    • setUser

      @Accessor(qualifier="user", type=SETTER) public void setUser(UserModel value)
      Generated method - Setter of CxUserToSegment.user attribute defined at extension personalizationservices.
      Parameters:
      value - the user