Class TmaPolicyActionModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class TmaPolicyActionModel
    extends ItemModel
    Generated model class for type TmaPolicyAction first defined at extension b2ctelcoservices.

    Policy action that should be taken for a compatibility policy.

    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 _TMACOMPATIBILITYPOLICY2TMAPOLICYACTIONRELATION
      Generated relation code constant for relation TmaCompatibilityPolicy2TmaPolicyActionRelation defining source attribute policies in extension b2ctelcoservices.
      static java.lang.String _TMAPOLICYSTATEMENT2TMAPOLICYACTIONRELATION
      Generated relation code constant for relation TmaPolicyStatement2TmaPolicyActionRelation defining source attribute statement in extension b2ctelcoservices.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ACTIONTYPE
      Generated constant - Attribute key of TmaPolicyAction.actionType attribute defined at extension b2ctelcoservices.
      static java.lang.String CATALOGVERSION
      Generated constant - Attribute key of TmaPolicyAction.catalogVersion attribute defined at extension b2ctelcoservices.
      static java.lang.String CODE
      Generated constant - Attribute key of TmaPolicyAction.code attribute defined at extension b2ctelcoservices.
      static java.lang.String POLICIES
      Generated constant - Attribute key of TmaPolicyAction.policies attribute defined at extension b2ctelcoservices.
      static java.lang.String STATEMENT
      Generated constant - Attribute key of TmaPolicyAction.statement attribute defined at extension b2ctelcoservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      TmaPolicyActionModel()
      Generated constructor - Default constructor for generic creation.
      TmaPolicyActionModel​(TmaCompatibilityPolicyActionType _actionType, java.lang.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
      TmaPolicyActionModel​(TmaCompatibilityPolicyActionType _actionType, java.lang.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
      TmaPolicyActionModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TmaCompatibilityPolicyActionType getActionType()
      Generated method - Getter of the TmaPolicyAction.actionType attribute defined at extension b2ctelcoservices.
      CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the TmaPolicyAction.catalogVersion attribute defined at extension b2ctelcoservices.
      java.lang.String getCode()
      Generated method - Getter of the TmaPolicyAction.code attribute defined at extension b2ctelcoservices.
      java.util.Set<TmaCompatibilityPolicyModel> getPolicies()
      Generated method - Getter of the TmaPolicyAction.policies attribute defined at extension b2ctelcoservices.
      TmaPolicyStatementModel getStatement()
      Generated method - Getter of the TmaPolicyAction.statement attribute defined at extension b2ctelcoservices.
      void setActionType​(TmaCompatibilityPolicyActionType value)
      Generated method - Setter of TmaPolicyAction.actionType attribute defined at extension b2ctelcoservices.
      void setCatalogVersion​(CatalogVersionModel value)
      Generated method - Setter of TmaPolicyAction.catalogVersion attribute defined at extension b2ctelcoservices.
      void setCode​(java.lang.String value)
      Generated method - Setter of TmaPolicyAction.code attribute defined at extension b2ctelcoservices.
      void setPolicies​(java.util.Set<TmaCompatibilityPolicyModel> value)
      Generated method - Setter of TmaPolicyAction.policies attribute defined at extension b2ctelcoservices.
      void setStatement​(TmaPolicyStatementModel value)
      Generated method - Setter of TmaPolicyAction.statement 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
      • _TMACOMPATIBILITYPOLICY2TMAPOLICYACTIONRELATION

        public static final java.lang.String _TMACOMPATIBILITYPOLICY2TMAPOLICYACTIONRELATION
        Generated relation code constant for relation TmaCompatibilityPolicy2TmaPolicyActionRelation defining source attribute policies in extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • _TMAPOLICYSTATEMENT2TMAPOLICYACTIONRELATION

        public static final java.lang.String _TMAPOLICYSTATEMENT2TMAPOLICYACTIONRELATION
        Generated relation code constant for relation TmaPolicyStatement2TmaPolicyActionRelation defining source attribute statement in extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • CODE

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

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

        public static final java.lang.String ACTIONTYPE
        Generated constant - Attribute key of TmaPolicyAction.actionType attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • POLICIES

        public static final java.lang.String POLICIES
        Generated constant - Attribute key of TmaPolicyAction.policies attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • STATEMENT

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

      • TmaPolicyActionModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaPolicyActionModel​(TmaCompatibilityPolicyActionType _actionType,
                                    java.lang.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:
        _actionType - initial attribute declared by type TmaPolicyAction at extension b2ctelcoservices
        _code - initial attribute declared by type TmaPolicyAction at extension b2ctelcoservices
      • TmaPolicyActionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaPolicyActionModel​(TmaCompatibilityPolicyActionType _actionType,
                                    java.lang.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:
        _actionType - initial attribute declared by type TmaPolicyAction at extension b2ctelcoservices
        _code - initial attribute declared by type TmaPolicyAction at extension b2ctelcoservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getActionType

        @Accessor(qualifier="actionType",
                  type=GETTER)
        public TmaCompatibilityPolicyActionType getActionType()
        Generated method - Getter of the TmaPolicyAction.actionType attribute defined at extension b2ctelcoservices.
        Returns:
        the actionType - The policy action type.
      • getCatalogVersion

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

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

        @Accessor(qualifier="policies",
                  type=GETTER)
        public java.util.Set<TmaCompatibilityPolicyModel> getPolicies()
        Generated method - Getter of the TmaPolicyAction.policies attribute defined at extension b2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the policies - Policies containing the associated actions.
      • getStatement

        @Accessor(qualifier="statement",
                  type=GETTER)
        public TmaPolicyStatementModel getStatement()
        Generated method - Getter of the TmaPolicyAction.statement attribute defined at extension b2ctelcoservices.
        Returns:
        the statement - Policy statement defined for a policy action.
      • setActionType

        @Accessor(qualifier="actionType",
                  type=SETTER)
        public void setActionType​(TmaCompatibilityPolicyActionType value)
        Generated method - Setter of TmaPolicyAction.actionType attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the actionType - The policy action type.
      • setCatalogVersion

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

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Setter of TmaPolicyAction.code attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the code - Unique identifier of the policy action.
      • setPolicies

        @Accessor(qualifier="policies",
                  type=SETTER)
        public void setPolicies​(java.util.Set<TmaCompatibilityPolicyModel> value)
        Generated method - Setter of TmaPolicyAction.policies attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the policies - Policies containing the associated actions.
      • setStatement

        @Accessor(qualifier="statement",
                  type=SETTER)
        public void setStatement​(TmaPolicyStatementModel value)
        Generated method - Setter of TmaPolicyAction.statement attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the statement - Policy statement defined for a policy action.