Class KeyAttributesAttributeHandler
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler<java.util.Collection<IntegrationObjectItemAttributeModel>,IntegrationObjectItemModel>
-
- de.hybris.platform.integrationservices.model.KeyAttributesAttributeHandler
-
- All Implemented Interfaces:
DynamicAttributeHandler<java.util.Collection<IntegrationObjectItemAttributeModel>,IntegrationObjectItemModel>
public class KeyAttributesAttributeHandler extends AbstractDynamicAttributeHandler<java.util.Collection<IntegrationObjectItemAttributeModel>,IntegrationObjectItemModel>
Provides calculation of the dynamickeyAttributesattribute on theIntegrationObjectItemModel
-
-
Constructor Summary
Constructors Constructor Description KeyAttributesAttributeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.util.Collection<IntegrationObjectItemAttributeModel>get(@NotNull IntegrationObjectItemModel model)Reads value of thekeyAttributesattribute-
Methods inherited from class de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler
set
-
-
-
-
Method Detail
-
get
@NotNull public @NotNull java.util.Collection<IntegrationObjectItemAttributeModel> get(@NotNull @NotNull IntegrationObjectItemModel model)
Reads value of thekeyAttributesattribute- Specified by:
getin interfaceDynamicAttributeHandler<java.util.Collection<IntegrationObjectItemAttributeModel>,IntegrationObjectItemModel>- Overrides:
getin classAbstractDynamicAttributeHandler<java.util.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.
-
-