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:
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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_PRODUCTCONFIG2CHARACTERISTICVALUERULESRESULTSGenerated relation code constant for relationProductConfig2CharacteristicValueRulesResultsdefining source attributeproductConfigurationin extensionsapproductconfigrulescps.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCHARACTERISTICGenerated constant - Attribute key ofCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.static java.lang.StringDISCOUNTVALUEGenerated constant - Attribute key ofCharacteristicValueRulesResult.discountValueattribute defined at extensionsapproductconfigrulescps.static java.lang.StringMESSAGERULESRESULTSGenerated constant - Attribute key ofCharacteristicValueRulesResult.messageRulesResultsattribute defined at extensionsapproductconfigrulescps.static java.lang.StringPRODUCTCONFIGURATIONGenerated constant - Attribute key ofCharacteristicValueRulesResult.productConfigurationattribute defined at extensionsapproductconfigrulescps.static java.lang.StringVALUEGenerated constant - Attribute key ofCharacteristicValueRulesResult.valueattribute defined at extensionsapproductconfigrulescps.-
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 CharacteristicValueRulesResultModel()Generated constructor - Default constructor for generic creation.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 parametersCharacteristicValueRulesResultModel(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 parametersCharacteristicValueRulesResultModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCharacteristic()Generated method - Getter of theCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.java.math.BigDecimalgetDiscountValue()Generated method - Getter of theCharacteristicValueRulesResult.discountValueattribute defined at extensionsapproductconfigrulescps.java.util.List<DiscountMessageRulesResultModel>getMessageRulesResults()Generated method - Getter of theCharacteristicValueRulesResult.messageRulesResultsattribute defined at extensionsapproductconfigrulescps.ProductConfigurationModelgetProductConfiguration()Generated method - Getter of theCharacteristicValueRulesResult.productConfigurationattribute defined at extensionsapproductconfigrulescps.java.lang.StringgetValue()Generated method - Getter of theCharacteristicValueRulesResult.valueattribute defined at extensionsapproductconfigrulescps.voidsetCharacteristic(java.lang.String value)Generated method - Setter ofCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.voidsetDiscountValue(java.math.BigDecimal value)Generated method - Setter ofCharacteristicValueRulesResult.discountValueattribute defined at extensionsapproductconfigrulescps.voidsetMessageRulesResults(java.util.List<DiscountMessageRulesResultModel> value)Generated method - Setter ofCharacteristicValueRulesResult.messageRulesResultsattribute defined at extensionsapproductconfigrulescps.voidsetProductConfiguration(ProductConfigurationModel value)Generated method - Setter ofCharacteristicValueRulesResult.productConfigurationattribute defined at extensionsapproductconfigrulescps.voidsetValue(java.lang.String value)Generated method - Setter ofCharacteristicValueRulesResult.valueattribute defined at extensionsapproductconfigrulescps.-
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
-
-
-
-
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 relationProductConfig2CharacteristicValueRulesResultsdefining source attributeproductConfigurationin extensionsapproductconfigrulescps.- See Also:
- Constant Field Values
-
CHARACTERISTIC
public static final java.lang.String CHARACTERISTIC
Generated constant - Attribute key ofCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.- See Also:
- Constant Field Values
-
VALUE
public static final java.lang.String VALUE
Generated constant - Attribute key ofCharacteristicValueRulesResult.valueattribute defined at extensionsapproductconfigrulescps.- See Also:
- Constant Field Values
-
DISCOUNTVALUE
public static final java.lang.String DISCOUNTVALUE
Generated constant - Attribute key ofCharacteristicValueRulesResult.discountValueattribute defined at extensionsapproductconfigrulescps.- See Also:
- Constant Field Values
-
PRODUCTCONFIGURATION
public static final java.lang.String PRODUCTCONFIGURATION
Generated constant - Attribute key ofCharacteristicValueRulesResult.productConfigurationattribute defined at extensionsapproductconfigrulescps.- See Also:
- Constant Field Values
-
MESSAGERULESRESULTS
public static final java.lang.String MESSAGERULESRESULTS
Generated constant - Attribute key ofCharacteristicValueRulesResult.messageRulesResultsattribute defined at extensionsapproductconfigrulescps.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_productConfiguration- initial attribute declared by typeCharacteristicValueRulesResultat extensionsapproductconfigrulescps
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner- initial attribute declared by typeItemat extensioncore_productConfiguration- initial attribute declared by typeCharacteristicValueRulesResultat extensionsapproductconfigrulescps
-
-
Method Detail
-
getCharacteristic
@Accessor(qualifier="characteristic", type=GETTER) public java.lang.String getCharacteristic()
Generated method - Getter of theCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.- Returns:
- the characteristic - Characteristic Id.
-
getDiscountValue
@Accessor(qualifier="discountValue", type=GETTER) public java.math.BigDecimal getDiscountValue()
Generated method - Getter of theCharacteristicValueRulesResult.discountValueattribute defined at extensionsapproductconfigrulescps.- 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 theCharacteristicValueRulesResult.messageRulesResultsattribute defined at extensionsapproductconfigrulescps. 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 theCharacteristicValueRulesResult.productConfigurationattribute defined at extensionsapproductconfigrulescps.- Returns:
- the productConfiguration
-
getValue
@Accessor(qualifier="value", type=GETTER) public java.lang.String getValue()
Generated method - Getter of theCharacteristicValueRulesResult.valueattribute defined at extensionsapproductconfigrulescps.- Returns:
- the value - Characteristic Value Id.
-
setCharacteristic
@Accessor(qualifier="characteristic", type=SETTER) public void setCharacteristic(java.lang.String value)
Generated method - Setter ofCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.- Parameters:
value- the characteristic - Characteristic Id.
-
setDiscountValue
@Accessor(qualifier="discountValue", type=SETTER) public void setDiscountValue(java.math.BigDecimal value)
Generated method - Setter ofCharacteristicValueRulesResult.discountValueattribute defined at extensionsapproductconfigrulescps.- 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 ofCharacteristicValueRulesResult.messageRulesResultsattribute defined at extensionsapproductconfigrulescps.- Parameters:
value- the messageRulesResults
-
setProductConfiguration
@Accessor(qualifier="productConfiguration", type=SETTER) public void setProductConfiguration(ProductConfigurationModel value)
Generated method - Setter ofCharacteristicValueRulesResult.productConfigurationattribute defined at extensionsapproductconfigrulescps.- Parameters:
value- the productConfiguration
-
-