Class CxVariationModel

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

public class CxVariationModel extends ItemModel
Generated model class for type CxVariation 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 CxCustomizationToVariation defining source attribute customization in extension personalizationservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of CxVariation.actions attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxVariation.active attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxVariation.catalogVersion attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxVariation.code attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxVariation.customization attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxVariation.customizationPOS attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxVariation.enabled attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxVariation.name attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxVariation.rank attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxVariation.status attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxVariation.triggers 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.
    CxVariationModel(CatalogVersionModel _catalogVersion, String _code, CxCustomizationModel _customization, String _name)
    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
    CxVariationModel(CatalogVersionModel _catalogVersion, String _code, CxCustomizationModel _customization, String _name, 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
    CxVariationModel(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 CxVariation.actions attribute defined at extension personalizationservices.
    Generated method - Getter of the CxVariation.catalogVersion attribute defined at extension personalizationservices.
    Generated method - Getter of the CxVariation.code attribute defined at extension personalizationservices.
    Generated method - Getter of the CxVariation.customization attribute defined at extension personalizationservices.
    Generated method - Getter of the CxVariation.name attribute defined at extension personalizationservices.
    Generated method - Getter of the CxVariation.rank dynamic attribute defined at extension personalizationservices.
    Generated method - Getter of the CxVariation.status attribute defined at extension personalizationservices.
    Generated method - Getter of the CxVariation.triggers attribute defined at extension personalizationservices.
    boolean
    Generated method - Getter of the CxVariation.active dynamic attribute defined at extension personalizationservices.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 6.2
    void
    Generated method - Setter of CxVariation.actions attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxVariation.catalogVersion attribute defined at extension personalizationservices.
    void
    setCode(String value)
    Generated method - Initial setter of CxVariation.code attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxVariation.customization attribute defined at extension personalizationservices.
    void
    setEnabled(boolean value)
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 6.2
    void
    setName(String value)
    Generated method - Setter of CxVariation.name attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxVariation.rank dynamic attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxVariation.status attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxVariation.triggers 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:
    • _CXCUSTOMIZATIONTOVARIATION

      public static final String _CXCUSTOMIZATIONTOVARIATION
      Generated relation code constant for relation CxCustomizationToVariation defining source attribute customization in extension personalizationservices.
      See Also:
    • CODE

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

      public static final String CATALOGVERSION
      Generated constant - Attribute key of CxVariation.catalogVersion attribute defined at extension personalizationservices.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of CxVariation.name attribute defined at extension personalizationservices.
      See Also:
    • ACTIVE

      public static final String ACTIVE
      Generated constant - Attribute key of CxVariation.active attribute defined at extension personalizationservices.
      See Also:
    • ENABLED

      public static final String ENABLED
      Generated constant - Attribute key of CxVariation.enabled attribute defined at extension personalizationservices.
      See Also:
    • STATUS

      public static final String STATUS
      Generated constant - Attribute key of CxVariation.status attribute defined at extension personalizationservices.
      See Also:
    • RANK

      public static final String RANK
      Generated constant - Attribute key of CxVariation.rank attribute defined at extension personalizationservices.
      See Also:
    • CUSTOMIZATIONPOS

      public static final String CUSTOMIZATIONPOS
      Generated constant - Attribute key of CxVariation.customizationPOS attribute defined at extension personalizationservices.
      See Also:
    • CUSTOMIZATION

      public static final String CUSTOMIZATION
      Generated constant - Attribute key of CxVariation.customization attribute defined at extension personalizationservices.
      See Also:
    • ACTIONS

      public static final String ACTIONS
      Generated constant - Attribute key of CxVariation.actions attribute defined at extension personalizationservices.
      See Also:
    • TRIGGERS

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

    • CxVariationModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public CxVariationModel(CatalogVersionModel _catalogVersion, String _code, CxCustomizationModel _customization, String _name)
      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:
      _catalogVersion - initial attribute declared by type CxVariation at extension personalizationservices
      _code - initial attribute declared by type CxVariation at extension personalizationservices
      _customization - initial attribute declared by type CxVariation at extension personalizationservices
      _name - initial attribute declared by type CxVariation at extension personalizationservices
    • CxVariationModel

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

    • getActions

      @Accessor(qualifier="actions", type=GETTER) public List<CxAbstractActionModel> getActions()
      Generated method - Getter of the CxVariation.actions attribute defined at extension personalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the actions
    • getCatalogVersion

      @Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the CxVariation.catalogVersion attribute defined at extension personalizationservices.
      Returns:
      the catalogVersion
    • getCode

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

      @Accessor(qualifier="customization", type=GETTER) public CxCustomizationModel getCustomization()
      Generated method - Getter of the CxVariation.customization attribute defined at extension personalizationservices.
      Returns:
      the customization
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the CxVariation.name attribute defined at extension personalizationservices.
      Returns:
      the name - Name of variation
    • getRank

      @Accessor(qualifier="rank", type=GETTER) public Integer getRank()
      Generated method - Getter of the CxVariation.rank dynamic attribute defined at extension personalizationservices.
      Returns:
      the rank - Defines the rank (priority) of variation
    • getStatus

      @Accessor(qualifier="status", type=GETTER) public CxItemStatus getStatus()
      Generated method - Getter of the CxVariation.status attribute defined at extension personalizationservices.
      Returns:
      the status - Contains current status of item
    • getTriggers

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

      @Accessor(qualifier="active", type=GETTER) public boolean isActive()
      Generated method - Getter of the CxVariation.active dynamic attribute defined at extension personalizationservices.
      Returns:
      the active - Defines if the variation is active or not
    • isEnabled

      @Deprecated(since="6.2", forRemoval=true) @Accessor(qualifier="enabled", type=GETTER) public boolean isEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 6.2
      Generated method - Getter of the CxVariation.enabled attribute defined at extension personalizationservices.
      Returns:
      the enabled - Defines if the variation is enabled or not
    • setActions

      @Accessor(qualifier="actions", type=SETTER) public void setActions(List<CxAbstractActionModel> value)
      Generated method - Setter of CxVariation.actions attribute defined at extension personalizationservices.
      Parameters:
      value - the actions
    • setCatalogVersion

      @Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
      Generated method - Setter of CxVariation.catalogVersion attribute defined at extension personalizationservices.
      Parameters:
      value - the catalogVersion
    • setCode

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

      @Accessor(qualifier="customization", type=SETTER) public void setCustomization(CxCustomizationModel value)
      Generated method - Setter of CxVariation.customization attribute defined at extension personalizationservices.
      Parameters:
      value - the customization
    • setEnabled

      @Deprecated(since="6.2", forRemoval=true) @Accessor(qualifier="enabled", type=SETTER) public void setEnabled(boolean value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 6.2
      Generated method - Setter of CxVariation.enabled attribute defined at extension personalizationservices.
      Parameters:
      value - the enabled - Defines if the variation is enabled or not
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of CxVariation.name attribute defined at extension personalizationservices.
      Parameters:
      value - the name - Name of variation
    • setRank

      @Accessor(qualifier="rank", type=SETTER) public void setRank(Integer value)
      Generated method - Setter of CxVariation.rank dynamic attribute defined at extension personalizationservices.
      Parameters:
      value - the rank - Defines the rank (priority) of variation
    • setStatus

      @Accessor(qualifier="status", type=SETTER) public void setStatus(CxItemStatus value)
      Generated method - Setter of CxVariation.status attribute defined at extension personalizationservices.
      Parameters:
      value - the status - Contains current status of item
    • setTriggers

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