Class ShoppingCartValidationMessagesAttributeMapper
java.lang.Object
de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper<CartData,ShoppingCart>
de.hybris.platform.b2ctelcotmfwebservices.mappers.shoppingcart.ShoppingCartValidationMessagesAttributeMapper
public class ShoppingCartValidationMessagesAttributeMapper
extends TmaAttributeMapper<CartData,ShoppingCart>
This attribute Mapper class maps data for validation messages attribute between
CartData and ShoppingCart- Since:
- 1911
-
Constructor Summary
ConstructorsConstructorDescriptionShoppingCartValidationMessagesAttributeMapper(ma.glasnost.orika.MapperFacade mapperFacade) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadevoidpopulateTargetAttributeFromSource(CartData source, ShoppingCart target, ma.glasnost.orika.MappingContext context) Populates the target attribute value by obtained by processing the source object.protected voidsetValidationMessages(ShoppingCart target, ma.glasnost.orika.MappingContext context, Set<TmaCartValidationData> validationMessages) Methods inherited from class de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper
getSourceAttributeName, getTargetAttributeName, populateSourceAttributeFromTarget, setSourceAttributeName, setTargetAttributeName
-
Constructor Details
-
ShoppingCartValidationMessagesAttributeMapper
public ShoppingCartValidationMessagesAttributeMapper(ma.glasnost.orika.MapperFacade mapperFacade)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(CartData source, ShoppingCart target, ma.glasnost.orika.MappingContext context) Description copied from class:TmaAttributeMapperPopulates the target attribute value by obtained by processing the source object.- Specified by:
populateTargetAttributeFromSourcein classTmaAttributeMapper<CartData,ShoppingCart> - Parameters:
source- source objecttarget- target object
-
setValidationMessages
protected void setValidationMessages(ShoppingCart target, ma.glasnost.orika.MappingContext context, Set<TmaCartValidationData> validationMessages) -
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()
-