Class CxSegmentModel

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

public class CxSegmentModel extends ItemModel
Generated model class for type CxSegment 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 CxSegmentToExpressionTrigger defining source attribute expressionTriggers in extension personalizationservices.
    static final String
    Generated relation code constant for relation CxSegmentToTrigger defining source attribute triggers in extension personalizationservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of CxSegment.autoCreated attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxSegment.code attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxSegment.description attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxSegment.expressionTriggers attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxSegment.providers attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxSegment.triggers attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxSegment.userToSegments 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.
    CxSegmentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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 CxSegment.code attribute defined at extension personalizationservices.
    Generated method - Getter of the CxSegment.description attribute defined at extension personalizationservices.
    Generated method - Getter of the CxSegment.expressionTriggers attribute defined at extension personalizationservices.
    Generated method - Getter of the CxSegment.providers attribute defined at extension personalizationservices.
    Generated method - Getter of the CxSegment.triggers attribute defined at extension personalizationservices.
    Generated method - Getter of the CxSegment.userToSegments attribute defined at extension personalizationservices.
    boolean
    Generated method - Getter of the CxSegment.autoCreated attribute defined at extension personalizationservices.
    void
    setAutoCreated(boolean value)
    Generated method - Setter of CxSegment.autoCreated attribute defined at extension personalizationservices.
    void
    setCode(String value)
    Generated method - Initial setter of CxSegment.code attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxSegment.description attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxSegment.expressionTriggers attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxSegment.providers attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxSegment.triggers attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxSegment.userToSegments 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:
    • _CXSEGMENTTOTRIGGER

      public static final String _CXSEGMENTTOTRIGGER
      Generated relation code constant for relation CxSegmentToTrigger defining source attribute triggers in extension personalizationservices.
      See Also:
    • _CXSEGMENTTOEXPRESSIONTRIGGER

      public static final String _CXSEGMENTTOEXPRESSIONTRIGGER
      Generated relation code constant for relation CxSegmentToExpressionTrigger defining source attribute expressionTriggers in extension personalizationservices.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of CxSegment.code attribute defined at extension personalizationservices.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of CxSegment.description attribute defined at extension personalizationservices.
      See Also:
    • AUTOCREATED

      public static final String AUTOCREATED
      Generated constant - Attribute key of CxSegment.autoCreated attribute defined at extension personalizationservices.
      See Also:
    • PROVIDERS

      public static final String PROVIDERS
      Generated constant - Attribute key of CxSegment.providers attribute defined at extension personalizationservices.
      See Also:
    • TRIGGERS

      public static final String TRIGGERS
      Generated constant - Attribute key of CxSegment.triggers attribute defined at extension personalizationservices.
      See Also:
    • EXPRESSIONTRIGGERS

      public static final String EXPRESSIONTRIGGERS
      Generated constant - Attribute key of CxSegment.expressionTriggers attribute defined at extension personalizationservices.
      See Also:
    • USERTOSEGMENTS

      public static final String USERTOSEGMENTS
      Generated constant - Attribute key of CxSegment.userToSegments attribute defined at extension personalizationservices.
      See Also:
  • Constructor Details

    • CxSegmentModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public CxSegmentModel(String _code)
      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:
      _code - initial attribute declared by type CxSegment at extension personalizationservices
    • CxSegmentModel

      @Deprecated(since="4.1.1", forRemoval=true) public CxSegmentModel(String _code, 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:
      _code - initial attribute declared by type CxSegment at extension personalizationservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the CxSegment.code attribute defined at extension personalizationservices.
      Returns:
      the code - Unique code of the segment
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the CxSegment.description attribute defined at extension personalizationservices.
      Returns:
      the description - Description of segment
    • getExpressionTriggers

      @Accessor(qualifier="expressionTriggers", type=GETTER) public Collection<CxExpressionTriggerModel> getExpressionTriggers()
      Generated method - Getter of the CxSegment.expressionTriggers attribute defined at extension personalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the expressionTriggers
    • getProviders

      @Accessor(qualifier="providers", type=GETTER) public Set<String> getProviders()
      Generated method - Getter of the CxSegment.providers attribute defined at extension personalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the providers - Providers that contains segment
    • getTriggers

      @Accessor(qualifier="triggers", type=GETTER) public Collection<CxSegmentTriggerModel> getTriggers()
      Generated method - Getter of the CxSegment.triggers attribute defined at extension personalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the triggers
    • getUserToSegments

      @Accessor(qualifier="userToSegments", type=GETTER) public Collection<CxUserToSegmentModel> getUserToSegments()
      Generated method - Getter of the CxSegment.userToSegments attribute defined at extension personalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the userToSegments
    • isAutoCreated

      @Accessor(qualifier="autoCreated", type=GETTER) public boolean isAutoCreated()
      Generated method - Getter of the CxSegment.autoCreated attribute defined at extension personalizationservices.
      Returns:
      the autoCreated - Indicates if segment has been created automatically
    • setAutoCreated

      @Accessor(qualifier="autoCreated", type=SETTER) public void setAutoCreated(boolean value)
      Generated method - Setter of CxSegment.autoCreated attribute defined at extension personalizationservices.
      Parameters:
      value - the autoCreated - Indicates if segment has been created automatically
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Initial setter of CxSegment.code attribute defined at extension personalizationservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the code - Unique code of the segment
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of CxSegment.description attribute defined at extension personalizationservices.
      Parameters:
      value - the description - Description of segment
    • setExpressionTriggers

      @Accessor(qualifier="expressionTriggers", type=SETTER) public void setExpressionTriggers(Collection<CxExpressionTriggerModel> value)
      Generated method - Setter of CxSegment.expressionTriggers attribute defined at extension personalizationservices.
      Parameters:
      value - the expressionTriggers
    • setProviders

      @Accessor(qualifier="providers", type=SETTER) public void setProviders(Set<String> value)
      Generated method - Setter of CxSegment.providers attribute defined at extension personalizationservices.
      Parameters:
      value - the providers - Providers that contains segment
    • setTriggers

      @Accessor(qualifier="triggers", type=SETTER) public void setTriggers(Collection<CxSegmentTriggerModel> value)
      Generated method - Setter of CxSegment.triggers attribute defined at extension personalizationservices.
      Parameters:
      value - the triggers
    • setUserToSegments

      @Accessor(qualifier="userToSegments", type=SETTER) public void setUserToSegments(Collection<CxUserToSegmentModel> value)
      Generated method - Setter of CxSegment.userToSegments attribute defined at extension personalizationservices.
      Parameters:
      value - the userToSegments