Class CharacteristicValueRulesResultModel

  • All Implemented Interfaces:
    java.io.Serializable

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

    Characteristic Value specific rules results.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _PRODUCTCONFIG2CHARACTERISTICVALUERULESRESULTS

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

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

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

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

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

        public static final java.lang.String MESSAGERULESRESULTS
        Generated constant - Attribute key of CharacteristicValueRulesResult.messageRulesResults attribute defined at extension sapproductconfigrulescps.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CharacteristicValueRulesResultModel

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

        public CharacteristicValueRulesResultModel​(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 Detail

      • getCharacteristic

        @Accessor(qualifier="characteristic",
                  type=GETTER)
        public java.lang.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 java.math.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 java.util.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 java.lang.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​(java.lang.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​(java.math.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​(java.util.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​(java.lang.String value)
        Generated method - Setter of CharacteristicValueRulesResult.value attribute defined at extension sapproductconfigrulescps.
        Parameters:
        value - the value - Characteristic Value Id.