Class TmaCompatibilityPolicyModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaCompatibilityPolicyModel
All Implemented Interfaces:
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:
  • 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 TmaCompatibilityPolicy.actions attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaCompatibilityPolicy.catalogVersion attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaCompatibilityPolicy.code attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaCompatibilityPolicy.conditions attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaCompatibilityPolicy.conditionsEvaluatorType attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaCompatibilityPolicy.description attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaCompatibilityPolicy.onlineFrom attribute defined at extension b2ctelcoservices.
    static final String
    Generated constant - Attribute key of TmaCompatibilityPolicy.onlineTo 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.
    TmaCompatibilityPolicyModel(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 TmaCompatibilityPolicy.actions attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaCompatibilityPolicy.catalogVersion attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaCompatibilityPolicy.code attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaCompatibilityPolicy.conditions attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaCompatibilityPolicy.conditionsEvaluatorType attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaCompatibilityPolicy.description attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaCompatibilityPolicy.description attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaCompatibilityPolicy.onlineFrom attribute defined at extension b2ctelcoservices.
    Generated method - Getter of the TmaCompatibilityPolicy.onlineTo attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaCompatibilityPolicy.actions attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaCompatibilityPolicy.catalogVersion attribute defined at extension b2ctelcoservices.
    void
    setCode(String value)
    Generated method - Initial setter of TmaCompatibilityPolicy.code attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaCompatibilityPolicy.conditions attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaCompatibilityPolicy.conditionsEvaluatorType attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaCompatibilityPolicy.description attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaCompatibilityPolicy.description attribute defined at extension b2ctelcoservices.
    void
    setName(String value)
    Generated method - Setter of TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
    void
    setName(String value, Locale loc)
    Generated method - Setter of TmaCompatibilityPolicy.name attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaCompatibilityPolicy.onlineFrom attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of TmaCompatibilityPolicy.onlineTo 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 TmaCompatibilityPolicy.code attribute defined at extension b2ctelcoservices.
      See Also:
    • NAME

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

      public static final String DESCRIPTION
      Generated constant - Attribute key of TmaCompatibilityPolicy.description attribute defined at extension b2ctelcoservices.
      See Also:
    • CONDITIONSEVALUATORTYPE

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

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

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

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

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

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

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

    • getActions

      @Accessor(qualifier="actions", type=GETTER) public 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 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 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.
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the TmaCompatibilityPolicy.description attribute defined at extension b2ctelcoservices.
      Returns:
      the description - Description of the compatibility policy.
    • getDescription

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

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

      @Accessor(qualifier="onlineFrom", type=GETTER) public 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 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(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(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(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.
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of TmaCompatibilityPolicy.description attribute defined at extension b2ctelcoservices.
      Parameters:
      value - the description - Description of the compatibility policy.
    • setDescription

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

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

      @Accessor(qualifier="onlineFrom", type=SETTER) public void setOnlineFrom(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(Date value)
      Generated method - Setter of TmaCompatibilityPolicy.onlineTo attribute defined at extension b2ctelcoservices.
      Parameters:
      value - the onlineTo - End date of policy availability