Class KeyAttributesAttributeHandler
java.lang.Object
de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler<Collection<IntegrationObjectItemAttributeModel>,IntegrationObjectItemModel>
de.hybris.platform.integrationservices.model.KeyAttributesAttributeHandler
- All Implemented Interfaces:
DynamicAttributeHandler<Collection<IntegrationObjectItemAttributeModel>,IntegrationObjectItemModel>
public class KeyAttributesAttributeHandler
extends AbstractDynamicAttributeHandler<Collection<IntegrationObjectItemAttributeModel>,IntegrationObjectItemModel>
Provides calculation of the dynamic
keyAttributes attribute on the IntegrationObjectItemModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(@NotNull IntegrationObjectItemModel model) Reads value of thekeyAttributesattributeMethods inherited from class de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler
set
-
Constructor Details
-
KeyAttributesAttributeHandler
public KeyAttributesAttributeHandler()
-
-
Method Details
-
get
@NotNull public @NotNull Collection<IntegrationObjectItemAttributeModel> get(@NotNull @NotNull IntegrationObjectItemModel model) Reads value of thekeyAttributesattribute- Specified by:
getin interfaceDynamicAttributeHandler<Collection<IntegrationObjectItemAttributeModel>,IntegrationObjectItemModel> - Overrides:
getin classAbstractDynamicAttributeHandler<Collection<IntegrationObjectItemAttributeModel>,IntegrationObjectItemModel> - Parameters:
model- a model object to read the value from.- Returns:
- a collection of key attributes for the given
IntegrationObjectItemModel. This collection does not include key attributes in the referenced items but only key attributes of the specified item model. If the item does not have attributes or does not have key attributes, an empty collection is returned.
-