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
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationProductConfig2CharacteristicValueRulesResultsdefining source attributeproductConfigurationin extensionsapproductconfigrulescps.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.static final StringGenerated constant - Attribute key ofCharacteristicValueRulesResult.discountValueattribute defined at extensionsapproductconfigrulescps.static final StringGenerated constant - Attribute key ofCharacteristicValueRulesResult.messageRulesResultsattribute defined at extensionsapproductconfigrulescps.static final StringGenerated constant - Attribute key ofCharacteristicValueRulesResult.productConfigurationattribute defined at extensionsapproductconfigrulescps.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.Generated method - Getter of theCharacteristicValueRulesResult.discountValueattribute defined at extensionsapproductconfigrulescps.Generated method - Getter of theCharacteristicValueRulesResult.messageRulesResultsattribute defined at extensionsapproductconfigrulescps.Generated method - Getter of theCharacteristicValueRulesResult.productConfigurationattribute defined at extensionsapproductconfigrulescps.getValue()Generated method - Getter of theCharacteristicValueRulesResult.valueattribute defined at extensionsapproductconfigrulescps.voidsetCharacteristic(String value) Generated method - Setter ofCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.voidsetDiscountValue(BigDecimal value) Generated method - Setter ofCharacteristicValueRulesResult.discountValueattribute defined at extensionsapproductconfigrulescps.voidGenerated method - Setter ofCharacteristicValueRulesResult.messageRulesResultsattribute defined at extensionsapproductconfigrulescps.voidGenerated method - Setter ofCharacteristicValueRulesResult.productConfigurationattribute defined at extensionsapproductconfigrulescps.voidGenerated 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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_PRODUCTCONFIG2CHARACTERISTICVALUERULESRESULTS
Generated relation code constant for relationProductConfig2CharacteristicValueRulesResultsdefining source attributeproductConfigurationin extensionsapproductconfigrulescps.- See Also:
-
CHARACTERISTIC
Generated constant - Attribute key ofCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.- See Also:
-
VALUE
Generated constant - Attribute key ofCharacteristicValueRulesResult.valueattribute defined at extensionsapproductconfigrulescps.- See Also:
-
DISCOUNTVALUE
Generated constant - Attribute key ofCharacteristicValueRulesResult.discountValueattribute defined at extensionsapproductconfigrulescps.- See Also:
-
PRODUCTCONFIGURATION
Generated constant - Attribute key ofCharacteristicValueRulesResult.productConfigurationattribute defined at extensionsapproductconfigrulescps.- See Also:
-
MESSAGERULESRESULTS
Generated constant - Attribute key ofCharacteristicValueRulesResult.messageRulesResultsattribute defined at extensionsapproductconfigrulescps.- 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 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 Details
-
getCharacteristic
Generated method - Getter of theCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.- Returns:
- the characteristic - Characteristic Id.
-
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 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
Generated method - Getter of theCharacteristicValueRulesResult.valueattribute defined at extensionsapproductconfigrulescps.- Returns:
- the value - Characteristic Value Id.
-
setCharacteristic
Generated method - Setter ofCharacteristicValueRulesResult.characteristicattribute defined at extensionsapproductconfigrulescps.- Parameters:
value- the characteristic - Characteristic Id.
-
setDiscountValue
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(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
-
setValue
Generated method - Setter ofCharacteristicValueRulesResult.valueattribute defined at extensionsapproductconfigrulescps.- Parameters:
value- the value - Characteristic Value Id.
-