Class TmaPolicyConditionModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaPolicyConditionModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TmaAtomicPolicyConditionModel, TmaCompositePolicyConditionModel

public class TmaPolicyConditionModel extends ItemModel
Generated model class for type TmaPolicyCondition first defined at extension b2ctelcoservices.

Compatibility conditions which specify which are the conditions in which the offering can be made available.

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 TmaCompatibilityPolicy2TmaPolicyConditionRelation defining source attribute policies in extension b2ctelcoservices.
    static final String
    Generated relation code constant for relation TmaCompositePolicyCondition2TmaPolicyCondition defining source attribute parents in extension b2ctelcoservices.
    static final String
    Generated relation code constant for relation TmaPolicyStatement2TmaPolicyConditionRelation defining source attribute statement in extension b2ctelcoservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of TmaPolicyCondition.catalogVersion attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaPolicyCondition.code attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaPolicyCondition.parents attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaPolicyCondition.policies attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaPolicyCondition.statement 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.
    TmaPolicyConditionModel(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 TmaPolicyCondition.catalogVersion attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaPolicyCondition.code attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaPolicyCondition.parents attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaPolicyCondition.policies attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaPolicyCondition.statement attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaPolicyCondition.catalogVersion attribute defined at extension b2ctelcoservices.
    void
    setCode(String value)
    Generated method - Setter of TmaPolicyCondition.code attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaPolicyCondition.parents attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaPolicyCondition.policies attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaPolicyCondition.statement 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:
    • _TMACOMPATIBILITYPOLICY2TMAPOLICYCONDITIONRELATION

      public static final String _TMACOMPATIBILITYPOLICY2TMAPOLICYCONDITIONRELATION
      Generated relation code constant for relation TmaCompatibilityPolicy2TmaPolicyConditionRelation defining source attribute policies in extension b2ctelcoservices.
      See Also:
    • _TMACOMPOSITEPOLICYCONDITION2TMAPOLICYCONDITION

      public static final String _TMACOMPOSITEPOLICYCONDITION2TMAPOLICYCONDITION
      Generated relation code constant for relation TmaCompositePolicyCondition2TmaPolicyCondition defining source attribute parents in extension b2ctelcoservices.
      See Also:
    • _TMAPOLICYSTATEMENT2TMAPOLICYCONDITIONRELATION

      public static final String _TMAPOLICYSTATEMENT2TMAPOLICYCONDITIONRELATION
      Generated relation code constant for relation TmaPolicyStatement2TmaPolicyConditionRelation defining source attribute statement in extension b2ctelcoservices.
      See Also:
    • CODE

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

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

      public static final String POLICIES
      Generated constant - Attribute key of TmaPolicyCondition.policies attribute defined at extension b2ctelcoservices.
      See Also:
    • PARENTS

      public static final String PARENTS
      Generated constant - Attribute key of TmaPolicyCondition.parents attribute defined at extension b2ctelcoservices.
      See Also:
    • STATEMENT

      public static final String STATEMENT
      Generated constant - Attribute key of TmaPolicyCondition.statement attribute defined at extension b2ctelcoservices.
      See Also:
  • Constructor Details

    • TmaPolicyConditionModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public TmaPolicyConditionModel(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 TmaPolicyCondition at extension b2ctelcoservices
    • TmaPolicyConditionModel

      @Deprecated(since="4.1.1", forRemoval=true) public TmaPolicyConditionModel(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 TmaPolicyCondition at extension b2ctelcoservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCatalogVersion

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

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

      @Accessor(qualifier="parents", type=GETTER) public Set<TmaCompositePolicyConditionModel> getParents()
      Generated method - Getter of the TmaPolicyCondition.parents attribute defined at extension b2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the parents - Composite Policy Condition containing the parents Policy Conditions.
    • getPolicies

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

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

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

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of TmaPolicyCondition.code attribute defined at extension b2ctelcoservices.
      Parameters:
      value - the code - Unique identifier of the policy condition.
    • setParents

      @Accessor(qualifier="parents", type=SETTER) public void setParents(Set<TmaCompositePolicyConditionModel> value)
      Generated method - Setter of TmaPolicyCondition.parents attribute defined at extension b2ctelcoservices.
      Parameters:
      value - the parents - Composite Policy Condition containing the parents Policy Conditions.
    • setPolicies

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

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