Class TmaCompatibilityPolicyModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class TmaCompatibilityPolicyModel
    extends ItemModel
    Generated model class for type TmaCompatibilityPolicy first defined at extension b2ctelcoservices.

    Policy defining the actions that should be performed for a set of conditions.

    See Also:
    Serialized Form
    • 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 java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ACTIONS
      Generated constant - Attribute key of TmaCompatibilityPolicy.actions attribute defined at extension b2ctelcoservices.
      static java.lang.String CATALOGVERSION
      Generated constant - Attribute key of TmaCompatibilityPolicy.catalogVersion attribute defined at extension b2ctelcoservices.
      static java.lang.String CODE
      Generated constant - Attribute key of TmaCompatibilityPolicy.code attribute defined at extension b2ctelcoservices.
      static java.lang.String CONDITIONS
      Generated constant - Attribute key of TmaCompatibilityPolicy.conditions attribute defined at extension b2ctelcoservices.
      static java.lang.String CONDITIONSEVALUATORTYPE
      Generated constant - Attribute key of TmaCompatibilityPolicy.conditionsEvaluatorType attribute defined at extension b2ctelcoservices.
      static java.lang.String NAME
      Generated constant - Attribute key of TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
      static java.lang.String ONLINEFROM
      Generated constant - Attribute key of TmaCompatibilityPolicy.onlineFrom attribute defined at extension b2ctelcoservices.
      static java.lang.String ONLINETO
      Generated constant - Attribute key of TmaCompatibilityPolicy.onlineTo attribute defined at extension b2ctelcoservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<TmaPolicyActionModel> getActions()
      Generated method - Getter of the TmaCompatibilityPolicy.actions attribute defined at extension b2ctelcoservices.
      CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the TmaCompatibilityPolicy.catalogVersion attribute defined at extension b2ctelcoservices.
      java.lang.String getCode()
      Generated method - Getter of the TmaCompatibilityPolicy.code attribute defined at extension b2ctelcoservices.
      java.util.Set<TmaPolicyConditionModel> getConditions()
      Generated method - Getter of the TmaCompatibilityPolicy.conditions attribute defined at extension b2ctelcoservices.
      TmaCompatibilityConditionEvaluatorType getConditionsEvaluatorType()
      Generated method - Getter of the TmaCompatibilityPolicy.conditionsEvaluatorType attribute defined at extension b2ctelcoservices.
      java.lang.String getName()
      Generated method - Getter of the TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
      java.lang.String getName​(java.util.Locale loc)
      Generated method - Getter of the TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
      java.util.Date getOnlineFrom()
      Generated method - Getter of the TmaCompatibilityPolicy.onlineFrom attribute defined at extension b2ctelcoservices.
      java.util.Date getOnlineTo()
      Generated method - Getter of the TmaCompatibilityPolicy.onlineTo attribute defined at extension b2ctelcoservices.
      void setActions​(java.util.Set<TmaPolicyActionModel> value)
      Generated method - Setter of TmaCompatibilityPolicy.actions attribute defined at extension b2ctelcoservices.
      void setCatalogVersion​(CatalogVersionModel value)
      Generated method - Setter of TmaCompatibilityPolicy.catalogVersion attribute defined at extension b2ctelcoservices.
      void setCode​(java.lang.String value)
      Generated method - Initial setter of TmaCompatibilityPolicy.code attribute defined at extension b2ctelcoservices.
      void setConditions​(java.util.Set<TmaPolicyConditionModel> value)
      Generated method - Setter of TmaCompatibilityPolicy.conditions attribute defined at extension b2ctelcoservices.
      void setConditionsEvaluatorType​(TmaCompatibilityConditionEvaluatorType value)
      Generated method - Setter of TmaCompatibilityPolicy.conditionsEvaluatorType attribute defined at extension b2ctelcoservices.
      void setName​(java.lang.String value)
      Generated method - Setter of TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
      void setName​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
      void setOnlineFrom​(java.util.Date value)
      Generated method - Setter of TmaCompatibilityPolicy.onlineFrom attribute defined at extension b2ctelcoservices.
      void setOnlineTo​(java.util.Date value)
      Generated method - Setter of TmaCompatibilityPolicy.onlineTo attribute defined at extension b2ctelcoservices.
      • 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 Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of TmaCompatibilityPolicy.code attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Generated constant - Attribute key of TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • CONDITIONSEVALUATORTYPE

        public static final java.lang.String CONDITIONSEVALUATORTYPE
        Generated constant - Attribute key of TmaCompatibilityPolicy.conditionsEvaluatorType attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • CATALOGVERSION

        public static final java.lang.String CATALOGVERSION
        Generated constant - Attribute key of TmaCompatibilityPolicy.catalogVersion attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • ONLINEFROM

        public static final java.lang.String ONLINEFROM
        Generated constant - Attribute key of TmaCompatibilityPolicy.onlineFrom attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • ONLINETO

        public static final java.lang.String ONLINETO
        Generated constant - Attribute key of TmaCompatibilityPolicy.onlineTo attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • CONDITIONS

        public static final java.lang.String CONDITIONS
        Generated constant - Attribute key of TmaCompatibilityPolicy.conditions attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • ACTIONS

        public static final java.lang.String ACTIONS
        Generated constant - Attribute key of TmaCompatibilityPolicy.actions attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TmaCompatibilityPolicyModel

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

        public TmaCompatibilityPolicyModel​(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
      • TmaCompatibilityPolicyModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaCompatibilityPolicyModel​(java.lang.String _code,
                                           TmaCompatibilityConditionEvaluatorType _conditionsEvaluatorType)
        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 TmaCompatibilityPolicy at extension b2ctelcoservices
        _conditionsEvaluatorType - initial attribute declared by type TmaCompatibilityPolicy at extension b2ctelcoservices
      • TmaCompatibilityPolicyModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaCompatibilityPolicyModel​(java.lang.String _code,
                                           TmaCompatibilityConditionEvaluatorType _conditionsEvaluatorType,
                                           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 TmaCompatibilityPolicy at extension b2ctelcoservices
        _conditionsEvaluatorType - initial attribute declared by type TmaCompatibilityPolicy at extension b2ctelcoservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getActions

        @Accessor(qualifier="actions",
                  type=GETTER)
        public java.util.Set<TmaPolicyActionModel> getActions()
        Generated method - Getter of the TmaCompatibilityPolicy.actions attribute defined at extension b2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the actions - Policy action defined for a compatibility policy.
      • getCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=GETTER)
        public CatalogVersionModel getCatalogVersion()
        Generated method - Getter of the TmaCompatibilityPolicy.catalogVersion attribute defined at extension b2ctelcoservices.
        Returns:
        the catalogVersion - Catalog Version on which the TmaCompatibilityPolicy is published.
      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the TmaCompatibilityPolicy.code attribute defined at extension b2ctelcoservices.
        Returns:
        the code - Unique identifier of the compatibility policy.
      • getConditions

        @Accessor(qualifier="conditions",
                  type=GETTER)
        public java.util.Set<TmaPolicyConditionModel> getConditions()
        Generated method - Getter of the TmaCompatibilityPolicy.conditions attribute defined at extension b2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the conditions - Compatibility conditions defined for a compatibility policy.
      • getConditionsEvaluatorType

        @Accessor(qualifier="conditionsEvaluatorType",
                  type=GETTER)
        public TmaCompatibilityConditionEvaluatorType getConditionsEvaluatorType()
        Generated method - Getter of the TmaCompatibilityPolicy.conditionsEvaluatorType attribute defined at extension b2ctelcoservices.
        Returns:
        the conditionsEvaluatorType - The policy conditions evaluator type.
      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName()
        Generated method - Getter of the TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
        Returns:
        the name - Name of the compatibility policy.
      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName​(java.util.Locale loc)
        Generated method - Getter of the TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
        Parameters:
        loc - the value localization key
        Returns:
        the name - Name of the compatibility policy.
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getOnlineFrom

        @Accessor(qualifier="onlineFrom",
                  type=GETTER)
        public java.util.Date getOnlineFrom()
        Generated method - Getter of the TmaCompatibilityPolicy.onlineFrom attribute defined at extension b2ctelcoservices.
        Returns:
        the onlineFrom - Starting date of policy availability
      • getOnlineTo

        @Accessor(qualifier="onlineTo",
                  type=GETTER)
        public java.util.Date getOnlineTo()
        Generated method - Getter of the TmaCompatibilityPolicy.onlineTo attribute defined at extension b2ctelcoservices.
        Returns:
        the onlineTo - End date of policy availability
      • setActions

        @Accessor(qualifier="actions",
                  type=SETTER)
        public void setActions​(java.util.Set<TmaPolicyActionModel> value)
        Generated method - Setter of TmaCompatibilityPolicy.actions attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the actions - Policy action defined for a compatibility policy.
      • setCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=SETTER)
        public void setCatalogVersion​(CatalogVersionModel value)
        Generated method - Setter of TmaCompatibilityPolicy.catalogVersion attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the catalogVersion - Catalog Version on which the TmaCompatibilityPolicy is published.
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Initial setter of TmaCompatibilityPolicy.code attribute defined at extension b2ctelcoservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the code - Unique identifier of the compatibility policy.
      • setConditions

        @Accessor(qualifier="conditions",
                  type=SETTER)
        public void setConditions​(java.util.Set<TmaPolicyConditionModel> value)
        Generated method - Setter of TmaCompatibilityPolicy.conditions attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the conditions - Compatibility conditions defined for a compatibility policy.
      • setConditionsEvaluatorType

        @Accessor(qualifier="conditionsEvaluatorType",
                  type=SETTER)
        public void setConditionsEvaluatorType​(TmaCompatibilityConditionEvaluatorType value)
        Generated method - Setter of TmaCompatibilityPolicy.conditionsEvaluatorType attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the conditionsEvaluatorType - The policy conditions evaluator type.
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value)
        Generated method - Setter of TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the name - Name of the compatibility policy.
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value,
                            java.util.Locale loc)
        Generated method - Setter of TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the name - Name of the compatibility policy.
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setOnlineFrom

        @Accessor(qualifier="onlineFrom",
                  type=SETTER)
        public void setOnlineFrom​(java.util.Date value)
        Generated method - Setter of TmaCompatibilityPolicy.onlineFrom attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the onlineFrom - Starting date of policy availability
      • setOnlineTo

        @Accessor(qualifier="onlineTo",
                  type=SETTER)
        public void setOnlineTo​(java.util.Date value)
        Generated method - Setter of TmaCompatibilityPolicy.onlineTo attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the onlineTo - End date of policy availability