Class CharacteristicValueRulesResultModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.sap.productconfig.rules.cps.model.CharacteristicValueRulesResultModel
All Implemented Interfaces:
Serializable

public class CharacteristicValueRulesResultModel extends ItemModel
Generated model class for type CharacteristicValueRulesResult first defined at extension sapproductconfigrulescps.

Characteristic Value specific rules results.

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 ProductConfig2CharacteristicValueRulesResults defining source attribute productConfiguration in extension sapproductconfigrulescps.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of CharacteristicValueRulesResult.characteristic attribute defined at extension sapproductconfigrulescps.
    static final String
    Generated constant - Attribute key of CharacteristicValueRulesResult.discountValue attribute defined at extension sapproductconfigrulescps.
    static final String
    Generated constant - Attribute key of CharacteristicValueRulesResult.messageRulesResults attribute defined at extension sapproductconfigrulescps.
    static final String
    Generated constant - Attribute key of CharacteristicValueRulesResult.productConfiguration attribute defined at extension sapproductconfigrulescps.
    static final String
    Generated constant - Attribute key of CharacteristicValueRulesResult.value attribute defined at extension sapproductconfigrulescps.

    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.
    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
    CharacteristicValueRulesResultModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the CharacteristicValueRulesResult.characteristic attribute defined at extension sapproductconfigrulescps.
    Generated method - Getter of the CharacteristicValueRulesResult.discountValue attribute defined at extension sapproductconfigrulescps.
    Generated method - Getter of the CharacteristicValueRulesResult.messageRulesResults attribute defined at extension sapproductconfigrulescps.
    Generated method - Getter of the CharacteristicValueRulesResult.productConfiguration attribute defined at extension sapproductconfigrulescps.
    Generated method - Getter of the CharacteristicValueRulesResult.value attribute defined at extension sapproductconfigrulescps.
    void
    Generated method - Setter of CharacteristicValueRulesResult.characteristic attribute defined at extension sapproductconfigrulescps.
    void
    Generated method - Setter of CharacteristicValueRulesResult.discountValue attribute defined at extension sapproductconfigrulescps.
    void
    Generated method - Setter of CharacteristicValueRulesResult.messageRulesResults attribute defined at extension sapproductconfigrulescps.
    void
    Generated method - Setter of CharacteristicValueRulesResult.productConfiguration attribute defined at extension sapproductconfigrulescps.
    void
    Generated method - Setter of CharacteristicValueRulesResult.value attribute defined at extension sapproductconfigrulescps.

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

      public static final String _PRODUCTCONFIG2CHARACTERISTICVALUERULESRESULTS
      Generated relation code constant for relation ProductConfig2CharacteristicValueRulesResults defining source attribute productConfiguration in extension sapproductconfigrulescps.
      See Also:
    • CHARACTERISTIC

      public static final String CHARACTERISTIC
      Generated constant - Attribute key of CharacteristicValueRulesResult.characteristic attribute defined at extension sapproductconfigrulescps.
      See Also:
    • VALUE

      public static final String VALUE
      Generated constant - Attribute key of CharacteristicValueRulesResult.value attribute defined at extension sapproductconfigrulescps.
      See Also:
    • DISCOUNTVALUE

      public static final String DISCOUNTVALUE
      Generated constant - Attribute key of CharacteristicValueRulesResult.discountValue attribute defined at extension sapproductconfigrulescps.
      See Also:
    • PRODUCTCONFIGURATION

      public static final String PRODUCTCONFIGURATION
      Generated constant - Attribute key of CharacteristicValueRulesResult.productConfiguration attribute defined at extension sapproductconfigrulescps.
      See Also:
    • MESSAGERULESRESULTS

      public static final String MESSAGERULESRESULTS
      Generated constant - Attribute key of CharacteristicValueRulesResult.messageRulesResults attribute defined at extension sapproductconfigrulescps.
      See Also:
  • Constructor Details

    • CharacteristicValueRulesResultModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public CharacteristicValueRulesResultModel(ProductConfigurationModel _productConfiguration)
      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:
      _productConfiguration - initial attribute declared by type CharacteristicValueRulesResult at extension sapproductconfigrulescps
    • CharacteristicValueRulesResultModel

      @Deprecated(since="4.1.1", forRemoval=true) public CharacteristicValueRulesResultModel(ItemModel _owner, ProductConfigurationModel _productConfiguration)
      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:
      _owner - initial attribute declared by type Item at extension core
      _productConfiguration - initial attribute declared by type CharacteristicValueRulesResult at extension sapproductconfigrulescps
  • Method Details

    • getCharacteristic

      @Accessor(qualifier="characteristic", type=GETTER) public String getCharacteristic()
      Generated method - Getter of the CharacteristicValueRulesResult.characteristic attribute defined at extension sapproductconfigrulescps.
      Returns:
      the characteristic - Characteristic Id.
    • getDiscountValue

      @Accessor(qualifier="discountValue", type=GETTER) public BigDecimal getDiscountValue()
      Generated method - Getter of the CharacteristicValueRulesResult.discountValue attribute defined at extension sapproductconfigrulescps.
      Returns:
      the discountValue - Discount value associated with characteristic value.
    • getMessageRulesResults

      @Accessor(qualifier="messageRulesResults", type=GETTER) public List<DiscountMessageRulesResultModel> getMessageRulesResults()
      Generated method - Getter of the CharacteristicValueRulesResult.messageRulesResults attribute defined at extension sapproductconfigrulescps. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the messageRulesResults
    • getProductConfiguration

      @Accessor(qualifier="productConfiguration", type=GETTER) public ProductConfigurationModel getProductConfiguration()
      Generated method - Getter of the CharacteristicValueRulesResult.productConfiguration attribute defined at extension sapproductconfigrulescps.
      Returns:
      the productConfiguration
    • getValue

      @Accessor(qualifier="value", type=GETTER) public String getValue()
      Generated method - Getter of the CharacteristicValueRulesResult.value attribute defined at extension sapproductconfigrulescps.
      Returns:
      the value - Characteristic Value Id.
    • setCharacteristic

      @Accessor(qualifier="characteristic", type=SETTER) public void setCharacteristic(String value)
      Generated method - Setter of CharacteristicValueRulesResult.characteristic attribute defined at extension sapproductconfigrulescps.
      Parameters:
      value - the characteristic - Characteristic Id.
    • setDiscountValue

      @Accessor(qualifier="discountValue", type=SETTER) public void setDiscountValue(BigDecimal value)
      Generated method - Setter of CharacteristicValueRulesResult.discountValue attribute defined at extension sapproductconfigrulescps.
      Parameters:
      value - the discountValue - Discount value associated with characteristic value.
    • setMessageRulesResults

      @Accessor(qualifier="messageRulesResults", type=SETTER) public void setMessageRulesResults(List<DiscountMessageRulesResultModel> value)
      Generated method - Setter of CharacteristicValueRulesResult.messageRulesResults attribute defined at extension sapproductconfigrulescps.
      Parameters:
      value - the messageRulesResults
    • setProductConfiguration

      @Accessor(qualifier="productConfiguration", type=SETTER) public void setProductConfiguration(ProductConfigurationModel value)
      Generated method - Setter of CharacteristicValueRulesResult.productConfiguration attribute defined at extension sapproductconfigrulescps.
      Parameters:
      value - the productConfiguration
    • setValue

      @Accessor(qualifier="value", type=SETTER) public void setValue(String value)
      Generated method - Setter of CharacteristicValueRulesResult.value attribute defined at extension sapproductconfigrulescps.
      Parameters:
      value - the value - Characteristic Value Id.