Class TmaPolicyStatementModel

    • 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 TmaPolicyStatement.actions attribute defined at extension b2ctelcoservices.
      static java.lang.String CATALOGVERSION
      Generated constant - Attribute key of TmaPolicyStatement.catalogVersion attribute defined at extension b2ctelcoservices.
      static java.lang.String CODE
      Generated constant - Attribute key of TmaPolicyStatement.code attribute defined at extension b2ctelcoservices.
      static java.lang.String CONDITIONS
      Generated constant - Attribute key of TmaPolicyStatement.conditions attribute defined at extension b2ctelcoservices.
      static java.lang.String MAX
      Generated constant - Attribute key of TmaPolicyStatement.max attribute defined at extension b2ctelcoservices.
      static java.lang.String MIN
      Generated constant - Attribute key of TmaPolicyStatement.min attribute defined at extension b2ctelcoservices.
      static java.lang.String NAME
      Generated constant - Attribute key of TmaPolicyStatement.name 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
      TmaPolicyStatementModel()
      Generated constructor - Default constructor for generic creation.
      TmaPolicyStatementModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      TmaPolicyStatementModel​(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
      TmaPolicyStatementModel​(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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<TmaPolicyActionModel> getActions()
      Generated method - Getter of the TmaPolicyStatement.actions attribute defined at extension b2ctelcoservices.
      CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the TmaPolicyStatement.catalogVersion attribute defined at extension b2ctelcoservices.
      java.lang.String getCode()
      Generated method - Getter of the TmaPolicyStatement.code attribute defined at extension b2ctelcoservices.
      java.util.Set<TmaPolicyConditionModel> getConditions()
      Generated method - Getter of the TmaPolicyStatement.conditions attribute defined at extension b2ctelcoservices.
      java.lang.Integer getMax()
      Generated method - Getter of the TmaPolicyStatement.max attribute defined at extension b2ctelcoservices.
      java.lang.Integer getMin()
      Generated method - Getter of the TmaPolicyStatement.min attribute defined at extension b2ctelcoservices.
      java.lang.String getName()
      Generated method - Getter of the TmaPolicyStatement.name attribute defined at extension b2ctelcoservices.
      java.lang.String getName​(java.util.Locale loc)
      Generated method - Getter of the TmaPolicyStatement.name attribute defined at extension b2ctelcoservices.
      void setActions​(java.util.Set<TmaPolicyActionModel> value)
      Generated method - Setter of TmaPolicyStatement.actions attribute defined at extension b2ctelcoservices.
      void setCatalogVersion​(CatalogVersionModel value)
      Generated method - Setter of TmaPolicyStatement.catalogVersion attribute defined at extension b2ctelcoservices.
      void setCode​(java.lang.String value)
      Generated method - Initial setter of TmaPolicyStatement.code attribute defined at extension b2ctelcoservices.
      void setConditions​(java.util.Set<TmaPolicyConditionModel> value)
      Generated method - Setter of TmaPolicyStatement.conditions attribute defined at extension b2ctelcoservices.
      void setMax​(java.lang.Integer value)
      Generated method - Setter of TmaPolicyStatement.max attribute defined at extension b2ctelcoservices.
      void setMin​(java.lang.Integer value)
      Generated method - Setter of TmaPolicyStatement.min attribute defined at extension b2ctelcoservices.
      void setName​(java.lang.String value)
      Generated method - Setter of TmaPolicyStatement.name attribute defined at extension b2ctelcoservices.
      void setName​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of TmaPolicyStatement.name 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 TmaPolicyStatement.code attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • NAME

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

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

        public static final java.lang.String MIN
        Generated constant - Attribute key of TmaPolicyStatement.min attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • MAX

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

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

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

      • TmaPolicyStatementModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaPolicyStatementModel​(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:
        _code - initial attribute declared by type TmaPolicyStatement at extension b2ctelcoservices
      • TmaPolicyStatementModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaPolicyStatementModel​(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:
        _code - initial attribute declared by type TmaPolicyStatement 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 TmaPolicyStatement.actions attribute defined at extension b2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the actions - Policy action containing the associated policy statement.
      • getCatalogVersion

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

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

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

        @Accessor(qualifier="max",
                  type=GETTER)
        public java.lang.Integer getMax()
        Generated method - Getter of the TmaPolicyStatement.max attribute defined at extension b2ctelcoservices.
        Returns:
        the max - Restriction for the maximum quantity required to be selected.
      • getMin

        @Accessor(qualifier="min",
                  type=GETTER)
        public java.lang.Integer getMin()
        Generated method - Getter of the TmaPolicyStatement.min attribute defined at extension b2ctelcoservices.
        Returns:
        the min - Restriction for the minimum quantity required to be selected.
      • getName

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

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

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

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

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Initial setter of TmaPolicyStatement.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 policy statement.
      • setConditions

        @Accessor(qualifier="conditions",
                  type=SETTER)
        public void setConditions​(java.util.Set<TmaPolicyConditionModel> value)
        Generated method - Setter of TmaPolicyStatement.conditions attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the conditions - Conditions containing the associated policy statement.
      • setMax

        @Accessor(qualifier="max",
                  type=SETTER)
        public void setMax​(java.lang.Integer value)
        Generated method - Setter of TmaPolicyStatement.max attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the max - Restriction for the maximum quantity required to be selected.
      • setMin

        @Accessor(qualifier="min",
                  type=SETTER)
        public void setMin​(java.lang.Integer value)
        Generated method - Setter of TmaPolicyStatement.min attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the min - Restriction for the minimum quantity required to be selected.
      • setName

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

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