Class TmaPolicyStatementModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaPolicyStatementModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TmaChecklistPolicyStatementModel, TmaContractTermsPolicyStatementModel, TmaPoGroupPolicyStatementModel, TmaPoListPolicyStatementModel, TmaPoPolicyStatementModel, TmaProcessTypesPolicyStatementModel, TmaProductStatusPolicyStatementModel, TmaPscvPolicyStatementModel, TmaPsPolicyStatementModel, TmaRemainingCommittedPeriodPolicyStatementModel

public class TmaPolicyStatementModel extends ItemModel
Generated model class for type TmaPolicyStatement first defined at extension b2ctelcoservices.

Select m to n offerings.

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 model type code constant.
    static final String
    Generated constant - Attribute key of TmaPolicyStatement.actions attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaPolicyStatement.catalogVersion attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaPolicyStatement.code attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaPolicyStatement.conditions attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaPolicyStatement.max attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaPolicyStatement.min attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaPolicyStatement.name attribute defined at extension b2ctelcoservices.

    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.
    TmaPolicyStatementModel(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 TmaPolicyStatement.actions attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaPolicyStatement.catalogVersion attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaPolicyStatement.code attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaPolicyStatement.conditions attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaPolicyStatement.max attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaPolicyStatement.min attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaPolicyStatement.name attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaPolicyStatement.name attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaPolicyStatement.actions attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaPolicyStatement.catalogVersion attribute defined at extension b2ctelcoservices.
    void
    setCode(String value)
    Generated method - Initial setter of TmaPolicyStatement.code attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaPolicyStatement.conditions attribute defined at extension b2ctelcoservices.
    void
    setMax(Integer value)
    Generated method - Setter of TmaPolicyStatement.max attribute defined at extension b2ctelcoservices.
    void
    setMin(Integer value)
    Generated method - Setter of TmaPolicyStatement.min attribute defined at extension b2ctelcoservices.
    void
    setName(String value)
    Generated method - Setter of TmaPolicyStatement.name attribute defined at extension b2ctelcoservices.
    void
    setName(String value, Locale loc)
    Generated method - Setter of TmaPolicyStatement.name attribute defined at extension b2ctelcoservices.

    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:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of TmaPolicyStatement.code attribute defined at extension b2ctelcoservices.
      See Also:
    • NAME

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

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

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

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

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

      public static final String ACTIONS
      Generated constant - Attribute key of TmaPolicyStatement.actions attribute defined at extension b2ctelcoservices.
      See Also:
  • Constructor Details

    • 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(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(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 Details

    • getActions

      @Accessor(qualifier="actions", type=GETTER) public 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 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 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 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 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 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 String getName(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:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setActions

      @Accessor(qualifier="actions", type=SETTER) public void setActions(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(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(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(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(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(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(String value, 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:
      IllegalArgumentException - if localization key cannot be mapped to data language